
:root {
  --manafez-deep-navy: #0B1D3A;
  --manafez-teal: #00A79D;
  --manafez-warm-gold: #C9A15A;
  --manafez-white: #FFFFFF;
  --manafez-soft-background: #F8FAFC;
  --manafez-slate-text: #233044;
  --ink: #0B1D3A;
  --muted: #5D6A7F;
  --line: #DDE7EF;
  --card: rgba(255,255,255,.90);
  --shadow: 0 28px 80px rgba(11,29,58,.13);
  --shadow-soft: 0 18px 45px rgba(11,29,58,.08);
  --radius: 28px;
  --container: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 78% 8%, rgba(0,167,157,.12), transparent 30%), radial-gradient(circle at 12% 30%, rgba(201,161,90,.10), transparent 24%), var(--manafez-soft-background);
  color: var(--manafez-slate-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
html[dir="rtl"] body { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(100% - 56px, var(--container)); margin-inline: auto; }
.svg-sprite { position: absolute; pointer-events: none; }
.icon { width: 1em; height: 1em; }
.skip-link { position: fixed; inset-inline-start: 16px; top: 16px; z-index: 100; background: var(--ink); color: white; padding: 10px 14px; border-radius: 10px; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,250,252,.82); border-bottom: 1px solid rgba(221,231,239,.68); backdrop-filter: blur(18px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 174px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #233044; font-size: 14px; font-weight: 800; }
.nav-links a { position: relative; padding: 10px 0; opacity: .82; transition: color .2s ease, opacity .2s ease; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--manafez-teal); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.nav-links a:hover { opacity: 1; color: var(--manafez-deep-navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 0; padding: 4px; border: 1px solid rgba(221,231,239,.9); background: rgba(255,255,255,.72); border-radius: 999px; }
.lang-switch a { min-width: 34px; padding: 8px 9px; border-radius: 999px; color: #617086; font-size: 12px; font-weight: 950; text-align: center; }
.lang-switch a.active { background: var(--manafez-deep-navy); color: white; box-shadow: 0 8px 18px rgba(11,29,58,.16); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; font-size: 14px; font-weight: 950; letter-spacing: -.01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn span { line-height: 1; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #0B1D3A 0%, #11305d 100%); box-shadow: 0 16px 34px rgba(11,29,58,.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(11,29,58,.28); }
.btn-secondary { color: var(--manafez-teal); background: rgba(255,255,255,.82); border-color: rgba(0,167,157,.48); box-shadow: 0 14px 32px rgba(0,167,157,.08); }
.btn-secondary:hover { transform: translateY(-2px); border-color: rgba(0,167,157,.85); box-shadow: 0 18px 38px rgba(0,167,157,.12); }
.btn-small { min-height: 46px; padding-inline: 20px; border-radius: 14px; }
.play { font-size: 11px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 99px; transition: transform .2s ease; }
.menu-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }
.hero { position: relative; overflow: hidden; padding: 76px 0 70px; min-height: 780px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(11,29,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,29,58,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 10%, black, transparent 74%); opacity: .8; }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; border-radius: 50%; inset-inline-end: -250px; top: -180px; background: radial-gradient(circle, rgba(0,167,157,.18), transparent 65%); filter: blur(10px); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-start: -210px; bottom: -260px; background: radial-gradient(circle, rgba(201,161,90,.16), transparent 66%); filter: blur(10px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(420px,.82fr) minmax(700px,1.18fr); gap: 50px; align-items: center; }
.hero-copy { max-width: 575px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; min-height: 28px; padding: 5px 16px; border: 1px solid rgba(0,167,157,.55); color: #007D76; background: rgba(0,167,157,.06); border-radius: 999px; font-size: 13px; font-weight: 950; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--manafez-teal); border-radius: 50%; box-shadow: 0 0 0 5px rgba(0,167,157,.10); }
h1 { margin: 22px 0 0; color: var(--manafez-deep-navy); font-size: clamp(44px, 5.2vw, 74px); line-height: .98; letter-spacing: -.055em; font-weight: 950; }
html[dir="rtl"] h1 { letter-spacing: 0; line-height: 1.14; }
.lead { margin: 24px 0 0; max-width: 555px; color: #4E5C72; font-size: 18px; line-height: 1.72; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; color: #314059; background: rgba(255,255,255,.70); border: 1px solid rgba(221,231,239,.92); box-shadow: 0 10px 24px rgba(11,29,58,.045); font-size: 12px; font-weight: 900; }
.trust-row .icon { color: var(--manafez-teal); font-size: 16px; }
.trust-row span:nth-child(3) .icon { color: var(--manafez-warm-gold); }
.mini-route { margin-top: 56px; max-width: 570px; }
.route-lines { width: 100%; height: auto; overflow: visible; }
.route { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.route.navy { stroke: var(--manafez-deep-navy); }
.route.teal { stroke: var(--manafez-teal); }
.route.gold { stroke: var(--manafez-warm-gold); }
.route.dash { stroke: var(--manafez-deep-navy); stroke-dasharray: 10 12; opacity: .8; }
.route-nodes circle { fill: #fff; stroke-width: 4; stroke: currentColor; color: var(--manafez-deep-navy); }
.route-nodes circle:nth-child(5), .route-nodes circle:nth-child(6), .route-nodes circle:nth-child(7), .route-nodes circle:nth-child(8) { color: var(--manafez-teal); }
.route-nodes circle:nth-child(9), .route-nodes circle:nth-child(10), .route-nodes circle:nth-child(11), .route-nodes circle:nth-child(12) { color: var(--manafez-warm-gold); }
.route-runner { fill: var(--manafez-warm-gold); stroke: white; stroke-width: 4; }
.hero-visual { position: relative; min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) 172px; gap: 18px; align-items: end; }
.workspace-card { position: relative; display: grid; grid-template-columns: 126px 1fr; width: 100%; min-height: 530px; margin-inline-start: 0; background: rgba(255,255,255,.88); border: 1px solid rgba(221,231,239,.96); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); backdrop-filter: blur(16px); transform: translateZ(0); }
.workspace-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(0,167,157,.08), transparent 28%, rgba(201,161,90,.08)); opacity: .7; }
.workspace-sidebar { position: relative; z-index: 1; background: linear-gradient(180deg, #0B1D3A 0%, #0F2A52 100%); color: #fff; padding: 18px 14px; display: flex; flex-direction: column; min-width: 0; }
.workspace-sidebar img.workspace-mark { width: 54px; height: 54px; margin: 0 auto 18px; filter: drop-shadow(0 12px 22px rgba(0,0,0,.22)); }
.workspace-sidebar nav { display: grid; gap: 7px; }
.side-link { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.76); border-radius: 12px; padding: 10px 10px; font-size: 12px; font-weight: 850; line-height: 1; transition: background .2s ease, color .2s ease, transform .2s ease; }
.side-link .side-icon { flex: 0 0 auto; width: 17px; height: 17px; opacity: .92; }
.side-link:hover { color: #fff; background: rgba(255,255,255,.08); transform: translateX(2px); }
html[dir="rtl"] .side-link:hover { transform: translateX(-2px); }
.side-link.active { color: #fff; background: linear-gradient(135deg, var(--manafez-teal), #07958D); box-shadow: 0 12px 28px rgba(0,167,157,.28); }
.user-badge { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 8px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.user-badge > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--manafez-warm-gold); color: #fff; font-size: 12px; font-weight: 950; }
.user-badge strong, .user-badge small { display: block; line-height: 1.1; }
.user-badge strong { font-size: 11px; }
.user-badge small { color: rgba(255,255,255,.62); font-size: 9px; }
.workspace-main { position: relative; z-index: 1; padding: 22px; min-width: 0; }
.workspace-topline { display: grid; grid-template-columns: auto minmax(190px, 250px); align-items: start; gap: 14px; margin-bottom: 18px; }
.workspace-topline p { margin: 0 0 4px; color: var(--manafez-teal); font-size: 11px; font-weight: 950; }
.workspace-topline h2 { margin: 0; font-size: 25px; color: var(--ink); letter-spacing: -.035em; }
.search-box { display: flex; align-items: center; gap: 8px; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(248,250,252,.9); }
.search-box span { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #AAB7C6; position: relative; }
.search-box span::after { content: ""; position: absolute; width: 5px; height: 2px; background: #AAB7C6; transform: rotate(45deg); right: -5px; bottom: -3px; border-radius: 2px; }
.search-box input { width: 100%; min-width: 0; border: 0; background: transparent; outline: none; color: var(--ink); font-size: 11px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi-card { min-height: 82px; padding: 12px; border: 1px solid rgba(221,231,239,.95); border-radius: 16px; background: rgba(255,255,255,.82); }
.kpi-card span { display: block; color: #718099; font-size: 10px; font-weight: 850; }
.kpi-card strong { display: block; margin-top: 6px; color: var(--ink); font-size: 24px; letter-spacing: -.04em; line-height: 1; }
.kpi-card em { display: inline-block; margin-top: 8px; color: var(--manafez-teal); font-size: 10px; font-style: normal; font-weight: 950; }
.kpi-card em.down { color: #B54747; }
.workspace-panels { display: grid; grid-template-columns: minmax(0,1.17fr) minmax(180px,.83fr); gap: 12px; margin-top: 12px; align-items: stretch; }
.panel { min-width: 0; border: 1px solid rgba(221,231,239,.96); background: rgba(255,255,255,.85); border-radius: 18px; padding: 14px; }
.panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel h3 { margin: 0; color: var(--ink); font-size: 13px; font-weight: 950; }
.panel a, .panel small { color: var(--manafez-teal); font-weight: 950; font-size: 10px; }
.request-row { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(221,231,239,.75); }
.request-row:first-of-type { border-top: 0; padding-top: 0; }
.row-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--manafez-teal); background: rgba(0,167,157,.08); border-radius: 9px; font-size: 16px; }
.request-row strong, .request-row span, .request-row small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.request-row strong { color: var(--ink); font-size: 11px; }
.request-row span { color: #526176; font-size: 10px; margin-top: 2px; }
.request-row small { color: #8A97A9; font-size: 9px; margin-top: 2px; }
.request-row mark { color: #007D76; background: #E8F7F5; border: 1px solid rgba(0,167,157,.16); border-radius: 999px; padding: 5px 7px; font-size: 9px; font-weight: 950; white-space: nowrap; }
.request-row:nth-child(3) mark { color: #9A7433; background: #FFF7E9; border-color: rgba(201,161,90,.20); }
.donut-wrap { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 12px; }
.donut { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: conic-gradient(var(--manafez-deep-navy) 0 40%, var(--manafez-teal) 40% 65%, var(--manafez-warm-gold) 65% 90%, #DDE7EF 90% 100%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: white; }
.donut strong, .donut span { position: relative; z-index: 1; display: block; }
.donut strong { color: var(--ink); font-size: 22px; line-height: 1; }
.donut span { color: #6B778B; font-size: 9px; margin-top: -18px; }
.donut-wrap ul, .task-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.donut-wrap li { display: flex; align-items: center; gap: 6px; color: #647188; font-size: 10px; font-weight: 750; }
.donut-wrap li i { width: 8px; height: 8px; border-radius: 50%; background: var(--manafez-deep-navy); }
.donut-wrap li:nth-child(2) i { background: var(--manafez-teal); }
.donut-wrap li:nth-child(3) i { background: var(--manafez-warm-gold); }
.donut-wrap li:nth-child(4) i { background: #AAB7C6; }
.task-list { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(221,231,239,.75); }
.task-list h4 { margin: 0 0 10px; color: var(--ink); font-size: 12px; }
.task-list li { display: grid; grid-template-columns: 1fr auto; gap: 8px; color: #657288; font-size: 10px; line-height: 1.35; }
.task-list b { color: #8C99AC; font-size: 9px; white-space: nowrap; }
.mini-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.mini-metrics div { border: 1px solid rgba(221,231,239,.96); border-radius: 15px; background: rgba(255,255,255,.78); padding: 11px; }
.mini-metrics span { display: block; color: #718099; font-size: 10px; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-metrics strong { display: block; color: var(--ink); font-size: 16px; margin-top: 4px; }
.phone-preview { position: relative; z-index: 5; inset: auto; width: 172px; min-height: 424px; border-radius: 30px; border: 8px solid #101820; background: #fff; box-shadow: 0 22px 68px rgba(11,29,58,.20); padding: 11px; transform: none; align-self: end; justify-self: end; }
.phone-preview::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 64px; height: 5px; border-radius: 99px; background: #101820; opacity: .55; }
.phone-top { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.phone-top img { width: 68px; height: auto; }
.phone-top span, .phone-top span::before, .phone-top span::after { display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 10px; }
.phone-top span { position: relative; }
.phone-top span::before, .phone-top span::after { content: ""; position: absolute; left: 0; }
.phone-top span::before { top: -6px; } .phone-top span::after { top: 6px; }
.phone-pill { display: inline-flex; margin-top: 14px; padding: 5px 8px; border: 1px solid rgba(0,167,157,.5); border-radius: 999px; color: #007D76; font-size: 7.4px; font-weight: 950; line-height: 1.2; }
.phone-preview h3 { margin: 10px 0 0; color: var(--ink); font-size: 16px; line-height: 1.08; letter-spacing: -.04em; }
html[dir="rtl"] .phone-preview h3 { letter-spacing: 0; }
.phone-preview p { margin: 8px 0 0; color: #5D6A7F; font-size: 7.8px; line-height: 1.45; }
.phone-buttons { display: grid; gap: 6px; margin-top: 11px; }
.phone-buttons span { display: grid; place-items: center; min-height: 25px; border-radius: 8px; font-size: 7.8px; font-weight: 950; }
.phone-buttons span:first-child { background: var(--ink); color: white; }
.phone-buttons span:last-child { color: var(--manafez-teal); border: 1px solid rgba(0,167,157,.45); }
.phone-dashboard { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #F8FAFC; }
.phone-dashboard b { color: var(--ink); font-size: 10px; }
.phone-kpis { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; margin-top: 8px; }
.phone-kpis i { display: grid; place-items: center; min-height: 28px; border-radius: 8px; background: white; border: 1px solid var(--line); color: var(--ink); font-style: normal; font-size: 12px; font-weight: 950; }
.phone-list { display: grid; gap: 5px; margin-top: 8px; }
.phone-list span { height: 10px; border-radius: 99px; background: #DDE7EF; }
.phone-list span:nth-child(2) { width: 86%; } .phone-list span:nth-child(3) { width: 70%; }
.phone-preview ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.phone-preview li { display: flex; align-items: center; gap: 7px; min-height: 25px; border: 1px solid var(--line); border-radius: 9px; padding: 0 8px; color: var(--ink); font-size: 8px; font-weight: 900; }
.phone-preview li .icon { color: var(--manafez-teal); font-size: 13px; }
.services, .how, .why, .contact { padding: 82px 0; }
.services { background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.76)); }
.section-heading { max-width: 710px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.compact { margin-bottom: 20px; }
.section-icon { width: 48px; height: 48px; display: inline-grid; place-items: center; color: var(--manafez-teal); background: rgba(0,167,157,.08); border: 1px solid rgba(0,167,157,.24); border-radius: 17px; font-size: 26px; margin-bottom: 16px; }
.section-icon.gold { color: var(--manafez-warm-gold); background: rgba(201,161,90,.11); border-color: rgba(201,161,90,.28); }
h2 { margin: 0; color: var(--ink); font-size: clamp(31px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.04em; font-weight: 950; }
html[dir="rtl"] h2 { letter-spacing: 0; line-height: 1.18; }
.section-heading p { margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.services-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 230px; background: var(--card); border: 1px solid rgba(221,231,239,.92); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-soft); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(0,167,157,.35); box-shadow: 0 24px 54px rgba(11,29,58,.12); }
.service-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; font-size: 35px; margin-bottom: 22px; color: var(--ink); background: linear-gradient(145deg, rgba(11,29,58,.08), rgba(255,255,255,.88)); position: relative; }
.service-icon::after { content: ""; position: absolute; bottom: -9px; width: 34px; height: 3px; border-radius: 999px; background: var(--manafez-warm-gold); }
.service-card:nth-child(3) .service-icon, .service-card:nth-child(4) .service-icon { color: var(--manafez-teal); }
.service-card:nth-child(5) .service-icon { color: var(--manafez-warm-gold); }
h3 { color: var(--ink); }
.service-card h3, .step-card h3, .feature-item h3, .audience-card h3 { margin: 0; line-height: 1.2; }
.service-card h3 { font-size: 19px; }
.service-card p, .step-card p, .feature-item p, .audience-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.58; }
.route-steps { margin: 34px auto 10px; width: min(850px, 100%); }
.step-route { filter: drop-shadow(0 8px 20px rgba(11,29,58,.06)); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.step-card { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 26px; text-align: center; box-shadow: var(--shadow-soft); position: relative; }
.step-number { position: absolute; top: 18px; inset-inline-start: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: white; border: 1px solid rgba(201,161,90,.55); color: #9A7433; font-size: 12px; font-weight: 950; }
.step-icon { margin: 5px auto 18px; width: 68px; height: 68px; display: grid; place-items: center; color: var(--manafez-teal); border: 1px solid rgba(0,167,157,.25); border-radius: 22px; background: rgba(0,167,157,.06); font-size: 34px; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(350px, .76fr); gap: 56px; align-items: start; }
.features-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.76); border: 1px solid rgba(221,231,239,.88); border-radius: 20px; padding: 18px; box-shadow: 0 12px 32px rgba(11,29,58,.045); }
.feature-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: var(--manafez-teal); background: rgba(0,167,157,.08); border-radius: 14px; font-size: 24px; }
.feature-item:nth-child(3n) .feature-icon { color: var(--manafez-warm-gold); background: rgba(201,161,90,.13); }
.feature-item h3 { font-size: 16px; }
.audience-panel { border: 1px solid rgba(221,231,239,.92); background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72)); border-radius: 30px; padding: 28px; box-shadow: var(--shadow-soft); position: sticky; top: 112px; }
.audience-grid { display: grid; gap: 16px; }
.audience-card { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 18px; border-radius: 20px; border: 1px solid rgba(0,167,157,.18); background: rgba(0,167,157,.045); }
.audience-card:nth-child(2) { border-color: rgba(11,29,58,.18); background: rgba(11,29,58,.035); }
.audience-card:nth-child(3) { border-color: rgba(201,161,90,.28); background: rgba(201,161,90,.075); }
.audience-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 18px; font-size: 30px; }
.audience-card h3 { font-size: 17px; }
.contact { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(248,250,252,.96)); }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: center; }
.contact-copy h2 { margin: 0; color: var(--ink); font-size: clamp(36px, 4.5vw, 60px); letter-spacing: -.055em; line-height: 1; }
html[dir="rtl"] .contact-copy h2 { letter-spacing: 0; line-height: 1.15; }
.contact-copy p { color: var(--muted); max-width: 420px; font-size: 17px; line-height: 1.65; }
.contact-route { width: min(430px, 100%); margin-top: 22px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: rgba(255,255,255,.94); border: 1px solid rgba(221,231,239,.96); box-shadow: var(--shadow); border-radius: 30px; padding: 24px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form span { color: var(--ink); font-size: 12px; font-weight: 950; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 14px; padding: 13px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(0,167,157,.65); box-shadow: 0 0 0 4px rgba(0,167,157,.10); }
.contact-form textarea { resize: vertical; min-height: 122px; }
.span-2 { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 18px; color: #007D76; font-size: 13px; font-weight: 850; }
.site-footer { border-top: 1px solid rgba(221,231,239,.9); background: rgba(255,255,255,.88); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand img { width: 150px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; color: #5D6A7F; font-size: 13px; font-weight: 850; }
.site-footer p { margin: 0; color: #748197; font-size: 13px; font-weight: 750; white-space: nowrap; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.22,.8,.2,1), transform .6s cubic-bezier(.22,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: no-preference) {
  .route-lines .route { stroke-dasharray: 820; stroke-dashoffset: 820; animation: routeDraw 1.35s cubic-bezier(.22,.8,.2,1) forwards; }
  .route-lines .route.teal { animation-delay: .18s; }
  .route-lines .route.gold { animation-delay: .32s; }
  .route-lines .route.dash { stroke-dasharray: 10 12; stroke-dashoffset: 0; animation: dashFlow 16s linear infinite; }
  .route-nodes circle { opacity: 0; transform: scale(.82); transform-box: fill-box; transform-origin: center; animation: nodeIn .5s ease forwards; }
  .route-nodes circle:nth-child(2n) { animation-delay: .18s; }
  .route-nodes circle:nth-child(3n) { animation-delay: .32s; }
  .route-runner { fill: var(--manafez-warm-gold); stroke: white; stroke-width: 4; }


  .workspace-card.is-visible .kpi-card,
  .workspace-card.is-visible .panel,
  .workspace-card.is-visible .mini-metrics div { animation: dashboardLift .58s cubic-bezier(.22,.8,.2,1) both; }
  .workspace-card.is-visible .kpi-card:nth-child(2) { animation-delay: .06s; }
  .workspace-card.is-visible .kpi-card:nth-child(3) { animation-delay: .12s; }
  .workspace-card.is-visible .kpi-card:nth-child(4) { animation-delay: .18s; }
  .workspace-card.is-visible .panel { animation-delay: .18s; }
  .workspace-card.is-visible .mini-metrics div { animation-delay: .26s; }
}
@keyframes routeDraw { to { stroke-dashoffset: 0; } }
@keyframes dashFlow { to { stroke-dashoffset: -220; } }
@keyframes nodeIn { to { opacity: 1; transform: scale(1); } }
@keyframes dashboardLift { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes softFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: 560px; max-width: 920px; grid-template-columns: minmax(0, 1fr) 172px; }
  .workspace-card { margin-inline-start: 0; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .audience-panel { position: static; }
}
@media (max-width: 940px) {
  .container { width: min(100% - 40px, var(--container)); }
  .header-inner { position: relative; height: 76px; }
  .brand img { width: 145px; }
  .nav-links { position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 2; display: none; max-height: calc(100vh - 96px); max-block-size: calc(100dvb - 96px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); backdrop-filter: blur(14px); }
  .nav-links a { padding: 14px; border-radius: 12px; }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-small { display: none; }
  .hero { padding-top: 48px; min-height: unset; }
  .hero-visual { min-height: auto; display: block; }
  .phone-preview { display: none; }
  .workspace-card { width: 100%; }


  .services-grid, .features-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .workspace-card { grid-template-columns: 114px 1fr; min-height: 500px; }
  .workspace-sidebar { padding-inline: 12px; }
  .side-link { justify-content: center; padding: 11px 8px; }
  .side-link span { display: none; }
  .side-link .side-icon { width: 18px; height: 18px; }
  .workspace-topline { grid-template-columns: 1fr; }
  .workspace-panels { grid-template-columns: 1fr; }
  .chart-panel { display: none; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { height: 72px; gap: 6px; }
  .brand img { width: clamp(90px, 29vw, 124px); }
  .header-actions { flex: 0 0 auto; gap: 6px; }
  .lang-switch { display: flex; padding: 2px; }
  .lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 40px; min-block-size: 40px; padding: 0 6px; }
  .menu-toggle { flex: 0 0 44px; }
  .hero { padding: 36px 0 52px; }
  .eyebrow { max-width: 100%; min-height: 0; padding: 7px 12px; font-size: 11.5px; line-height: 1.35; white-space: normal; }
  .hero-copy h1 { margin-top: 18px; font-size: clamp(32px, 8.8vw, 38px); line-height: 1.06; }
  html[dir="rtl"] .hero-copy h1 { line-height: 1.2; }
  .lead { margin-top: 18px; font-size: 15px; line-height: 1.65; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .mini-route { margin-top: 34px; }
  .workspace-card { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .workspace-sidebar { display: none; }
  .trust-row { margin-top: 14px; gap: 8px; }
  .trust-row span { min-height: 38px; flex: 1 1 auto; justify-content: center; font-size: 11px; }
  .workspace-main { padding: 16px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box { display: none; }

  .services, .how, .why, .contact { padding: 58px 0; }
  .services-grid, .features-grid, .steps-grid, .contact-form { grid-template-columns: 1fr; }
  .service-card { min-height: unset; }
  .audience-card { grid-template-columns: 48px 1fr; }
  .audience-icon { width: 48px; height: 48px; font-size: 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer nav { justify-content: flex-start; gap: 16px; }
  .span-2, .form-status { grid-column: auto; }
}



/* Visibility safety: animations must never leave content hidden in any browser. */
.reveal,
.reveal.is-visible,
.workspace-card.reveal,
.workspace-card.reveal.is-visible,
.phone-preview.reveal,
.phone-preview.reveal.is-visible {
  opacity: 1;
  filter: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: revealUp .68s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--reveal-delay, 0ms); }
  .workspace-card.reveal { animation: revealUpCard .72s cubic-bezier(.2,.8,.2,1) both, workspaceGlow 8.5s ease-in-out 1.1s infinite; }
  .phone-preview.reveal { animation: revealUpPhone .72s cubic-bezier(.2,.8,.2,1) both; }
  .mini-route .route, .route-steps .route, .contact-route .route { stroke-dasharray: 1100; stroke-dashoffset: 1100; animation: routeDraw 1.35s cubic-bezier(.22,.78,.2,1) forwards; }
  .mini-route .route.teal, .route-steps .route.teal, .contact-route .route.teal { animation-delay: .12s; }
  .mini-route .route.gold, .route-steps .route.gold, .contact-route .route.gold { animation-delay: .24s; }
  .mini-route .route.dash, .route-steps .route.dash, .contact-route .route.dash { stroke-dashoffset: 0; animation: routeDash 1.7s linear infinite; }
  .route-nodes circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: nodePop .42s cubic-bezier(.2,.8,.2,1) forwards; }
}
@keyframes revealUp { from { opacity: 0; transform: translate3d(0,14px,0); filter: blur(4px); } to { opacity: 1; transform: translate3d(0,0,0); filter: blur(0); } }
@keyframes revealUpCard { from { opacity: 0; transform: translate3d(0,16px,0) scale(.985); filter: blur(4px); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); } }
@keyframes revealUpPhone { from { opacity: 0; transform: translate3d(0,16px,0) scale(.985); filter: blur(4px); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); } }
@keyframes workspaceGlow { 0%,100% { box-shadow: var(--shadow); } 50% { box-shadow: 0 34px 92px rgba(11,29,58,.16); } }


/* Final stability fixes */
.hero-visual { overflow: visible; }
.workspace-card { isolation: isolate; }
.phone-preview { margin-bottom: 2px; }
@media (max-width: 1180px) {  }
.motion-ready .reveal,
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* v11 refinements: phone dashboard, sidebar polish, official route motif, cleaner section headings */
.section-icon { display: none !important; }
.section-heading { max-width: 760px; }
.section-heading.center { text-align: center; }

.hero-visual {
  grid-template-columns: minmax(0, 1fr) 224px;
  gap: 24px;
  align-items: end;
  overflow: visible;
}
.workspace-card {
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 550px;
  border-radius: 32px;
  background: rgba(255,255,255,.94);
  font-variant-numeric: tabular-nums;
}
.workspace-card::before {
  background:
    radial-gradient(circle at 15% 8%, rgba(0,167,157,.11), transparent 27%),
    linear-gradient(135deg, rgba(0,167,157,.045), transparent 32%, rgba(201,161,90,.06));
}
.workspace-sidebar {
  padding: 20px 13px 18px;
  background:
    radial-gradient(circle at 30% 0%, rgba(0,167,157,.22), transparent 30%),
    linear-gradient(180deg, #07172F 0%, #0B1D3A 52%, #0F2A52 100%);
  border-inline-end: 1px solid rgba(255,255,255,.08);
}
.workspace-sidebar img.workspace-mark {
  width: 66px;
  height: 66px;
  object-fit: contain;
  margin: 0 auto 20px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
  filter: none;
}
.workspace-sidebar nav { gap: 8px; }
.side-link {
  min-height: 42px;
  gap: 10px;
  color: rgba(255,255,255,.78);
  border-radius: 14px;
  padding: 0 11px;
  font-size: 12.5px;
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: .006em;
  border: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.025);
}
html[dir="rtl"] .side-link { letter-spacing: 0; font-size: 12.8px; }
.side-link .side-icon {
  width: 18px;
  height: 18px;
  opacity: 1;
  color: rgba(255,255,255,.9);
}
.side-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-link:hover {
  color: white;
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.12);
}
.side-link.active {
  background: linear-gradient(135deg, #00A79D 0%, #078E89 100%);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 14px 30px rgba(0,167,157,.30);
}
.user-badge {
  padding: 11px 9px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
}
.user-badge strong { font-size: 11.5px; }
.user-badge small { font-size: 9.5px; }

.workspace-main {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(248,250,252,.72));
}
.workspace-topline {
  grid-template-columns: minmax(0,1fr) minmax(210px, 260px);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.workspace-topline p {
  margin-bottom: 5px;
  color: #008D86;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
html[dir="rtl"] .workspace-topline p { letter-spacing: 0; }
.workspace-topline h2 {
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
html[dir="rtl"] .workspace-topline h2 { letter-spacing: 0; }
.search-box {
  height: 38px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(11,29,58,.035);
}
.kpi-grid { gap: 12px; }
.kpi-card {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.80));
}
.kpi-card span { font-size: 10.5px; line-height: 1.25; }
.kpi-card strong { font-size: 25px; }
.kpi-card em { margin-top: 7px; }
.workspace-panels { gap: 13px; margin-top: 13px; }
.panel {
  border-radius: 20px;
  padding: 15px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.78));
}
.panel h3 { font-size: 13.2px; letter-spacing: -.01em; }
.request-row {
  grid-template-columns: 31px minmax(0,1fr) minmax(70px, auto);
  gap: 11px;
  min-height: 58px;
}
.row-icon { width: 31px; height: 31px; border-radius: 10px; }
.request-row strong { font-size: 11.3px; }
.request-row span { font-size: 10.5px; }
.request-row small { font-size: 9.4px; }
.request-row mark {
  justify-self: end;
  text-align: center;
  max-width: 94px;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[dir="rtl"] .request-row mark { justify-self: start; }
.donut-wrap { grid-template-columns: 92px minmax(0,1fr); gap: 14px; }
.donut { width: 92px; height: 92px; }
.mini-metrics { gap: 12px; margin-top: 13px; }
.mini-metrics div { min-height: 64px; border-radius: 18px; }


.phone-preview {
  width: 224px;
  min-height: 520px;
  align-self: end;
  justify-self: end;
  border: 9px solid #101820;
  border-radius: 40px;
  padding: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFC 100%);
  box-shadow: 0 30px 80px rgba(11,29,58,.24), inset 0 0 0 1px rgba(255,255,255,.55);
}
.phone-preview::before {
  top: 9px;
  width: 74px;
  height: 5px;
  background: #101820;
  opacity: .52;
}
.phone-top { margin-top: 12px; }
.phone-top img { width: 84px; }
.phone-pill {
  margin-top: 16px;
  padding: 6px 10px;
  font-size: 8.5px;
  border-color: rgba(0,167,157,.38);
  background: rgba(0,167,157,.06);
}
.mobile-dashboard-card {
  margin-top: 12px;
  border: 1px solid rgba(221,231,239,.95);
  border-radius: 22px;
  padding: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 34px rgba(11,29,58,.08);
}
.mobile-dashboard-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) 28px;
  gap: 10px;
  align-items: start;
}
.mobile-dashboard-head b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
html[dir="rtl"] .mobile-dashboard-head b { letter-spacing: 0; }
.mobile-dashboard-head small {
  display: block;
  margin-top: 6px;
  color: #66758A;
  font-size: 8.2px;
  line-height: 1.35;
}
.mobile-dashboard-head i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: conic-gradient(var(--manafez-teal) 0 64%, #E6EDF4 64% 100%);
  position: relative;
}
.mobile-dashboard-head i::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: white;
}
.mobile-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  margin-top: 13px;
}
.mobile-kpis div {
  min-height: 50px;
  border: 1px solid rgba(221,231,239,.95);
  border-radius: 14px;
  background: #fff;
  padding: 9px;
}
.mobile-kpis strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}
.mobile-kpis span {
  display: block;
  margin-top: 5px;
  color: #6B778B;
  font-size: 7.8px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-chart-card {
  margin-top: 9px;
  border: 1px solid rgba(221,231,239,.95);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #F8FAFC);
  padding: 10px;
}
.mobile-chart-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mobile-chart-title strong { color: var(--ink); font-size: 9px; }
.mobile-chart-title span { color: var(--manafez-teal); font-size: 9px; font-weight: 950; }
.mobile-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; height: 58px; margin-top: 10px; }
.mobile-bars i { display: block; border-radius: 999px 999px 8px 8px; background: linear-gradient(180deg, var(--manafez-teal), rgba(0,167,157,.20)); }
.mobile-bars i:nth-child(1) { height: 42%; background: linear-gradient(180deg, var(--manafez-deep-navy), rgba(11,29,58,.18)); }
.mobile-bars i:nth-child(2) { height: 72%; }
.mobile-bars i:nth-child(3) { height: 55%; background: linear-gradient(180deg, var(--manafez-warm-gold), rgba(201,161,90,.22)); }
.mobile-bars i:nth-child(4) { height: 88%; }
.mobile-split { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; margin-top: 9px; }
.mobile-donut {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: conic-gradient(var(--manafez-deep-navy) 0 40%, var(--manafez-teal) 40% 65%, var(--manafez-warm-gold) 65% 88%, #DDE7EF 88% 100%);
  position: relative;
}
.mobile-donut::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.mobile-donut strong, .mobile-donut span { position: relative; z-index: 1; display: block; }
.mobile-donut strong { color: var(--ink); font-size: 16px; line-height: 1; }
.mobile-donut span { color: #6B778B; font-size: 7px; margin-top: -14px; }
.mobile-legend { display: grid; gap: 7px; }
.mobile-legend span { display: flex; align-items: center; gap: 6px; color: #647188; font-size: 8.2px; font-weight: 850; }
.mobile-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--manafez-deep-navy); }
.mobile-legend span:nth-child(2) i { background: var(--manafez-teal); }
.mobile-legend span:nth-child(3) i { background: var(--manafez-warm-gold); }
.mobile-activity { display: grid; gap: 6px; margin-top: 10px; }
.mobile-activity b { color: var(--ink); font-size: 9px; }
.mobile-activity span {
  min-height: 22px;
  display: flex;
  align-items: center;
  padding-inline: 8px;
  border-radius: 9px;
  border: 1px solid rgba(221,231,239,.95);
  background: #fff;
  color: #5D6A7F;
  font-size: 7.8px;
  font-weight: 850;
}

.route-steps.how-motion {
  width: min(980px, 100%);
  margin: 34px auto 22px;
}
.route-motif-frame {
  position: relative;
  overflow: hidden;
  min-height: 182px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(221,231,239,.92);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 18%, rgba(0,167,157,.08), transparent 28%),
    radial-gradient(circle at 82% 84%, rgba(201,161,90,.10), transparent 30%),
    rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  padding: 24px 42px;
}
.route-motif-img {
  width: min(860px, 100%);
  border-radius: 20px;
  filter: saturate(1.05) contrast(1.02);
  transform: translateZ(0);
}
.flow-scan {
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 140px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0,167,157,.13), rgba(201,161,90,.13), transparent);
  opacity: 0;
  pointer-events: none;
}
.flow-pin {
  position: absolute;
  display: inline-grid;
  grid-template-columns: 34px auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(221,231,239,.92);
  box-shadow: 0 18px 42px rgba(11,29,58,.11);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}
html[dir="rtl"] .flow-pin { grid-template-columns: auto 34px; padding: 4px 4px 4px 12px; }
.flow-pin b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--manafez-deep-navy);
  font-size: 11px;
}
.flow-pin small { color: #48586F; font-size: 12px; font-weight: 900; }
.pin-one { inset-inline-start: 7%; top: 62%; }
.pin-two { inset-inline-start: 43%; top: 28%; }
.pin-three { inset-inline-end: 7%; top: 61%; }
.pin-two b { background: var(--manafez-teal); }
.pin-three b { background: var(--manafez-warm-gold); }
.step-card { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.step-card:hover { transform: translateY(-6px); border-color: rgba(0,167,157,.28); box-shadow: 0 26px 58px rgba(11,29,58,.12); }

@media (prefers-reduced-motion: no-preference) {
  .how-motion.is-visible .route-motif-img { animation: motifSettle .7s cubic-bezier(.2,.8,.2,1) both; }
  .how-motion.is-visible .flow-scan { animation: flowSweep 5.2s ease-in-out .65s infinite; }
  .how-motion.is-visible .flow-pin { animation: pinPulse 3.6s ease-in-out infinite; }
  .how-motion.is-visible .pin-two { animation-delay: .35s; }
  .how-motion.is-visible .pin-three { animation-delay: .7s; }
  .workspace-card.is-visible .side-link { animation: navItemIn .46s cubic-bezier(.2,.8,.2,1) both; }
  .workspace-card.is-visible .side-link:nth-child(2) { animation-delay: .04s; }
  .workspace-card.is-visible .side-link:nth-child(3) { animation-delay: .08s; }
  .workspace-card.is-visible .side-link:nth-child(4) { animation-delay: .12s; }
  .workspace-card.is-visible .side-link:nth-child(5) { animation-delay: .16s; }
  .workspace-card.is-visible .side-link:nth-child(6) { animation-delay: .20s; }
  .workspace-card.is-visible .side-link:nth-child(7) { animation-delay: .24s; }
  .phone-preview.is-visible .mobile-kpis div,
  .phone-preview.is-visible .mobile-chart-card,
  .phone-preview.is-visible .mobile-split,
  .phone-preview.is-visible .mobile-activity span { animation: dashboardLift .52s cubic-bezier(.22,.8,.2,1) both; }
  .phone-preview.is-visible .mobile-kpis div:nth-child(2) { animation-delay: .05s; }
  .phone-preview.is-visible .mobile-kpis div:nth-child(3) { animation-delay: .10s; }
  .phone-preview.is-visible .mobile-kpis div:nth-child(4) { animation-delay: .15s; }
  .phone-preview.is-visible .mobile-chart-card { animation-delay: .20s; }
  .phone-preview.is-visible .mobile-split { animation-delay: .25s; }
  .phone-preview.is-visible .mobile-activity span:nth-child(2) { animation-delay: .30s; }
  .phone-preview.is-visible .mobile-activity span:nth-child(3) { animation-delay: .35s; }
  .phone-preview.is-visible .mobile-activity span:nth-child(4) { animation-delay: .40s; }
}
@keyframes motifSettle { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes flowSweep { 0% { opacity: 0; transform: translateX(-520px); } 12% { opacity: 1; } 50% { opacity: .75; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(520px); } }
@keyframes pinPulse { 0%,100% { transform: translateY(0); box-shadow: 0 18px 42px rgba(11,29,58,.11); } 50% { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(11,29,58,.16); } }
@keyframes navItemIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 1180px) {
  .hero-visual { grid-template-columns: minmax(0, 1fr) 224px; max-width: 980px; }
  .workspace-card { grid-template-columns: 142px minmax(0,1fr); }


}
@media (max-width: 940px) {
  .hero-visual { display: block; }
  .phone-preview { display: none; }
  .workspace-card { grid-template-columns: 122px minmax(0,1fr); }
  .side-link { justify-content: center; padding: 0 8px; }
  .side-link span { display: none; }
  .workspace-sidebar img.workspace-mark { width: 58px; height: 58px; }


  .route-motif-frame { min-height: 164px; padding: 18px 20px; }
  .flow-pin { transform: scale(.92); transform-origin: center; }
  .pin-one { inset-inline-start: 4%; }
  .pin-two { inset-inline-start: 39%; top: 24%; }
  .pin-three { inset-inline-end: 4%; }
}
@media (max-width: 680px) {
  .workspace-card { grid-template-columns: 1fr; min-height: 0; }
  .workspace-sidebar { display: none; }
  .workspace-main { padding: 16px; }
  .workspace-topline { grid-template-columns: 1fr; }
  .route-motif-frame { min-height: 150px; border-radius: 26px; padding: 18px 12px; }
  .flow-pin { position: relative; inset: auto !important; display: inline-grid; margin: 8px 4px 0; transform: none; }
  .route-motif-frame { flex-wrap: wrap; }
  .route-motif-img { flex-basis: 100%; }
  .flow-scan { display: none; }
}

/* v11.1 workspace proportion/alignment polish */
@media (min-width: 1181px) {
  .hero-grid { grid-template-columns: minmax(400px, .74fr) minmax(760px, 1.26fr); gap: 42px; }
}
.workspace-topline > div { min-width: 0; }
.workspace-topline h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-box input { font-size: 10.5px; }

/* v11.2 dashboard content readability fixes */
.workspace-topline {
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}
.workspace-topline h2 {
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  font-size: 24px;
}
.search-box { width: 100%; justify-self: stretch; }
.request-row {
  grid-template-columns: 31px minmax(0,1fr);
  align-items: start;
  min-height: 66px;
  padding-block: 9px;
}
.request-row mark {
  grid-column: 2;
  justify-self: start;
  margin-top: 5px;
  max-width: none;
  font-size: 8.7px;
  padding: 4px 7px;
}
.request-row strong { font-size: 10.8px; }
.request-row span { font-size: 10px; }
.request-row small { font-size: 9px; }
.mini-metrics span { font-size: 9.5px; }
@media (max-width: 940px) { .search-box { display: flex; } }
@media (max-width: 680px) { .search-box { display: none; } }

/* v12 pixel-perfect refinements requested */
@media (min-width: 1181px) {
  .hero-grid { grid-template-columns: minmax(400px, .72fr) minmax(840px, 1.28fr); gap: 42px; }
  .hero-visual { grid-template-columns: minmax(0, 1fr) 224px; gap: 24px; min-height: 560px; align-items: end; }
  .workspace-card { grid-template-columns: 154px minmax(0,1fr); }
}

.trust-row { gap: 9px; max-width: 620px; }
.trust-row span {
  min-height: 36px;
  padding: 0 13px;
  background: rgba(255,255,255,.78);
  border-color: rgba(221,231,239,.96);
  color: #2B3850;
  box-shadow: 0 10px 26px rgba(11,29,58,.05);
}
.trust-row span:nth-child(4) .icon { color: var(--manafez-teal); }
.trust-row span:nth-child(5) .icon { color: var(--manafez-warm-gold); }

.mini-route { margin-top: 44px; max-width: 560px; }
.mini-route .route-motif-frame {
  min-height: 106px;
  padding: 14px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border-color: rgba(221,231,239,.88);
  box-shadow: 0 18px 45px rgba(11,29,58,.055);
  flex-wrap: nowrap;
}
.mini-route .route-motif-img {
  width: 100%;
  border-radius: 14px;
  filter: saturate(1.08) contrast(1.025);
}
.route-motif-frame { flex-wrap: nowrap; }
.flow-pin { display: none !important; }
.route-steps.how-motion { margin-top: 32px; margin-bottom: 26px; }
.route-steps .route-motif-frame {
  min-height: 176px;
  padding: 24px 44px;
  border-radius: 34px;
}
.route-steps .route-motif-img { width: min(900px, 100%); }
.flow-scan {
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 150px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0,167,157,.14), rgba(201,161,90,.14), transparent);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.workspace-sidebar {
  padding: 20px 13px 16px;
  background: linear-gradient(180deg, #071A36 0%, #0B1D3A 52%, #102E59 100%);
}
.workspace-sidebar img.workspace-mark {
  width: 66px;
  height: 66px;
  object-fit: contain;
  margin: 0 auto 20px;
  padding: 0;
  border-radius: 18px;
  filter: none;
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
}
.workspace-sidebar nav { gap: 8px; }
.side-link {
  min-height: 41px;
  gap: 10px;
  padding: 0 10px;
  border-radius: 14px;
  color: rgba(255,255,255,.78);
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: -.01em;
  line-height: 1.05;
  border: 1px solid transparent;
}
.side-link .side-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 8px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.075);
  opacity: 1;
}
.side-link:hover {
  color: #fff;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.12);
  transform: translateX(2px);
}
html[dir="rtl"] .side-link:hover { transform: translateX(-2px); }
.side-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(0,167,157,.95), rgba(0,139,132,.92));
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 16px 32px rgba(0,167,157,.24);
}
.side-link.active .side-icon { background: rgba(255,255,255,.20); color: #fff; }
.user-badge { border-radius: 16px; padding: 11px 9px; background: rgba(255,255,255,.075); }

.workspace-main {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.30));
}
.workspace-topline { margin-bottom: 16px; }
.workspace-topline p { letter-spacing: .01em; }
.workspace-topline h2 { font-size: 25px; letter-spacing: -.035em; }
.search-box { height: 38px; border-radius: 13px; background: rgba(255,255,255,.72); }
.kpi-grid { gap: 12px; }
.kpi-card {
  min-height: 84px;
  padding: 13px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 28px rgba(11,29,58,.035);
}
.kpi-card span { font-size: 10.5px; }
.kpi-card strong { font-size: 25px; }
.workspace-panels { gap: 13px; margin-top: 13px; grid-template-columns: minmax(0,1.08fr) minmax(218px,.92fr); }
.panel { border-radius: 20px; padding: 15px; background: rgba(255,255,255,.90); }
.panel h3 { font-size: 13.5px; letter-spacing: -.01em; }
.request-row { min-height: 64px; }
.row-icon { width: 30px; height: 30px; border-radius: 10px; }
.donut-wrap { grid-template-columns: 90px minmax(0,1fr); }
.mini-metrics div { background: rgba(255,255,255,.88); }

.phone-preview {
  width: 224px;
  height: 462px;
  min-height: 0;
  max-height: 462px;
  aspect-ratio: 112 / 231;
  align-self: end;
  justify-self: end;
  border: 7px solid #101820;
  border-radius: 36px;
  padding: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #F7FAFC 100%);
  box-shadow: 0 28px 76px rgba(11,29,58,.24), inset 0 0 0 1px rgba(255,255,255,.65);
}
.phone-preview::before { top: 8px; width: 72px; height: 5px; opacity: .55; }
.phone-top { margin-top: 10px; min-height: 26px; }
.phone-top img { width: 82px; }
.phone-pill { margin-top: 11px; padding: 5px 9px; font-size: 8px; }
.mobile-dashboard-card { margin-top: 10px; border-radius: 20px; padding: 10px; }
.mobile-dashboard-head { grid-template-columns: minmax(0,1fr) 25px; gap: 8px; }
.mobile-dashboard-head b { font-size: 12.5px; line-height: 1.08; }
.mobile-dashboard-head small { margin-top: 4px; font-size: 7.4px; line-height: 1.28; }
.mobile-dashboard-head i { width: 25px; height: 25px; border-radius: 9px; }
.mobile-dashboard-head i::after { inset: 6px; }
.mobile-kpis { gap: 7px; margin-top: 10px; }
.mobile-kpis div { min-height: 40px; border-radius: 12px; padding: 7px; }
.mobile-kpis strong { font-size: 15px; }
.mobile-kpis span { margin-top: 4px; font-size: 7.2px; }
.mobile-chart-card { margin-top: 8px; padding: 8px; border-radius: 14px; }
.mobile-bars { height: 42px; gap: 7px; margin-top: 8px; }
.mobile-split { grid-template-columns: 58px 1fr; gap: 9px; margin-top: 8px; }
.mobile-donut { width: 58px; height: 58px; }
.mobile-donut::after { inset: 10px; }
.mobile-donut strong { font-size: 13px; }
.mobile-donut span { font-size: 6.5px; margin-top: -12px; }
.mobile-legend { gap: 5px; }
.mobile-legend span { font-size: 7.4px; }
.mobile-activity { gap: 5px; margin-top: 8px; }
.mobile-activity b { font-size: 8.4px; }
.mobile-activity span { min-height: 19px; font-size: 7.2px; padding-inline: 7px; }

.steps-grid { position: relative; }
@media (min-width: 781px) {
  .steps-grid::before,
  .steps-grid::after {
    content: "";
    position: absolute;
    left: 13%;
    right: 13%;
    top: 68px;
    height: 2px;
    border-radius: 999px;
    pointer-events: none;
  }
  .steps-grid::before { background: linear-gradient(90deg, transparent, rgba(11,29,58,.20), rgba(0,167,157,.24), rgba(201,161,90,.22), transparent); }
  .steps-grid::after {
    width: 180px;
    right: auto;
    background: linear-gradient(90deg, transparent, rgba(0,167,157,.85), rgba(201,161,90,.75), transparent);
    opacity: 0;
  }
}
.step-card { overflow: hidden; isolation: isolate; }
.step-card::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: rotate(14deg) translateX(-120%);
  pointer-events: none;
  z-index: -1;
}

.contact-grid {
  grid-template-columns: minmax(420px, .94fr) minmax(520px, 1.06fr);
  gap: 56px;
  align-items: center;
}
.contact-copy { align-self: center; }
.contact-copy p { margin-bottom: 0; }
.contact-brand-visual {
  margin: 30px 0 0;
  padding: 10px;
  border: 1px solid rgba(221,231,239,.96);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 64px rgba(11,29,58,.10);
  overflow: hidden;
}
.contact-brand-visual img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  filter: saturate(1.03) contrast(1.01);
}
.contact-route, .contact-route-svg { display: none !important; }

@media (prefers-reduced-motion: no-preference) {
  .mini-route.is-visible .route-motif-img,
  .how-motion.is-visible .route-motif-img { animation: motifSettle .72s cubic-bezier(.2,.8,.2,1) both; }
  .mini-route.is-visible .flow-scan,
  .how-motion.is-visible .flow-scan { animation: flowSweep 5.4s ease-in-out .45s infinite; }
  .steps-grid:has(.step-card.is-visible)::after { animation: stepTrace 4.6s ease-in-out .8s infinite; }
  .step-card.is-visible .step-icon { animation: stepIconBreath 4s ease-in-out infinite; }
  .step-card.is-visible::after { animation: cardShine 5.8s ease-in-out 1.2s infinite; }
  .contact-brand-visual.is-visible img { animation: brandImageSettle .8s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes stepTrace { 0% { opacity: 0; transform: translateX(-20%); } 18% { opacity: 1; } 52% { opacity: .95; } 100% { opacity: 0; transform: translateX(420%); } }
@keyframes stepIconBreath { 0%, 100% { transform: translateY(0); box-shadow: none; } 50% { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,167,157,.12); } }
@keyframes cardShine { 0%, 72% { transform: rotate(14deg) translateX(-140%); } 100% { transform: rotate(14deg) translateX(460%); } }
@keyframes brandImageSettle { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1180px) {
  .hero-visual { grid-template-columns: minmax(0, 1fr) 224px; max-width: 980px; margin: 46px auto 0; }
  .workspace-card { grid-template-columns: 146px minmax(0,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-brand-visual { max-width: 760px; }
}
@media (max-width: 940px) {
  .mini-route { max-width: 100%; }
  .mini-route .route-motif-frame { min-height: 94px; padding: 12px 14px; }
  .phone-preview { display: none; }
  .workspace-card { grid-template-columns: 120px minmax(0,1fr); }
  .workspace-sidebar img.workspace-mark { width: 56px; height: 56px; }
  .side-link { justify-content: center; padding: 0 8px; }
  .side-link span { display: none; }
  .route-steps .route-motif-frame { min-height: 138px; padding: 18px 18px; }
  .contact-brand-visual { margin-top: 24px; }
}
@media (max-width: 680px) {
  .trust-row span { flex: 1 1 calc(50% - 8px); justify-content: center; text-align: center; }
  .mini-route { margin-top: 32px; }
  .route-motif-frame { flex-wrap: nowrap !important; }
  .route-steps .route-motif-frame { min-height: 112px; border-radius: 24px; padding: 12px; }
  .contact-brand-visual { padding: 7px; border-radius: 22px; }
  .contact-brand-visual img { border-radius: 16px; }
}

/* v12.1 responsive guardrails for 1181px–1320px widths */
@media (min-width: 1181px) {
  .hero-grid { grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr); gap: 42px; }
  .hero-visual { --phone-w: clamp(204px, 16vw, 224px); grid-template-columns: minmax(0, 1fr) var(--phone-w); gap: clamp(16px, 1.7vw, 24px); }
  .phone-preview { width: var(--phone-w); height: clamp(420px, 33vw, 462px); max-height: 462px; }
  .workspace-card { grid-template-columns: clamp(136px, 11vw, 154px) minmax(0,1fr); }
}

/* v13 final polish: alignment, professional workflow animation, contact brand visual */
.mini-route,

.hero-copy { padding-block: 8px; }
.hero-visual { align-items: center; }

@media (min-width: 1181px) {
  .hero { padding-bottom: 84px; }
  .hero-grid { grid-template-columns: minmax(380px, .72fr) minmax(0, 1.28fr); gap: clamp(36px, 3vw, 54px); }
  .hero-visual {
    grid-template-columns: minmax(0, 1fr) clamp(186px, 13.8vw, 204px);
    gap: clamp(18px, 2vw, 28px);
    min-height: clamp(540px, 39vw, 580px);
  }
  .workspace-card { min-height: clamp(530px, 38vw, 570px); }
}

@media (max-width: 1180px) and (min-width: 941px) {
  .hero-visual { grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 20px; }
}

.phone-preview {
  width: clamp(184px, 13.4vw, 204px) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 390 / 844;
  align-self: center !important;
  justify-self: end;
  display: flex;
  flex-direction: column;
  border-width: 7px;
  border-radius: clamp(32px, 2.8vw, 38px);
  padding: 10px;
  transform: translateZ(0);
}
.phone-preview::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.phone-top { margin-top: 8px; min-height: 24px; flex: 0 0 auto; }
.phone-top img { width: 74px; }
.phone-pill { margin-top: 10px; font-size: 7.2px; padding: 4px 8px; flex: 0 0 auto; }
.mobile-dashboard-card { flex: 1 1 auto; min-height: 0; margin-top: 8px; display: flex; flex-direction: column; padding: 9px; gap: 0; }
.mobile-dashboard-head b { font-size: 11.4px; line-height: 1.1; }
.mobile-dashboard-head small { font-size: 6.8px; line-height: 1.25; }
.mobile-kpis { gap: 6px; margin-top: 8px; }
.mobile-kpis div { min-height: 36px; padding: 6px; }
.mobile-kpis strong { font-size: 14px; }
.mobile-kpis span { font-size: 6.6px; }
.mobile-chart-card { margin-top: 7px; padding: 7px; }
.mobile-bars { height: 36px; margin-top: 7px; }
.mobile-split { grid-template-columns: 54px 1fr; gap: 8px; margin-top: 7px; }
.mobile-donut { width: 54px; height: 54px; }
.mobile-donut strong { font-size: 12px; }
.mobile-activity { margin-top: 7px; gap: 4px; }
.mobile-activity span { min-height: 17px; font-size: 6.8px; }

/* Enhanced How Manafez works motion map */
.route-steps.how-motion {
  width: min(1060px, 100%);
  margin: 38px auto 32px;
}
.workflow-map {
  position: relative;
  min-height: 258px;
  overflow: hidden;
  border: 1px solid rgba(221,231,239,.96);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 22%, rgba(0,167,157,.13), transparent 34%),
    radial-gradient(circle at 84% 68%, rgba(201,161,90,.14), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.78));
  box-shadow: 0 28px 74px rgba(11,29,58,.09);
  isolation: isolate;
}
.workflow-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11,29,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,29,58,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 78%);
  pointer-events: none;
  opacity: .9;
  z-index: -1;
}
.workflow-map-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 0;
}
.workflow-map-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.015em;
}
.workflow-map-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.workflow-svg {
  position: absolute;
  z-index: 1;
  inset: 58px 34px 20px;
  width: calc(100% - 68px);
  height: calc(100% - 78px);
  overflow: visible;
}
.workflow-path-base,
.workflow-path-live {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workflow-path-base {
  stroke: rgba(11,29,58,.16);
  stroke-width: 10;
  stroke-dasharray: 2 22;
}
.workflow-path-live {
  stroke: url(#workflowGradient);
  stroke-width: 5;
  stroke-dasharray: 1180;
  stroke-dashoffset: 1180;
  filter: url(#workflowGlow);
}
.workflow-runner {
  fill: #fff;
  stroke: var(--manafez-warm-gold);
  stroke-width: 4;
  filter: url(#workflowGlow);
  opacity: 0;
}
.workflow-nodes {
  position: absolute;
  z-index: 4;
  inset: 86px 52px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
html[dir="rtl"] .workflow-nodes { flex-direction: row-reverse; }
html[dir="rtl"] .workflow-svg { transform: scaleX(-1); }
.workflow-node {
  width: min(30%, 220px);
  min-height: 122px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
  border: 1px solid rgba(221,231,239,.96);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 42px rgba(11,29,58,.08);
  backdrop-filter: blur(12px);
}
.workflow-node > span {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(201,161,90,.55);
  background: #fff;
  color: #946D27;
  font-size: 11px;
  font-weight: 950;
}
.workflow-node-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--manafez-teal);
  background: rgba(0,167,157,.08);
  border: 1px solid rgba(0,167,157,.24);
  font-size: 28px;
}
.workflow-node:nth-child(2) .workflow-node-icon { color: var(--ink); background: rgba(11,29,58,.06); border-color: rgba(11,29,58,.18); }
.workflow-node:nth-child(3) .workflow-node-icon { color: var(--manafez-warm-gold); background: rgba(201,161,90,.11); border-color: rgba(201,161,90,.30); }
.workflow-node b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
}
.workflow-node small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
@media (prefers-reduced-motion: no-preference) {
  .how-motion.is-visible .workflow-path-live { animation: workflowDraw 1.4s cubic-bezier(.22,.8,.2,1) .15s forwards; }
  .how-motion.is-visible .workflow-runner { animation: workflowRunnerFade .35s ease .95s forwards; }
  .how-motion.is-visible .workflow-node { animation: workflowNodeIn .65s cubic-bezier(.2,.8,.2,1) both; }
  .how-motion.is-visible .workflow-node:nth-child(1) { animation-delay: .18s; }
  .how-motion.is-visible .workflow-node:nth-child(2) { animation-delay: .34s; }
  .how-motion.is-visible .workflow-node:nth-child(3) { animation-delay: .50s; }
  .how-motion.is-visible .workflow-node-icon { animation: workflowIconPulse 4.6s ease-in-out 1s infinite; }
}
@keyframes workflowDraw { to { stroke-dashoffset: 0; } }
@keyframes workflowRunnerFade { to { opacity: 1; } }
@keyframes workflowNodeIn { from { opacity: 0; transform: translateY(14px) scale(.965); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes workflowIconPulse { 0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(0,167,157,0); } 50% { transform: translateY(-3px); box-shadow: 0 16px 28px rgba(0,167,157,.13); } }

/* Contact grid + professional brand visual */
.contact-grid {
  grid-template-columns: minmax(520px, 1.04fr) minmax(430px, .96fr) !important;
  align-items: stretch !important;
  gap: clamp(36px, 4vw, 64px) !important;
}
.contact-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-self: stretch !important;
}
.contact-copy p { max-width: 560px; }
.contact-form { align-self: center; width: 100%; }
.contact-brand-visual.manafez-brand-visual {
  margin: 28px 0 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
  border: 1px solid rgba(221,231,239,.96);
  box-shadow: 0 28px 72px rgba(11,29,58,.105);
  overflow: hidden;
}
.brand-visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background: #fff;
}
.brand-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0,167,157,.08), transparent 38%, rgba(201,161,90,.09));
  mix-blend-mode: multiply;
}
.contact-brand-visual.manafez-brand-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  filter: saturate(1.04) contrast(1.015);
}
.brand-services-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 9px;
  border-radius: 24px;
  background: rgba(248,250,252,.92);
  border: 1px solid rgba(221,231,239,.94);
}
.brand-services-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  padding: 9px 7px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(221,231,239,.72);
}
.brand-services-strip .icon { font-size: 24px; color: var(--manafez-teal); }
.brand-services-strip span:nth-child(1) .icon,
.brand-services-strip span:nth-child(2) .icon { color: var(--ink); }
.brand-services-strip span:nth-child(5) .icon { color: var(--manafez-warm-gold); }
.brand-services-strip b {
  font-size: 10.8px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -.01em;
  text-transform: none;
}
html[dir="rtl"] .brand-services-strip b { letter-spacing: 0; font-size: 11.5px; line-height: 1.2; }

@media (max-width: 1180px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .contact-brand-visual.manafez-brand-visual { max-width: 860px; width: 100%; }
}
@media (max-width: 940px) {
  .phone-preview { display: none !important; }
  .workflow-map { min-height: 230px; }
  .workflow-nodes { inset-inline: 30px; gap: 12px; }
  .workflow-node { width: 31%; min-height: 114px; }
  .workflow-node b { font-size: 12.5px; }
  .workflow-node small { font-size: 10px; }
  .brand-services-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .workflow-map { min-height: auto; padding: 18px; border-radius: 28px; }
  .workflow-map-head { padding: 0; display: grid; gap: 5px; }
  .workflow-svg { display: none; }
  .workflow-nodes { position: relative; inset: auto; margin-top: 16px; display: grid; grid-template-columns: 1fr; gap: 12px; }
  html[dir="rtl"] .workflow-nodes { flex-direction: initial; }
  .workflow-node { width: 100%; min-height: 96px; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; justify-items: start; align-content: center; text-align: start; padding: 16px 16px 16px 58px; position: relative; }
  html[dir="rtl"] .workflow-node { justify-items: end; text-align: start; padding: 16px 58px 16px 16px; }
  .workflow-node > span { top: 50%; transform: translateY(-50%); }
  .workflow-node-icon { grid-row: 1 / span 2; width: 46px; height: 46px; font-size: 25px; }
  .brand-services-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-services-strip span { min-height: 58px; }
  .brand-services-strip span:last-child { grid-column: 1 / -1; }
}

/* v13 mobile hero guardrail */
@media (max-width: 940px) {
  .hero-visual {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    min-height: 0 !important;
    gap: 0 !important;
    margin-top: clamp(28px, 5vw, 42px) !important;
  }
  .workspace-card {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
  .workspace-main { padding: 16px !important; }
  .workspace-topline { grid-template-columns: 1fr !important; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .workspace-panels { grid-template-columns: 1fr !important; }
  .mini-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 940px) {
  .workspace-sidebar { display: none !important; }
  .workspace-card { max-width: 760px !important; margin-inline: auto !important; border-radius: 28px !important; }
}

@media (max-width: 940px) {
  .hero-visual { width: 100% !important; margin-inline: 0 !important; justify-self: stretch !important; }
}
/* v14 final requested fixes: centered donuts, simplified workflow, aligned contact, cleaned visual */
.route-steps.how-motion,
.workflow-map { display: none !important; }

.donut,
.mobile-donut {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  text-align: center !important;
}
.donut strong,
.donut span,
.mobile-donut strong,
.mobile-donut span {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 !important;
  line-height: 1 !important;
}
.donut strong { font-size: 22px; }
.donut span { font-size: 9px; }
.mobile-donut strong { font-size: 12px; }
.mobile-donut span { font-size: 6.5px; }

.how .section-heading { margin-bottom: 0; }
.steps-grid.animated-steps {
  --step-line-y: 73px;
  position: relative;
  margin-top: clamp(34px, 4vw, 54px) !important;
  isolation: isolate;
}
@media (min-width: 781px) {
  .steps-grid.animated-steps::before,
  .steps-grid.animated-steps::after {
    top: var(--step-line-y) !important;
    height: 4px !important;
    border-radius: 999px !important;
  }
  .steps-grid.animated-steps::before {
    left: 12% !important;
    right: 12% !important;
    background: linear-gradient(90deg, transparent 0%, rgba(11,29,58,.18) 12%, rgba(0,167,157,.32) 50%, rgba(201,161,90,.30) 88%, transparent 100%) !important;
    box-shadow: 0 12px 26px rgba(11,29,58,.055);
  }
  .steps-grid.animated-steps::after {
    left: 11% !important;
    right: auto !important;
    width: min(260px, 24%) !important;
    background: linear-gradient(90deg, transparent, #fff, rgba(0,167,157,.95), rgba(201,161,90,.92), transparent) !important;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(0,167,157,.22));
  }
  html[dir="rtl"] .steps-grid.animated-steps::after { animation-direction: reverse; }
}
.steps-grid.animated-steps .step-card {
  overflow: visible;
  min-height: 238px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.steps-grid.animated-steps .step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,167,157,.34);
  box-shadow: 0 28px 64px rgba(11,29,58,.12);
}
.steps-grid.animated-steps .step-icon {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(0,167,157,.065));
  box-shadow: 0 12px 30px rgba(0,167,157,.08);
}
.steps-grid.animated-steps .step-icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 28px;
  border: 1px solid rgba(0,167,157,.18);
  background: radial-gradient(circle, rgba(0,167,157,.13), transparent 70%);
  opacity: .78;
}
.steps-grid.animated-steps .step-card:nth-child(2) .step-icon {
  color: var(--manafez-deep-navy);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(11,29,58,.055));
  box-shadow: 0 12px 30px rgba(11,29,58,.075);
}
.steps-grid.animated-steps .step-card:nth-child(3) .step-icon {
  color: var(--manafez-warm-gold);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(201,161,90,.10));
  border-color: rgba(201,161,90,.32);
  box-shadow: 0 12px 30px rgba(201,161,90,.10);
}
@media (prefers-reduced-motion: no-preference) {
  .steps-grid.animated-steps:has(.step-card.is-visible)::after {
    animation: stepTraceSmooth 5.2s cubic-bezier(.45,0,.2,1) .35s infinite !important;
  }
  .steps-grid.animated-steps .step-card.is-visible .step-icon::before {
    animation: stepHalo 3.8s ease-in-out infinite;
  }
  .steps-grid.animated-steps .step-card.is-visible:nth-child(2) .step-icon::before { animation-delay: .35s; }
  .steps-grid.animated-steps .step-card.is-visible:nth-child(3) .step-icon::before { animation-delay: .7s; }
}
@keyframes stepTraceSmooth {
  0% { opacity: 0; transform: translateX(-40%); }
  14% { opacity: .95; }
  52% { opacity: .9; }
  100% { opacity: 0; transform: translateX(430%); }
}
@keyframes stepHalo {
  0%, 100% { transform: scale(.96); opacity: .52; }
  50% { transform: scale(1.08); opacity: 1; }
}

.contact-grid {
  grid-template-columns: minmax(430px, .92fr) minmax(520px, 1.08fr) !important;
  grid-template-areas:
    "copy ."
    "form visual" !important;
  column-gap: clamp(42px, 5vw, 72px) !important;
  row-gap: 24px !important;
  align-items: start !important;
}
.contact-copy {
  grid-area: copy;
  align-self: end !important;
  display: block !important;
}
.contact-copy h2 { margin: 0; }
.contact-copy p { margin: 14px 0 0 !important; max-width: 560px; }
.contact-form {
  grid-area: form;
  align-self: start !important;
  width: 100%;
}
.contact-brand-visual.manafez-brand-visual {
  grid-area: visual;
  align-self: start !important;
  justify-self: stretch;
  margin: 0 !important;
  max-width: none !important;
  width: 100%;
  gap: 12px;
}
.brand-visual-frame { background: #fff; }
.contact-brand-visual.manafez-brand-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.brand-services-strip b { word-break: normal; overflow-wrap: normal; }
@media (max-width: 1180px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "form"
      "visual" !important;
    row-gap: 24px !important;
  }
  .contact-copy,
  .contact-form,
  .contact-brand-visual.manafez-brand-visual { max-width: 860px !important; width: 100%; margin-inline: auto !important; }
}
@media (max-width: 780px) {
  .steps-grid.animated-steps { margin-top: 30px !important; }
  .steps-grid.animated-steps::before,
  .steps-grid.animated-steps::after { display: none !important; }
  .steps-grid.animated-steps .step-card { min-height: 0; }
}

/* v15 polish: calm workflow motion + full Manafez contact visual */
.workflow-map,
.route-steps.how-motion { display: none !important; }

.steps-grid.animated-steps {
  --step-line-y: 67px;
  gap: clamp(18px, 2.4vw, 28px) !important;
  margin-top: clamp(30px, 3.4vw, 44px) !important;
  position: relative;
  align-items: stretch;
}
@media (min-width: 781px) {
  .steps-grid.animated-steps::before {
    content: "" !important;
    position: absolute !important;
    left: calc(16.666% + 62px) !important;
    right: calc(16.666% + 62px) !important;
    top: var(--step-line-y) !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg,
      rgba(11,29,58,.14) 0%,
      rgba(0,167,157,.34) 50%,
      rgba(201,161,90,.34) 100%) !important;
    box-shadow: none !important;
    z-index: 0;
  }
  .steps-grid.animated-steps::after {
    display: none !important;
    content: none !important;
    animation: none !important;
  }
}
.steps-grid.animated-steps .step-card {
  z-index: 1;
  overflow: hidden;
  min-height: 224px;
  padding-top: 30px;
  border-color: rgba(221,231,239,.96);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    radial-gradient(circle at 50% 0, rgba(0,167,157,.05), transparent 52%);
  box-shadow: 0 18px 46px rgba(11,29,58,.075);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.steps-grid.animated-steps .step-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(0,167,157,.28);
  box-shadow: 0 24px 58px rgba(11,29,58,.105);
}
.steps-grid.animated-steps .step-card::after,
.steps-grid.animated-steps .step-icon::before {
  content: none !important;
  animation: none !important;
}
.steps-grid.animated-steps .step-number {
  z-index: 3;
  background: #fff;
  box-shadow: 0 8px 18px rgba(201,161,90,.10);
}
.steps-grid.animated-steps .step-icon {
  z-index: 2;
  margin-top: 6px;
  background: linear-gradient(180deg, #fff, rgba(0,167,157,.065));
  box-shadow: 0 12px 26px rgba(0,167,157,.08);
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .steps-grid.animated-steps:has(.step-card.is-visible)::after,
  .steps-grid.animated-steps .step-card.is-visible::after,
  .steps-grid.animated-steps .step-card.is-visible .step-icon,
  .steps-grid.animated-steps .step-card.is-visible .step-icon::before {
    animation: none !important;
  }
  .steps-grid.animated-steps .step-card.reveal.is-visible {
    animation: stepCardSettle .58s cubic-bezier(.22,.8,.2,1) both !important;
  }
  .steps-grid.animated-steps .step-card.reveal.is-visible:nth-child(2) { animation-delay: .08s !important; }
  .steps-grid.animated-steps .step-card.reveal.is-visible:nth-child(3) { animation-delay: .16s !important; }
  .steps-grid.animated-steps .step-card.reveal.is-visible .step-number,
  .steps-grid.animated-steps .step-card.reveal.is-visible .step-icon {
    animation: stepDetailSettle .46s cubic-bezier(.22,.8,.2,1) both !important;
  }
  .steps-grid.animated-steps .step-card.reveal.is-visible:nth-child(2) .step-number,
  .steps-grid.animated-steps .step-card.reveal.is-visible:nth-child(2) .step-icon { animation-delay: .14s !important; }
  .steps-grid.animated-steps .step-card.reveal.is-visible:nth-child(3) .step-number,
  .steps-grid.animated-steps .step-card.reveal.is-visible:nth-child(3) .step-icon { animation-delay: .22s !important; }
}
@keyframes stepCardSettle {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(.985); filter: blur(3px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}
@keyframes stepDetailSettle {
  from { opacity: 0; transform: translateY(6px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-brand-visual.manafez-brand-visual {
  overflow: hidden;
  gap: 12px;
}
.contact-brand-visual.manafez-brand-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.04) contrast(1.015);
}
.brand-visual-frame {
  background: #fff;
  border-radius: 25px;
}
@media (max-width: 780px) {
  .steps-grid.animated-steps::before,
  .steps-grid.animated-steps::after { display: none !important; }
  .steps-grid.animated-steps .step-card { min-height: 0; }
}

/* v16 final: premium steps animation + equal contact cards */
.steps-grid.animated-steps {
  --step-line-y: 72px;
  --step-card-radius: 28px;
  gap: clamp(20px, 2.2vw, 30px) !important;
  margin-top: clamp(34px, 4vw, 52px) !important;
  isolation: isolate;
  align-items: stretch;
}
.steps-grid.animated-steps .step-card {
  position: relative;
  z-index: 1;
  min-height: 232px;
  padding: 32px 26px 28px;
  overflow: hidden;
  border: 1px solid rgba(221,231,239,.96);
  border-radius: var(--step-card-radius);
  background:
    radial-gradient(circle at 50% -18%, rgba(0,167,157,.10), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
  box-shadow: 0 20px 52px rgba(11,29,58,.075);
  transform: translateZ(0);
}
.steps-grid.animated-steps .step-card:nth-child(2) {
  background:
    radial-gradient(circle at 50% -18%, rgba(11,29,58,.075), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
}
.steps-grid.animated-steps .step-card:nth-child(3) {
  background:
    radial-gradient(circle at 50% -18%, rgba(201,161,90,.12), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
}
.steps-grid.animated-steps .step-card::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,167,157,.34), rgba(221,231,239,.40) 34%, rgba(201,161,90,.32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .38;
  pointer-events: none;
  z-index: 2;
}
.steps-grid.animated-steps .step-card::after {
  content: "" !important;
  position: absolute;
  inset: -45% auto -45% -38%;
  width: 30%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), rgba(0,167,157,.12), transparent);
  transform: rotate(16deg) translateX(-140%);
  pointer-events: none;
  z-index: 3;
}
.steps-grid.animated-steps .step-number {
  z-index: 5;
  top: 18px;
  inset-inline-start: 18px;
  border-color: rgba(201,161,90,.58);
  box-shadow: 0 10px 22px rgba(201,161,90,.12);
}
.steps-grid.animated-steps .step-icon {
  position: relative;
  z-index: 4;
  margin-top: 8px;
  isolation: isolate;
  color: var(--manafez-teal);
  background: linear-gradient(180deg, #FFFFFF, rgba(0,167,157,.08));
  border-color: rgba(0,167,157,.30);
  box-shadow: 0 16px 34px rgba(0,167,157,.10);
}
.steps-grid.animated-steps .step-card:nth-child(2) .step-icon {
  color: var(--manafez-deep-navy);
  background: linear-gradient(180deg, #FFFFFF, rgba(11,29,58,.065));
  border-color: rgba(11,29,58,.20);
  box-shadow: 0 16px 34px rgba(11,29,58,.08);
}
.steps-grid.animated-steps .step-card:nth-child(3) .step-icon {
  color: var(--manafez-warm-gold);
  background: linear-gradient(180deg, #FFFFFF, rgba(201,161,90,.12));
  border-color: rgba(201,161,90,.34);
  box-shadow: 0 16px 34px rgba(201,161,90,.11);
}
.steps-grid.animated-steps .step-icon::before,
.steps-grid.animated-steps .step-icon::after {
  content: "" !important;
  position: absolute;
  border-radius: 24px;
  pointer-events: none;
  z-index: -1;
}
.steps-grid.animated-steps .step-icon::before {
  inset: -12px;
  border: 1px solid rgba(0,167,157,.16);
  background: radial-gradient(circle, rgba(0,167,157,.12), transparent 70%);
  opacity: .8;
}
.steps-grid.animated-steps .step-card:nth-child(2) .step-icon::before {
  border-color: rgba(11,29,58,.12);
  background: radial-gradient(circle, rgba(11,29,58,.09), transparent 70%);
}
.steps-grid.animated-steps .step-card:nth-child(3) .step-icon::before {
  border-color: rgba(201,161,90,.18);
  background: radial-gradient(circle, rgba(201,161,90,.15), transparent 70%);
}
.steps-grid.animated-steps .step-icon::after {
  width: 8px;
  height: 8px;
  right: -2px;
  top: 12px;
  border-radius: 50%;
  background: var(--manafez-warm-gold);
  box-shadow: 0 0 0 5px rgba(201,161,90,.16), 0 0 18px rgba(201,161,90,.34);
}
html[dir="rtl"] .steps-grid.animated-steps .step-icon::after { right: auto; left: -2px; }
@media (min-width: 781px) {
  .steps-grid.animated-steps::before {
    content: "" !important;
    position: absolute !important;
    left: calc(16.666% + 64px) !important;
    right: calc(16.666% + 64px) !important;
    top: var(--step-line-y) !important;
    height: 3px !important;
    z-index: 0;
    border-radius: 999px !important;
    background: linear-gradient(90deg,
      rgba(11,29,58,.22) 0%,
      rgba(0,167,157,.38) 52%,
      rgba(201,161,90,.36) 100%) !important;
    box-shadow: 0 12px 28px rgba(11,29,58,.06);
  }
  .steps-grid.animated-steps::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    left: calc(16.666% + 40px) !important;
    right: auto !important;
    top: calc(var(--step-line-y) - 6px) !important;
    width: 160px !important;
    height: 15px !important;
    z-index: 0;
    border-radius: 999px !important;
    background: linear-gradient(90deg,
      transparent,
      rgba(255,255,255,.95),
      rgba(0,167,157,.85),
      rgba(201,161,90,.72),
      transparent) !important;
    filter: blur(.2px) drop-shadow(0 0 12px rgba(0,167,157,.22));
    opacity: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .steps-grid.animated-steps:has(.step-card.is-visible)::after {
    animation: v16RoutePulse 4.8s cubic-bezier(.42,0,.2,1) .45s infinite !important;
  }
  .steps-grid.animated-steps .step-card.reveal.is-visible {
    animation: v16StepRise .66s cubic-bezier(.18,.84,.22,1) both !important;
  }
  .steps-grid.animated-steps .step-card.reveal.is-visible:nth-child(2) { animation-delay: .10s !important; }
  .steps-grid.animated-steps .step-card.reveal.is-visible:nth-child(3) { animation-delay: .20s !important; }
  .steps-grid.animated-steps .step-card.reveal.is-visible::after {
    animation: v16CardGleam 6.5s cubic-bezier(.45,0,.2,1) 1s infinite !important;
  }
  .steps-grid.animated-steps .step-card.reveal.is-visible .step-icon {
    animation: v16IconFloat 4.4s ease-in-out 1.1s infinite !important;
  }
  .steps-grid.animated-steps .step-card.reveal.is-visible .step-icon::before {
    animation: v16HaloPulse 3.8s ease-in-out 1.1s infinite !important;
  }
  .steps-grid.animated-steps .step-card.reveal.is-visible .step-icon::after {
    animation: v16NodeBlink 2.8s ease-in-out 1.2s infinite !important;
  }
}
@keyframes v16RoutePulse {
  0% { opacity: 0; transform: translateX(-35%) scaleX(.75); }
  14% { opacity: .95; }
  48% { opacity: .85; }
  82% { opacity: .75; }
  100% { opacity: 0; transform: translateX(440%) scaleX(.95); }
}
@keyframes v16StepRise {
  from { opacity: 0; transform: translate3d(0, 16px, 0) scale(.982); filter: blur(4px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}
@keyframes v16CardGleam {
  0%, 60% { transform: rotate(16deg) translateX(-150%); opacity: 0; }
  72% { opacity: .72; }
  100% { transform: rotate(16deg) translateX(520%); opacity: 0; }
}
@keyframes v16IconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes v16HaloPulse {
  0%, 100% { transform: scale(.96); opacity: .50; }
  50% { transform: scale(1.08); opacity: .95; }
}
@keyframes v16NodeBlink {
  0%, 100% { transform: scale(.92); opacity: .72; }
  50% { transform: scale(1.18); opacity: 1; }
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-areas:
    "copy ."
    "form visual" !important;
  column-gap: clamp(40px, 5vw, 72px) !important;
  row-gap: 22px !important;
  align-items: stretch !important;
}
.contact-copy {
  grid-area: copy !important;
  align-self: end !important;
  max-width: none !important;
}
.contact-form,
.contact-brand-visual.manafez-brand-visual {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  margin: 0 !important;
}
.contact-form {
  grid-area: form !important;
  min-height: 100% !important;
  height: 100% !important;
  padding: clamp(22px, 2vw, 30px) !important;
  grid-template-rows: auto auto minmax(140px, 1fr) auto auto;
  align-content: stretch;
}
.contact-form textarea {
  min-height: 148px;
  height: 100%;
}
.contact-form .btn {
  min-height: 62px;
  margin-top: 8px;
}
.contact-brand-visual.manafez-brand-visual {
  grid-area: visual !important;
  height: 100% !important;
  padding: clamp(10px, 1vw, 14px) !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
}
.brand-visual-frame {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-brand-visual.manafez-brand-visual img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 1181px) {
  .contact-form,
  .contact-brand-visual.manafez-brand-visual { min-height: clamp(500px, 32vw, 590px) !important; }
}
@media (max-width: 1180px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "form"
      "visual" !important;
    row-gap: 24px !important;
  }
  .contact-copy,
  .contact-form,
  .contact-brand-visual.manafez-brand-visual {
    width: min(100%, 860px) !important;
    max-width: 860px !important;
    margin-inline: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .contact-brand-visual.manafez-brand-visual img { height: auto; }
}
@media (max-width: 780px) {
  .steps-grid.animated-steps {
    gap: 16px !important;
  }
  .steps-grid.animated-steps::before,
  .steps-grid.animated-steps::after { display: none !important; }
  .steps-grid.animated-steps .step-card { min-height: 0; }
  .contact-form { grid-template-rows: auto; }
  .contact-form textarea { height: auto; min-height: 128px; }
}

/* Approved v17 refinement: white-label preview, secure contact flow, and footer attribution. */
.workspace-tenant-identity {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 auto 18px;
  text-align: center;
}
.workspace-tenant-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 19px;
  background: linear-gradient(145deg, #FFFFFF, #E6F6F5);
  color: var(--manafez-deep-navy);
  box-shadow: 0 12px 30px rgba(5,12,24,.20);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.04em;
}
.workspace-tenant-identity small {
  max-width: 104px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.25;
}
.workspace-card .side-link { cursor: default; pointer-events: none; }
.search-copy {
  min-width: 0;
  overflow: hidden;
  color: #526176;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-office > i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 2px solid rgba(0,167,157,.28);
  border-radius: 50%;
  background: var(--manafez-teal);
  box-shadow: 0 0 0 3px rgba(0,167,157,.08);
}
.donut,
.mobile-donut {
  background: conic-gradient(
    var(--manafez-deep-navy) 0 21%,
    var(--manafez-teal) 21% 96%,
    #D51D1D 96% 98%,
    #AAB7C6 98% 100%
  );
}
.donut-wrap li:nth-child(3) i,
.mobile-legend span:nth-child(3) i { background: #D51D1D; }
.donut-wrap li:nth-child(4) i,
.mobile-legend span:nth-child(4) i { background: #AAB7C6; }
.phone-top {
  justify-content: flex-start;
  gap: 7px;
}
.phone-tenant-mark {
  width: 27px;
  height: 27px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(0,167,157,.22);
  border-radius: 9px;
  background: #E6F6F5;
  color: var(--manafez-deep-navy);
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
}
.phone-tenant-name {
  min-width: 0;
  margin-inline-end: auto;
  overflow: hidden;
  color: var(--manafez-deep-navy);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-form {
  grid-template-rows: none !important;
  grid-auto-rows: auto;
  align-content: start;
}
.contact-form textarea {
  height: auto;
  min-height: 148px;
}
.turnstile-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.turnstile-field > div {
  width: 100%;
  min-height: 65px;
  display: flex;
  align-items: center;
}
.turnstile-field iframe { max-width: 100%; }
.turnstile-field p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}
.form-status[data-state="error"] { color: #B42318; }
.form-status[data-state="success"] { color: #00776F; }
.contact-form .btn[disabled] {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
}
.contact-form .btn span { color: inherit; font-size: inherit; }
html[dir="rtl"] .directional-arrow { transform: scaleX(-1); }

.site-footer .footer-attribution a {
  color: var(--manafez-deep-navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(0,167,157,.45);
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
.site-footer .footer-attribution a:hover { color: var(--manafez-teal); }
:where(a, button, input, textarea):focus-visible {
  outline: 3px solid rgba(21,95,191,.45);
  outline-offset: 3px;
}
.contact-form :where(input, textarea):focus-visible {
  outline: 0;
  border-color: var(--manafez-teal);
  box-shadow: 0 0 0 4px rgba(0,167,157,.12);
}
@media (forced-colors: active) {
  .workspace-tenant-mark,
  .phone-tenant-mark,
  .turnstile-field > div { border: 1px solid CanvasText; }
  .contact-form .btn[disabled] { opacity: 1; }
  .contact-form :where(input, textarea):focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
    box-shadow: none;
  }
}
@media (max-width: 680px) {
  .turnstile-field,
  .form-status,
  .contact-form .span-2 { grid-column: 1; }
  .footer-attribution { white-space: normal !important; }
}

@media (min-width: 1181px) {
  .hero-copy h1 { font-size: clamp(46px, 3.55vw, 52px); line-height: 1.03; }
  html[dir="rtl"] .hero-copy h1 { line-height: 1.16; }
}
@media (min-width: 941px) {
  .phone-preview { aspect-ratio: 390 / 1000; }
}
@media (max-width: 820px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer nav { justify-content: flex-start; gap: 16px; }
}

/* v19: one focal dashboard with a stable zoom-safe responsive contract. */
.hero-visual {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  min-height: 0 !important;
  align-items: stretch !important;
}
.phone-preview { display: none !important; }
.workspace-sidebar nav,
.workspace-sidebar .side-link {
  width: 100%;
  min-width: 0;
}

@media (min-width: 941px) {
  .workspace-card {
    grid-template-columns: 216px minmax(0, 1fr) !important;
    min-height: 0 !important;
  }
}

@media (min-width: 941px) and (max-width: 1180px) {
  .nav-links {
    position: fixed;
    top: 96px;
    inset-inline: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }
  .nav-links a { padding: 14px; border-radius: 12px; }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-small { display: none; }
}

@media (min-width: 941px) and (max-width: 1359.98px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-copy {
    width: min(100%, 820px);
    max-width: 820px;
    margin-inline: auto;
  }
  .hero-visual {
    display: block !important;
    width: min(100%, 900px) !important;
    max-width: 900px !important;
    margin: 48px auto 0 !important;
  }
  .workspace-card {
    width: 100% !important;
    max-width: 900px !important;
    margin-inline: auto !important;
  }
  .workspace-main { padding: 20px !important; }
}

@media (min-width: 1360px) {
  .hero-grid {
    grid-template-columns: minmax(390px, .75fr) minmax(0, 1.25fr) !important;
    gap: clamp(42px, 3.5vw, 56px) !important;
  }
  .hero-visual { width: 100% !important; margin: 0 !important; }
}
