/* ==========================================================================
   Avash — main stylesheet
   Brand colours: navy #172B4D and orange #FF7701 (constant in both themes).
   Modern refresh: clean cool whites, saturated navy shades and a vivid blue
   (--blue / --sky) used only for glows, charts and highlights.
   ========================================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Variable.woff2') format('woff2-variations'),
       url('/assets/fonts/Vazirmatn-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@view-transition { navigation: auto; }

:root {
  /* Brand palette */
  --navy: #172B4D;
  --orange: #FF7701;
  --warm: #F4F3F0;
  --grey-l: #D9D9D6;
  --grey-d: #656565;

  /* Saturated navy shades (dark surfaces) */
  --navy-950: #060E22;
  --navy-900: #0A1631;
  --navy-850: #0E1D40;
  --navy-800: #13264E;
  --navy-600: #24406F;
  --navy-500: #39598F;
  /* Vivid accents for glows, charts and highlights */
  --blue: #2D6BFF;
  --sky: #5AA9FF;
  --orange-2: #FF9F43;
  --grad-orange: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  --grad-blue: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);

  /* Orange tints (opacity only) */
  --orange-12: color-mix(in srgb, var(--orange) 12%, transparent);
  --orange-20: color-mix(in srgb, var(--orange) 20%, transparent);
  --orange-35: color-mix(in srgb, var(--orange) 35%, transparent);

  /* Light theme (default) */
  --bg: #FFFFFF;
  --bg-alt: #F3F6FC;
  --surface: #FFFFFF;
  --surface-2: #F5F8FD;
  --text: var(--navy);
  --heading: #0F1F3D;
  --muted: #586379;
  --border: #E2E8F2;
  --border-strong: #C7D2E4;
  --header-bg: color-mix(in srgb, #FFFFFF 78%, transparent);
  --card-shadow: 0 1px 2px color-mix(in srgb, var(--navy) 6%, transparent), 0 18px 40px -22px color-mix(in srgb, var(--navy) 35%, transparent);
  --card-shadow-hover: 0 2px 4px color-mix(in srgb, var(--navy) 8%, transparent), 0 30px 60px -28px color-mix(in srgb, var(--navy) 50%, transparent);
  --link: var(--navy);
  --focus: var(--orange);

  /* Type & rhythm */
  --font: 'Vazirmatn', Tahoma, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  --fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.4vw, 2.375rem);
  --fs-h1: clamp(2rem, 1.45rem + 2.6vw, 3.5rem);
  --fs-hero: clamp(2.125rem, 1.4rem + 3.4vw, 4rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 5rem + 3vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

:root[data-theme="dark"] {
  --bg: var(--navy-900);
  --bg-alt: var(--navy-850);
  --surface: #112149;
  --surface-2: var(--navy-800);
  --text: var(--warm);
  --heading: var(--warm);
  --muted: var(--grey-l);
  --border: #20366A;
  --border-strong: var(--navy-500);
  --header-bg: color-mix(in srgb, var(--navy-900) 78%, transparent);
  --card-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 40%, transparent), 0 18px 40px -22px color-mix(in srgb, var(--navy-950) 90%, transparent);
  --card-shadow-hover: 0 2px 4px color-mix(in srgb, var(--navy-950) 40%, transparent), 0 30px 60px -24px color-mix(in srgb, var(--navy-950) 100%, transparent);
  --link: var(--warm);
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.45; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:where(ul, ol)[class] { list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--orange); color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
bdi { unicode-bidi: isolate; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--navy); font-weight: 700; padding: 10px 18px; border-radius: 0 0 12px 12px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 880px; }
.icon { width: 1.5em; height: 1.5em; flex: none; }

/* ---------- Pending (awaiting confirmation) & placeholders ---------- */
.pending {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: 22px; height: 22px; border-radius: 50%;
  color: var(--navy); background: var(--orange-20); border: 1px dashed var(--orange);
  margin-inline: 2px; cursor: help;
}
:root[data-theme="dark"] .pending, .section-dark .pending, .hero .pending, .cta-band .pending { color: var(--warm); }
.pending svg { width: 13px; height: 13px; }
.ph { background: var(--orange-12); border-radius: 6px; padding-inline: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.notice {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 24px 0 0; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px dashed var(--orange-35); background: var(--orange-12);
  font-size: var(--fs-sm); color: var(--text); line-height: 1.8;
}
.notice > .icon { color: var(--orange); width: 20px; height: 20px; margin-top: 3px; }
.notice .pending { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: var(--navy);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.4; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn .icon { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(-5px); }
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--warm) 55%, transparent) 50%, transparent 70%);
  transform: translateX(120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(-120%); }
.btn-primary { background: var(--grad-orange); box-shadow: 0 10px 28px -12px var(--orange); }
.btn-primary:hover { box-shadow: 0 16px 36px -12px var(--orange); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--heading); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--orange); transform: translateY(-2px); }
.btn-ghost-light { --btn-bg: color-mix(in srgb, var(--warm) 8%, transparent); --btn-fg: var(--warm); border-color: color-mix(in srgb, var(--warm) 30%, transparent); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--orange); --btn-bg: color-mix(in srgb, var(--warm) 14%, transparent); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 6px 18px; font-size: var(--fs-xs); }
.btn-lg { min-height: 56px; padding: 12px 30px; font-size: var(--fs-base); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: var(--fs-sm); color: var(--heading);
  background: linear-gradient(var(--orange), var(--orange)) no-repeat right bottom / 0 2px;
  transition: background-size .4s var(--ease), color .3s;
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--orange); transition: transform .35s var(--ease); }
.link-arrow:hover, .card:hover .link-arrow { background-size: 100% 2px; }
.link-arrow:hover .icon, .card:hover .link-arrow .icon { transform: translateX(-6px); }
.link-arrow-lg { font-size: var(--fs-base); margin-top: 8px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 12px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; line-height: 1.9;
  background: var(--orange-12); color: var(--heading); border: 1px solid var(--orange-20);
}
.tag-muted { background: var(--surface-2); border-color: var(--border); color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: var(--fs-sm); font-weight: 700; color: var(--heading); letter-spacing: 0;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--orange-20); animation: pulse 2.4s var(--ease) infinite; }
.eyebrow-light { color: var(--warm); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px transparent; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 120;
  background: linear-gradient(to left, var(--orange), color-mix(in srgb, var(--orange) 60%, var(--warm)));
  transform-origin: right; transform: scaleX(var(--progress, 0));
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: color-mix(in srgb, var(--warm) 86%, var(--navy)); font-size: var(--fs-xs); }
:root[data-theme="dark"] .topbar { background: var(--navy-950); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-list { display: flex; gap: 22px; align-items: center; }
.topbar-list li, .topbar-list a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-list a:hover { color: var(--orange); }
.topbar .icon { width: 15px; height: 15px; color: var(--orange); }
@media (max-width: 1023px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s, background-color .5s;
  view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 10px 30px -20px color-mix(in srgb, var(--navy) 45%, transparent); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.is-scrolled .header-inner { height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { display: grid; place-items: center; width: 48px; height: 48px; padding: 5px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--navy) 10%, transparent), 0 6px 18px -8px color-mix(in srgb, var(--navy) 45%, transparent); transition: transform .6s var(--ease-spring); flex: none; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 1.375rem; font-weight: 800; color: var(--heading); }
.brand-tagline { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }

.main-nav { margin-inline: auto; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative; padding: 8px 12px; font-weight: 500; font-size: var(--fs-sm); border-radius: 10px;
  transition: color .3s;
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after, .nav-item:focus-within > .nav-link::after { transform: scaleX(1); }
.nav-link.is-active { font-weight: 700; }
.has-menu .nav-link { padding-inline-end: 2px; }
.nav-caret { display: grid; place-items: center; width: 24px; height: 32px; color: var(--muted); }
.nav-caret .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.nav-item:hover .nav-caret .icon, .nav-caret[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--orange); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -8px; min-width: 240px;
  padding: 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--card-shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top right;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.nav-menu::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
.is-mega .nav-menu { min-width: 460px; }
.is-mega .nav-menu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.is-mega .nav-menu li:last-child { grid-column: 1 / -1; }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu, .nav-caret[aria-expanded="true"] + .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: var(--fs-sm);
  transition: background-color .25s, transform .3s var(--ease);
}
.nav-menu a:hover { background: var(--orange-12); transform: translateX(-4px); }
.nav-menu .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: .6; }
.nav-menu-all { font-weight: 700; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 6px; border-radius: 0 0 10px 10px !important; }
.nav-menu-all .icon { width: 18px; height: 18px; color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch, .theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; min-width: 42px; padding-inline: 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--heading); font-size: var(--fs-sm); font-weight: 600;
  transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.lang-switch:hover, .theme-toggle:hover { border-color: var(--orange); background: var(--orange-12); }
.lang-switch .icon { width: 19px; height: 19px; color: var(--orange); }
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-switch .icon-chevron { width: 14px; height: 14px; color: var(--muted); transition: transform .3s var(--ease); }
.lang-menu[open] .lang-switch .icon-chevron { transform: rotate(180deg); }
.lang-list { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 176px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--navy-950) 45%, transparent); animation: lang-pop .22s var(--ease); }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-weight: 600; color: var(--heading); text-align: start; }
.lang-list a:hover { background: var(--orange-12); }
.lang-list a[aria-current] { background: var(--orange-12); color: var(--orange); }
.lang-code { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding-inline: 4px; border-radius: 7px; background: var(--surface-2); color: var(--muted); font-size: .75rem; font-weight: 800; }
.lang-list a[aria-current] .lang-code { background: var(--orange); color: var(--navy); }
@keyframes lang-pop { from { opacity: 0; translate: 0 -6px; } }
.m-langs { display: flex; gap: 10px; }
.m-langs .m-lang { flex: 1; }
.theme-toggle { padding: 0; width: 42px; overflow: hidden; }
.theme-icons { position: relative; width: 22px; height: 22px; }
.theme-icons .icon { position: absolute; inset: 0; width: 22px; height: 22px; color: var(--orange); transition: transform .6s var(--ease-spring), opacity .4s; }
.theme-icons .icon-moon { transform: translateY(140%) rotate(-90deg); opacity: 0; }
:root[data-theme="dark"] .theme-icons .icon-sun { transform: translateY(-140%) rotate(90deg); opacity: 0; }
:root[data-theme="dark"] .theme-icons .icon-moon { transform: none; opacity: 1; }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); }
.burger span { position: absolute; inset-inline: 11px; height: 2px; border-radius: 2px; background: var(--heading); transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease), width .45s var(--ease); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; inset-inline-end: 17px; background: var(--orange); }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-12px); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) { .nav-link { padding-inline: 8px; } .lang-full { display: none; } }
@media (max-width: 1023px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: block; }
  .header-actions { margin-inline-start: auto; }
  :root { --header-h: 66px; }
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.mobile-menu.is-open { pointer-events: auto; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--navy-950) 55%, transparent); opacity: 0; transition: opacity .4s var(--ease); backdrop-filter: blur(3px); }
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 400px);
  padding: calc(var(--header-h) + 18px) 22px 28px; overflow-y: auto;
  background: var(--bg); box-shadow: -30px 0 60px -30px var(--navy-950);
  transform: translateX(100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s linear .55s;
  display: flex; flex-direction: column; gap: 24px;
}
.mobile-menu.is-open .mobile-menu-panel { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.m-nav > li { border-bottom: 1px solid var(--border); opacity: 0; transform: translateX(30px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms + 120ms); }
.mobile-menu.is-open .m-nav > li { opacity: 1; transform: none; }
.m-nav a { display: block; padding: 14px 4px; font-weight: 600; font-size: 1.0625rem; }
.m-nav a[aria-current="page"] { color: var(--orange); }
.m-nav summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary .icon { width: 20px; height: 20px; color: var(--orange); transition: transform .35s var(--ease); }
.m-nav details[open] summary .icon { transform: rotate(180deg); }
.m-nav details ul { padding: 0 14px 10px; }
.m-nav details ul a { padding: 8px 4px; font-weight: 400; font-size: var(--fs-sm); color: var(--muted); }
.m-actions { display: grid; gap: 12px; margin-top: auto; }
.m-phone, .m-lang { display: inline-flex; gap: 10px; align-items: center; justify-content: center; padding: 10px; border: 1px solid var(--border); border-radius: 999px; font-weight: 600; }
.m-phone .icon, .m-lang .icon { width: 20px; height: 20px; color: var(--orange); }
body.menu-open { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 18px 0; font-size: var(--fs-xs); color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "‹"; color: var(--orange); font-weight: 700; }
.breadcrumbs a:hover { color: var(--heading); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.breadcrumbs [aria-current] { color: var(--heading); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-dark { background: radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--blue) 30%, transparent), transparent 60%), linear-gradient(160deg, #0F2150, var(--navy-900)); color: var(--warm); --heading: var(--warm); --muted: var(--grey-l); --border: color-mix(in srgb, var(--navy) 75%, var(--warm)); --surface: var(--navy-800); --surface-2: var(--navy-850); }
:root[data-theme="dark"] .section-dark { background: var(--navy-950); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-more { text-align: center; margin: 36px 0 0; }
.section-title { font-size: var(--fs-h2); font-weight: 800; }
.section-text { font-size: var(--fs-lg); color: var(--muted); margin: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-expertise { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-expertise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-expertise, .grid-featured { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, background-color .5s;
}
.card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--orange-12), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card::after { /* glowing border */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--orange), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.card:hover::before, .card:hover::after, .card:focus-within::after { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title { font-size: var(--fs-h3); margin: 0; }
.card-text { color: var(--muted); margin: 0; font-size: var(--fs-sm); line-height: 1.95; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-actions .btn { position: relative; z-index: 2; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.icon-box {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border-radius: 16px; color: var(--orange);
  background: var(--orange-12); border: 1px solid var(--orange-20);
  transition: transform .6s var(--ease-spring), background-color .4s;
}
.icon-box .icon { width: 28px; height: 28px; }
.icon-box .icon path, .icon-box .icon circle, .icon-box .icon rect, .icon-box .icon ellipse { stroke-dasharray: 120; stroke-dashoffset: 0; }
.card:hover .icon-box { transform: rotate(-6deg) scale(1.08); background: var(--orange-20); }
.card:hover .icon-box .icon :is(path, circle, rect, ellipse) { animation: draw 1.1s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }

.check-list { display: grid; gap: 8px; font-size: var(--fs-sm); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; }
.check-list .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 4px; flex: none; }

.mini-card .link-arrow { margin-top: auto; }
.feature-card { padding: clamp(26px, 3vw, 38px); }
.feature-card.is-service { background: linear-gradient(160deg, var(--surface), var(--surface-2)); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 65% at 88% 8%, color-mix(in srgb, var(--blue) 55%, transparent) 0%, transparent 62%),
    radial-gradient(45% 55% at 6% 96%, color-mix(in srgb, var(--orange) 30%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, #0B1B44 0%, #12306F 52%, #0C1C48 100%);
  color: #FFFFFF; --heading: var(--warm); --muted: var(--grey-l);
  padding-block: clamp(56px, 8vw, 110px) 40px;
}
:root[data-theme="dark"] .hero { background:
    radial-gradient(55% 65% at 88% 8%, color-mix(in srgb, var(--blue) 38%, transparent) 0%, transparent 62%),
    radial-gradient(45% 55% at 6% 96%, color-mix(in srgb, var(--orange) 22%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, #0F2558 52%, var(--navy-950) 100%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, var(--orange-35), transparent 65%); top: -160px; left: -120px; }
.orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, color-mix(in srgb, var(--sky) 55%, transparent), transparent 65%); bottom: -180px; right: 10%; animation-duration: 22s; }
.orb-3 { width: 260px; height: 260px; background: radial-gradient(circle, var(--orange-20), transparent 65%); top: 40%; left: 38%; animation-duration: 15s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 50px) scale(.96); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(color-mix(in srgb, var(--warm) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--warm) 6%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  animation: grid-pan 30s linear infinite;
}
@keyframes grid-pan { to { background-position: 56px 56px; } }

.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: var(--fs-hero); font-weight: 800; line-height: 1.35; margin-bottom: 22px; }
.hero-title .accent, .page-title .accent {
  background: linear-gradient(100deg, var(--orange) 10%, color-mix(in srgb, var(--orange) 55%, var(--warm)) 50%, var(--orange) 90%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-lead { font-size: var(--fs-lg); color: color-mix(in srgb, #FFFFFF 82%, var(--sky)); max-width: 580px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-phone { margin: 22px 0 0; font-size: var(--fs-sm); color: var(--grey-l); }
.hero-phone a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--warm); }
.hero-phone a:hover { color: var(--orange); }
.hero-phone .icon { width: 18px; height: 18px; color: var(--orange); }

/* Dashboard mock */
.hero-visual { position: relative; perspective: 1400px; }
.dash {
  position: relative; margin: 0; border-radius: 22px; overflow: visible;
  background: color-mix(in srgb, var(--navy-800) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--warm) 14%, transparent);
  box-shadow: 0 40px 80px -30px var(--navy-950), inset 0 1px 0 color-mix(in srgb, var(--warm) 10%, transparent);
  backdrop-filter: blur(10px);
  transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg));
  transform-style: preserve-3d; transition: transform .6s var(--ease);
  font-size: 12px; line-height: 1.6; direction: rtl;
}
.dash-chrome { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid color-mix(in srgb, var(--warm) 10%, transparent); }
.dash-chrome span { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--warm) 25%, transparent); }
.dash-chrome span:first-child { background: var(--orange); }
.dash-chrome b { margin-inline-start: 10px; font-weight: 700; color: var(--warm); }
.dash-chrome em { margin-inline-start: auto; font-style: normal; color: var(--grey-l); opacity: .7; }
.dash-body { display: grid; grid-template-columns: 52px 1fr; }
.dash-side { display: grid; align-content: start; gap: 8px; padding: 14px 10px; border-inline-end: 1px solid color-mix(in srgb, var(--warm) 8%, transparent); }
.dash-side span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--grey-l); opacity: .6; }
.dash-side span.is-on { background: var(--orange-20); color: var(--orange); opacity: 1; }
.dash-side .icon { width: 17px; height: 17px; }
.dash-main { padding: 14px; display: grid; gap: 12px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { position: relative; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--warm) 5%, transparent); border: 1px solid color-mix(in srgb, var(--warm) 8%, transparent); overflow: hidden; }
.kpi small { display: block; color: var(--grey-l); opacity: .8; }
.kpi strong { font-size: 1.35rem; font-weight: 800; color: var(--warm); }
.kpi span { margin-inline-start: 4px; color: var(--grey-l); opacity: .7; }
.spark { width: 100%; height: 22px; margin-top: 4px; }
.spark path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: dash-in 1.6s var(--ease) forwards; animation-delay: calc(.8s + var(--i) * .2s); }
.dash-chart { padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--warm) 4%, transparent); border: 1px solid color-mix(in srgb, var(--warm) 8%, transparent); }
.dash-chart small, .dash-list small { color: var(--grey-l); opacity: .8; }
.dash-chart svg { width: 100%; height: 120px; margin-top: 6px; overflow: visible; }
.bars rect { fill: color-mix(in srgb, var(--sky) 38%, transparent); transform-origin: bottom; transform-box: fill-box; transform: scaleY(0); animation: bar-up .9s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * 70ms); }
.bars rect:nth-child(8), .bars rect:nth-child(10) { fill: var(--orange-35); }
.line { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: dash-in 2s var(--ease) 1.2s forwards; filter: drop-shadow(0 4px 8px var(--orange-35)); }
.line-dot { fill: var(--orange); opacity: 0; animation: pop .5s var(--ease-spring) 3s forwards, ping 2.4s ease-out 3.5s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes bar-up { to { transform: scaleY(1); } }
@keyframes dash-in { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ping { 0% { filter: drop-shadow(0 0 0 var(--orange)); } 70% { filter: drop-shadow(0 0 10px transparent); } }
.dash-list { display: grid; gap: 6px; }
.dash-list p { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--warm) 4%, transparent); color: var(--warm); opacity: 0; transform: translateX(-12px); animation: slide-in .6s var(--ease) forwards; animation-delay: calc(1.6s + var(--i) * .25s); }
.dash-list .icon { width: 16px; height: 16px; color: var(--orange); }
@keyframes slide-in { to { opacity: 1; transform: none; } }
.dash-float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: var(--warm); color: var(--navy); font-weight: 700; font-size: 12px; white-space: nowrap;
  box-shadow: 0 20px 40px -16px var(--navy-950); transform: translateZ(60px);
  animation: bob 6s ease-in-out infinite;
}
.dash-float .icon { width: 18px; height: 18px; color: var(--orange); }
.dash-toast { top: 22%; left: -28px; animation-delay: -2s; }
.dash-badge { bottom: -22px; right: 18%; background: var(--orange); color: var(--navy); }
.dash-badge .icon { color: var(--navy); }
@keyframes bob { 50% { translate: 0 -10px; } }
.hero-note { margin-top: 30px; font-size: var(--fs-xs); color: var(--grey-l); opacity: .85; text-align: center; }

.stats-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(44px, 6vw, 72px) 0 0;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(120deg, color-mix(in srgb, #FFFFFF 9%, transparent), color-mix(in srgb, var(--sky) 8%, transparent)); border: 1px solid color-mix(in srgb, #FFFFFF 16%, transparent);
  backdrop-filter: blur(14px);
}
.stat { position: relative; padding: 24px 28px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stat + .stat { border-inline-start: 1px solid color-mix(in srgb, var(--warm) 12%, transparent); }
.stat dt { color: var(--grey-l); font-size: var(--fs-sm); }
.stat dd { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; color: var(--warm); line-height: 1.2; }
.counter { font-variant-numeric: tabular-nums; display: inline-block; min-width: 3ch; }
.stat dd .counter::first-letter { color: inherit; }
.stats-note { margin: 12px 0 0; font-size: var(--fs-xs); color: var(--grey-l); opacity: .85; }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--warm) 35%, transparent); }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--orange); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat + .stat { border-inline-start: 0; border-top: 1px solid color-mix(in srgb, var(--warm) 12%, transparent); }
  .stat { flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 16px 20px; }
  .dash-toast { left: 6px; top: -18px; }
  .dash-badge { right: 8px; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-kpis .kpi:nth-child(3) { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.page-hero .orb-1 { opacity: .35; width: 420px; height: 420px; top: -220px; left: -120px; }
.page-hero .orb-2 { opacity: .25; }
.page-hero .hero-grid { background-image: linear-gradient(color-mix(in srgb, var(--navy) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--navy) 6%, transparent) 1px, transparent 1px); }
:root[data-theme="dark"] .page-hero .hero-grid { background-image: linear-gradient(color-mix(in srgb, var(--warm) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--warm) 5%, transparent) 1px, transparent 1px); }
.page-hero-inner { max-width: 900px; }
.page-title { font-size: var(--fs-h1); font-weight: 800; line-height: 1.4; }
.page-lead { font-size: var(--fs-lg); color: var(--muted); line-height: 2; max-width: 760px; }
.page-hero .hero-actions { margin-top: 26px; }

/* ---------- About (home) ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lead-p { font-size: var(--fs-lg); color: var(--muted); line-height: 2.05; }
.years-badge { position: relative; display: grid; place-items: center; width: 150px; height: 150px; margin-top: 30px; text-align: center; }
.years-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease) .4s; }
.years-badge.is-in .ring-fg { stroke-dashoffset: 22; }
.years-badge strong { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--heading); margin-top: 16px; }
.years-badge span { font-size: 11px; color: var(--muted); padding-inline: 22px; line-height: 1.5; margin-top: -22px; }
@media (max-width: 1023px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-line { position: absolute; top: 34px; inset-inline: 12.5%; height: 2px; background: color-mix(in srgb, var(--warm) 14%, transparent); }
.process-line span { position: absolute; inset: 0; background: linear-gradient(to left, var(--orange), color-mix(in srgb, var(--orange) 40%, transparent)); transform-origin: right; transform: scaleX(var(--line, 0)); transition: transform 1.8s var(--ease); }
.process-step { position: relative; text-align: center; padding: 0 8px; }
.process-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px;
  border-radius: 50%; font-size: 1.375rem; font-weight: 800; color: var(--orange);
  background: var(--navy-800); border: 2px solid color-mix(in srgb, var(--orange) 50%, transparent);
  box-shadow: 0 0 0 8px var(--navy), 0 0 30px -6px var(--orange-35);
  transition: transform .6s var(--ease-spring), background-color .4s, color .4s;
}
:root[data-theme="dark"] .process-num { box-shadow: 0 0 0 8px var(--navy-950), 0 0 30px -6px var(--orange-35); }
.process-step:hover .process-num { transform: scale(1.1) rotate(-6deg); background: var(--orange); color: var(--navy); }
.process-step h3 { font-size: var(--fs-h3); }
.process-step p { color: var(--grey-l); font-size: var(--fs-sm); }
@media (max-width: 1023px) {
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-line { display: none; }
}
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; }
  .process-step { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; text-align: start; }
  .process-num { grid-row: span 2; margin: 0; }
}

/* ---------- Clients marquee ---------- */
.marquee {
  --gap: 18px; position: relative; overflow: hidden; padding-block: 8px;
  -webkit-mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: var(--gap); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: var(--gap); }
@keyframes marquee { to { transform: translateX(calc(50% + var(--gap) / 2)); } }
.client > a, .client > .client-logo:first-child { }
.client { flex: none; }
.client > a, .client:not(:has(a)) {
  display: flex; align-items: center; gap: 14px; min-width: 280px; padding: 14px 18px 14px 22px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.client > a:hover, .client:not(:has(a)):hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--card-shadow); }
.client-logo {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none;
  font-size: 1.5rem; font-weight: 800; color: var(--orange);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, var(--bg-alt) 6px 12px);
  border: 1px dashed var(--border-strong);
}
.client-text { display: flex; flex-direction: column; line-height: 1.6; }
.client-text strong { font-size: var(--fs-sm); white-space: nowrap; }
.client-text small { color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; }
.clients-closing { text-align: center; font-weight: 700; font-size: var(--fs-lg); margin: 36px 0 0; }
.clients-closing::before { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--orange); margin: 0 auto 14px; }
.clients-section .notice { max-width: 760px; margin-inline: auto; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card { margin: 0; }
.quote-icon { color: var(--orange); }
.quote-icon .icon { width: 40px; height: 40px; }
.quote-card blockquote { margin: 0; font-size: var(--fs-base); line-height: 2.05; flex: 1; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); border: 1px dashed var(--border-strong); color: var(--muted); }
.avatar .icon { width: 22px; height: 22px; }
.who { display: flex; flex-direction: column; line-height: 1.6; flex: 1; }
.who small { color: var(--muted); font-size: var(--fs-xs); }
@media (max-width: 1023px) { .testimonials { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- CTA band ---------- */
.cta-section { padding-top: 0; }
.section-alt + .cta-section, .section-dark + .cta-section { padding-top: var(--section); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-850) 100%); color: var(--warm); --heading: var(--warm);
  box-shadow: 0 40px 80px -40px var(--navy-950);
}
:root[data-theme="dark"] .cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%); border: 1px solid var(--border); }
.cta-glow { position: absolute; z-index: -1; width: 520px; height: 520px; left: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, var(--orange-35), transparent 65%); filter: blur(30px); animation: float 14s ease-in-out infinite alternate; }
.cta-grid { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(color-mix(in srgb, var(--warm) 14%, transparent) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to left, transparent, #000); mask-image: linear-gradient(to left, transparent, #000); }
.cta-title { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem); font-weight: 800; }
.cta-copy p { color: color-mix(in srgb, var(--warm) 85%, var(--navy)); font-size: var(--fs-lg); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-line { width: 100%; text-align: end; margin: 8px 0 0; font-size: var(--fs-sm); color: var(--grey-l); }
.cta-line a { color: var(--warm); font-weight: 700; }
@media (max-width: 1023px) { .cta-band { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } .cta-line { text-align: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: color-mix(in srgb, var(--warm) 84%, var(--navy)); --heading: var(--warm); --muted: var(--grey-l); padding-top: 0; margin-top: 0; }
:root[data-theme="dark"] .site-footer { background: var(--navy-950); }
.newsletter-band {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center;
  padding: clamp(28px, 4vw, 44px); border-radius: 28px; margin-top: -72px;
  background: var(--orange); color: var(--navy); --heading: var(--navy);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--orange) 70%, transparent);
  margin-bottom: 40px; position: relative; overflow: hidden;
}
.newsletter-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--navy) 12%, transparent) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(to right, transparent, #000 70%); mask-image: linear-gradient(to right, transparent, #000 70%); pointer-events: none; }
.site-footer { margin-top: 120px; display: flow-root; }
.nl-title { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); font-weight: 800; margin-bottom: 4px; }
.nl-copy p { margin: 0; }
.nl-form { position: relative; z-index: 1; }
.nl-field { display: flex; align-items: center; gap: 8px; padding: 6px; padding-inline-start: 16px; border-radius: 999px; background: var(--warm); box-shadow: 0 10px 30px -14px var(--navy); }
.nl-field .icon { width: 20px; height: 20px; color: var(--navy); opacity: .6; }
.nl-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; outline: none; color: var(--navy); text-align: right; }
.nl-field input::placeholder { color: var(--grey-d); }
.nl-field .btn { --btn-bg: var(--navy); --btn-fg: var(--warm); box-shadow: none; }
.nl-field:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
.newsletter-band .form-msg { margin: 10px 8px 0; font-weight: 700; font-size: var(--fs-sm); min-height: 1.5em; }
.hp { position: absolute !important; inset-inline-start: 0 !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
@media (max-width: 1023px) { .newsletter-band { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nl-field { flex-wrap: wrap; border-radius: 22px; } .nl-field .btn { width: 100%; } }

.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr 1.1fr; gap: clamp(24px, 4vw, 48px); padding-block: 20px 48px; }
.footer-about p { font-size: var(--fs-sm); line-height: 2; margin-top: 16px; }
.footer-about .footer-slogan { font-weight: 700; color: var(--orange, #FF7701); line-height: 1.6; }
.brand-footer .brand-name { color: var(--warm); }
.brand-footer .brand-tagline { color: var(--grey-l); }
.brand-footer .logo-bg { fill: var(--navy-800); }
.footer-title { font-size: 1.0625rem; font-weight: 800; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--orange); }
.footer-sub { font-size: var(--fs-sm); color: var(--grey-l); font-weight: 600; margin-bottom: 8px; }
.footer-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.footer-links { display: grid; gap: 8px; font-size: var(--fs-sm); }
.footer-links a { display: inline-flex; transition: color .25s, transform .3s var(--ease); }
.footer-links a:hover { color: var(--orange); transform: translateX(-4px); }
.footer-contact { display: grid; gap: 14px; font-size: var(--fs-sm); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; }
.footer-contact .icon { width: 19px; height: 19px; color: var(--orange); margin-top: 4px; }
.footer-contact a:hover { color: var(--orange); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--orange); background: color-mix(in srgb, var(--warm) 6%, transparent); border: 1px solid color-mix(in srgb, var(--warm) 12%, transparent); transition: transform .4s var(--ease-spring), background-color .3s, color .3s; }
.social a:hover { transform: translateY(-4px) rotate(-6deg); background: var(--orange); color: var(--navy); }
.social .icon { width: 20px; height: 20px; }
.footer-note { font-size: var(--fs-xs) !important; color: var(--grey-l); opacity: .8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid color-mix(in srgb, var(--warm) 12%, transparent); font-size: var(--fs-xs); color: var(--grey-l); }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--orange); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* Back to top & mobile quick bar */
.back-to-top {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 90;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--orange); color: var(--navy); box-shadow: 0 14px 30px -10px var(--orange);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease-spring);
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top .icon { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.back-to-top:hover .icon { transform: translateY(-3px); }
.btt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.btt-ring circle { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--progress, 0))); opacity: .5; }
.quick-bar { display: none; }
@media (max-width: 767px) {
  .quick-bar {
    position: fixed; inset-inline: 12px; bottom: 12px; z-index: 89; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    padding: 8px; border-radius: 20px; background: color-mix(in srgb, var(--navy) 92%, transparent); backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -16px var(--navy-950);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .quick-bar.is-visible { transform: none; }
  .quick-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 14px; color: var(--warm); font-weight: 700; font-size: var(--fs-sm); border: 1px solid color-mix(in srgb, var(--warm) 18%, transparent); }
  .quick-bar a.is-primary { background: var(--orange); color: var(--navy); border-color: transparent; }
  .quick-bar .icon { width: 19px; height: 19px; }
  .back-to-top { bottom: 92px; width: 48px; height: 48px; }
  .site-footer { padding-bottom: 76px; }
}

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 32px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-sm); font-weight: 600;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.pill:hover { border-color: var(--orange); transform: translateY(-2px); }
.pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--warm); }
:root[data-theme="dark"] .pill[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.pill .count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 6px; border-radius: 999px; font-size: 12px; background: var(--orange-12); color: inherit; }
.pill[aria-pressed="true"] .count { background: var(--orange); color: var(--navy); }
:root[data-theme="dark"] .pill[aria-pressed="true"] .count { background: var(--navy); color: var(--warm); }
.search-field { position: relative; flex: 1 1 280px; max-width: 380px; }
.search-field .icon { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--orange); pointer-events: none; }
.search-field input { width: 100%; min-height: 48px; padding: 10px 48px 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.search-field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-20); }
.results-line { color: var(--muted); font-size: var(--fs-sm); margin: -16px 0 22px; min-height: 1.5em; }
.empty-state { display: none; text-align: center; padding: 48px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state.is-visible { display: block; animation: fade-up .6s var(--ease); }
.empty-state .icon { width: 48px; height: 48px; color: var(--orange); margin: 0 auto 12px; }
.is-hidden { display: none !important; }
.is-filtering-in { animation: card-in .55s var(--ease) both; animation-delay: calc(var(--k, 0) * 45ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Product / service detail ---------- */
.detail-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.detail-hero .page-hero-inner { max-width: none; }
.detail-hero .tag { margin-bottom: 14px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.duration-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--navy); color: var(--warm); font-size: var(--fs-xs); font-weight: 600; }
.duration-badge .icon { width: 17px; height: 17px; color: var(--orange); }
:root[data-theme="dark"] .duration-badge { background: var(--navy-600); }
.shot {
  position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-850) 100%); color: var(--warm);
  border: 1px solid var(--border); box-shadow: var(--card-shadow-hover);
  transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)); transition: transform .6s var(--ease);
}
.shot-ui { position: absolute; inset: 18px; border-radius: 16px; background: color-mix(in srgb, var(--warm) 5%, transparent); border: 1px solid color-mix(in srgb, var(--warm) 10%, transparent); display: grid; grid-template-rows: 34px 1fr; overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding-inline: 14px; border-bottom: 1px solid color-mix(in srgb, var(--warm) 8%, transparent); }
.shot-bar span { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--warm) 25%, transparent); }
.shot-bar span:first-child { background: var(--orange); }
.shot-content { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; padding: 14px; }
.shot-col { display: grid; gap: 10px; align-content: start; }
.shot-line { height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--warm) 10%, transparent); }
.shot-line.w60 { width: 60%; } .shot-line.w80 { width: 80%; } .shot-line.w40 { width: 40%; }
.shot-line.is-accent { background: var(--orange-35); }
.shot-block { height: 70px; border-radius: 12px; background: color-mix(in srgb, var(--warm) 6%, transparent); position: relative; overflow: hidden; }
.shot-block::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--warm) 10%, transparent) 50%, transparent 80%); transform: translateX(100%); animation: skeleton 2.6s ease-in-out infinite; }
@keyframes skeleton { to { transform: translateX(-100%); } }
.shot-icon { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; background: var(--orange); color: var(--navy); box-shadow: 0 20px 50px -14px var(--orange); animation: bob 6s ease-in-out infinite; }
.shot-icon .icon { width: 48px; height: 48px; }
.shot figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 10px 18px; font-size: var(--fs-xs); color: var(--grey-l); background: linear-gradient(to top, var(--navy-950), transparent); text-align: center; }
@media (max-width: 1023px) { .detail-hero { grid-template-columns: 1fr; } .shot { max-width: 560px; } }
/* Symbolic product/service illustration (partials/visual.njk) */
.dash-detail { max-width: 560px; margin-inline: auto; width: 100%; background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--blue) 35%, transparent), transparent 60%), linear-gradient(160deg, #13306F 0%, #0B1B44 100%); box-shadow: 0 40px 80px -34px color-mix(in srgb, #0B1B44 80%, transparent); }
.dash-detail .dash-main { min-height: 250px; align-content: start; }
.dash-detail .dash-chrome b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vis-badge { top: -26px; bottom: auto; inset-inline-end: 22px; right: auto; padding: 0; width: 68px; height: 68px; justify-content: center; border-radius: 20px; box-shadow: 0 22px 44px -14px var(--orange); }
.vis-badge .icon { width: 32px; height: 32px; }
.vis-donut { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.vis-donut svg { width: 120px; height: 120px; margin: 0; transform: rotate(-90deg); }
.ring-bg, .ring { fill: none; stroke-width: 14; }
.ring-bg { stroke: color-mix(in srgb, var(--warm) 8%, transparent); }
.ring { stroke-linecap: round; stroke-dasharray: 0 100; animation: ring-in 1.6s var(--ease) .8s forwards; }
.ring-a { stroke: var(--orange); --to: 58; }
.ring-b { stroke: var(--sky); stroke-dashoffset: -62; --to: 30; animation-delay: 1.2s; }
@keyframes ring-in { to { stroke-dasharray: var(--to) 100; } }
.vis-legend { display: grid; gap: 12px; }
.vis-legend span { display: block; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--warm) 8%, transparent); overflow: hidden; }
.vis-legend i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--orange), color-mix(in srgb, var(--orange) 50%, var(--warm))); transform-origin: right; transform: scaleX(0); animation: grow-x 1s var(--ease) forwards; animation-delay: calc(1s + var(--i) * .15s); }
[dir="ltr"] .vis-legend i { transform-origin: left; }
@keyframes grow-x { to { transform: scaleX(1); } }
.vis-table { display: grid; gap: 9px; }
.vis-row { display: grid; grid-template-columns: 12px 1fr 46px; gap: 10px; align-items: center; opacity: 0; animation: slide-in .6s var(--ease) forwards; animation-delay: calc(.7s + var(--i) * .15s); transform: translateX(-12px); }
.vis-row .dot { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--warm) 22%, transparent); }
.vis-row .ln { height: 9px; width: var(--w); border-radius: 6px; background: color-mix(in srgb, var(--warm) 14%, transparent); }
.vis-row .tag { height: 16px; border-radius: 999px; background: color-mix(in srgb, var(--sky) 30%, transparent); }
.vis-row .tag.is-hot { background: var(--orange-35); }
.vis-table svg { height: 70px; }
.area { fill: url(#none); fill: color-mix(in srgb, var(--orange) 14%, transparent); opacity: 0; animation: fade-in 1s ease 1.6s forwards; }
@keyframes fade-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ring { stroke-dasharray: var(--to) 100; } .vis-legend i { transform: none; } .vis-row, .area { opacity: 1; transform: none; } }


.prose { font-size: var(--fs-lg); line-height: 2.1; }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--heading); background: linear-gradient(transparent 62%, var(--orange-20) 62%); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; } .split-sticky { position: static; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.feature-item:hover { border-color: var(--orange-35); transform: translateY(-4px); box-shadow: var(--card-shadow); }
.feature-item .num { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--orange-12); color: var(--orange); font-weight: 800; font-size: var(--fs-sm); }
.feature-item h3 { font-size: 1rem; margin: 0 0 4px; line-height: 1.7; }
.feature-item p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.9; }
@media (max-width: 1023px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.audience-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.audience-list li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-weight: 600; line-height: 1.8; }
.audience-list .icon { width: 22px; height: 22px; color: var(--orange); }
@media (max-width: 640px) { .audience-list { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-sm); font-weight: 500; transition: border-color .3s, transform .35s var(--ease-spring), background-color .3s; }
.chip:hover { border-color: var(--orange); transform: translateY(-3px); background: var(--orange-12); }
a.chip:hover { color: var(--heading); }

.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.gallery .ph-tile:first-child { grid-row: span 2; }
.ph-tile {
  position: relative; display: grid; place-items: center; gap: 8px; min-height: 160px; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--bg-alt) 12px 24px);
  border: 1.5px dashed var(--border-strong); color: var(--muted); font-size: var(--fs-sm); text-align: center; padding: 16px;
}
.ph-tile .icon { width: 36px; height: 36px; color: var(--orange); margin-inline: auto; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } .gallery .ph-tile:first-child { grid-row: auto; } }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: 28px; }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.faq-item[open] { border-color: var(--orange-35); box-shadow: var(--card-shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--orange-12); transition: background-color .3s, transform .5s var(--ease); }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--orange); transition: transform .4s var(--ease); }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign { background: var(--orange); transform: rotate(180deg); }
.faq-item[open] .faq-sign::before, .faq-item[open] .faq-sign::after { background: var(--navy); }
.faq-item[open] .faq-sign::after { transform: rotate(0); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); line-height: 2; }
.faq-answer p { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}

/* Steps (service) */
.steps { display: grid; gap: 0; counter-reset: s; position: relative; }
.steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding-block: 12px; }
.steps li::before {
  counter-increment: s; content: counter(s, persian);
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: var(--surface); border: 2px solid var(--orange-35); color: var(--orange); font-weight: 800; font-size: 1.125rem;
  transition: background-color .4s, color .4s, transform .5s var(--ease-spring);
}
[data-lang="ar"] .steps li::before { content: counter(s, arabic-indic); }
.steps li:hover::before { background: var(--orange); color: var(--navy); transform: rotate(-8deg) scale(1.05); }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 27px; top: 68px; bottom: -12px; width: 2px; background: linear-gradient(var(--orange-35), var(--border)); }
.steps span { font-weight: 600; font-size: var(--fs-base); padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.duration-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius-lg); background: var(--navy); color: var(--warm); margin-top: 24px; }
:root[data-theme="dark"] .duration-card { background: var(--navy-600); }
.duration-card .icon { width: 32px; height: 32px; color: var(--orange); }
.duration-card strong { display: block; font-size: var(--fs-lg); }
.duration-card small { color: var(--grey-l); }

/* Support plans */
.plans-wrap { position: relative; }
.plans-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); }
.plans-table th, .plans-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.plans-table th:first-child, .plans-table td:first-child { text-align: start; font-weight: 600; }
.plans-table thead th { position: sticky; top: calc(var(--header-h) - 2px); z-index: 2; background: var(--bg-alt); padding-block: 22px; vertical-align: bottom; }
.plans-table thead .plan-name { display: block; font-size: 1.25rem; font-weight: 800; color: var(--heading); }
.plans-table .is-rec { background: color-mix(in srgb, var(--orange) 7%, transparent); }
.plans-table thead .is-rec { background: color-mix(in srgb, var(--orange) 14%, var(--bg-alt)); border-radius: 22px 22px 0 0; box-shadow: inset 0 3px 0 var(--orange); }
.plans-table tfoot td { border-bottom: 0; padding-top: 22px; }
.plans-table tfoot .is-rec { border-radius: 0 0 22px 22px; }
.plans-table tbody tr { transition: background-color .25s; }
.plans-table tbody tr:hover { background: var(--orange-12); }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.yes { background: var(--orange); color: var(--navy); }
.yes .icon { width: 18px; height: 18px; stroke-width: 2.5; }
.no { color: var(--muted); }
.no .icon { width: 18px; height: 18px; }
.yes-note { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 4px; }
.rec-badge { display: inline-block; margin-bottom: 6px; padding: 2px 12px; border-radius: 999px; background: var(--orange); color: var(--navy); font-size: 11px; font-weight: 700; }
.plans-cards { display: none; }
@media (max-width: 860px) {
  .plans-table { display: none; }
  .plans-cards { display: block; }
  .plan-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 18px; }
  .plan-tabs button { min-height: 44px; border-radius: 999px; font-weight: 700; font-size: var(--fs-sm); transition: background-color .3s, color .3s; }
  .plan-tabs button[aria-selected="true"] { background: var(--navy); color: var(--warm); }
  :root[data-theme="dark"] .plan-tabs button[aria-selected="true"] { background: var(--orange); color: var(--navy); }
  .plan-panel { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); animation: fade-up .5s var(--ease); }
  .plan-panel.is-rec { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-20); }
  .plan-panel dl { margin: 0 0 18px; display: grid; }
  .plan-panel .row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
  .plan-panel dt { font-weight: 600; }
  .plan-panel dd { margin: 0; text-align: end; flex: none; max-width: 50%; }
}
.plans-foot { margin-top: 18px; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Articles ---------- */
.featured-article { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.featured-article .article-thumb { min-height: 360px; aspect-ratio: auto; border-radius: 0; }
.featured-article .article-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-article .card-title { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 800; }
.featured-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; background: var(--orange); color: var(--navy); font-weight: 700; font-size: var(--fs-xs); width: fit-content; }
.featured-label .icon { width: 15px; height: 15px; }
@media (max-width: 860px) { .featured-article { grid-template-columns: 1fr; } .featured-article .article-thumb { min-height: 220px; } }

.article-card { padding: 0; overflow: hidden; gap: 0; }
.article-card .article-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.article-thumb {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-850) 100%); color: var(--orange);
}
.art-grid { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--warm) 16%, transparent) 1px, transparent 1px); background-size: 16px 16px; opacity: .7; transition: transform 1.2s var(--ease); }
.art-orb { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--orange-35), transparent 65%); top: -30%; left: -15%; transition: transform 1.2s var(--ease); }
.art-tax-law .art-orb, .art-industry .art-orb { left: auto; right: -20%; top: 10%; }
.art-tech-cloud .art-orb, .art-hr-payroll .art-orb { top: auto; bottom: -40%; left: 20%; }
.art-icon { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: color-mix(in srgb, var(--warm) 8%, transparent); border: 1px solid color-mix(in srgb, var(--warm) 16%, transparent); backdrop-filter: blur(6px); transition: transform .8s var(--ease-spring); }
.art-icon .icon { width: 42px; height: 42px; }
.article-card:hover .art-grid { transform: scale(1.15) rotate(-3deg); }
.article-card:hover .art-orb { transform: translate(20px, 20px) scale(1.2); }
.article-card:hover .art-icon { transform: rotate(-8deg) scale(1.08); }
.meta-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: auto 0 0; padding-top: 6px; font-size: var(--fs-xs); color: var(--muted); }
.meta-line .icon { width: 15px; height: 15px; color: var(--orange); }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (min-width: 1240px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } .blog-layout { grid-template-columns: 1fr 300px; } }
@media (max-width: 1023px) { .blog-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .articles-grid { grid-template-columns: 1fr; } }
.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1023px) { .sidebar { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sidebar { grid-template-columns: 1fr; } }
.widget { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.widget-title { font-size: 1rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.widget-title::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: var(--orange); }
.cat-list { display: grid; gap: 2px; }
.cat-list button, .cat-list a { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 10px; font-size: var(--fs-sm); text-align: start; transition: background-color .25s, transform .3s var(--ease); }
.cat-list button:hover, .cat-list a:hover, .cat-list button[aria-pressed="true"] { background: var(--orange-12); transform: translateX(-3px); }
.cat-list .count { font-size: 12px; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud .chip { padding: 4px 12px; font-size: var(--fs-xs); }
.popular { display: grid; gap: 12px; counter-reset: pop; }
.popular a { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; font-size: var(--fs-sm); font-weight: 600; line-height: 1.8; }
.popular a::before { counter-increment: pop; content: counter(pop, persian); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); color: var(--orange); font-weight: 800; }
[data-lang="ar"] .popular a::before { content: counter(pop, arabic-indic); }
.popular a:hover { color: var(--orange); }
.widget-promo { background: linear-gradient(150deg, var(--navy), var(--navy-850)); color: var(--warm); --heading: var(--warm); border: 0; position: relative; overflow: hidden; }
.widget-promo::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, var(--orange-35), transparent 65%); left: -60px; bottom: -80px; }
.widget-promo p { color: var(--grey-l); font-size: var(--fs-sm); }
.widget-promo .btn { position: relative; z-index: 1; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination button { min-width: 44px; height: 44px; padding-inline: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.pagination button:hover:not([disabled]) { border-color: var(--orange); transform: translateY(-2px); }
.pagination button[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.pagination button[disabled] { opacity: .4; cursor: default; }

.newsletter-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.newsletter-box::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, var(--orange-20), transparent 65%); right: -120px; top: -160px; }
.newsletter-box form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; position: relative; }
.newsletter-box .form-msg { grid-column: 1 / -1; margin: 0; font-weight: 700; min-height: 1.5em; }
@media (max-width: 860px) { .newsletter-box { grid-template-columns: 1fr; } .newsletter-box form { grid-template-columns: 1fr; } }

/* Single article */
.article-header { max-width: 860px; }
.article-header .badge-row { margin-bottom: 18px; }
.byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; font-size: var(--fs-sm); color: var(--muted); }
.byline .avatar { width: 48px; height: 48px; }
.byline strong { color: var(--heading); display: block; }
.byline .sep { width: 1px; height: 28px; background: var(--border); }
.byline .icon { width: 16px; height: 16px; color: var(--orange); display: inline-block; vertical-align: -3px; margin-inline-end: 4px; }
.article-cover { margin: 0 0 40px; border-radius: 32px; aspect-ratio: 21 / 8; }
@media (max-width: 640px) { .article-cover { aspect-ratio: 16 / 10; border-radius: 24px; } }
.article-cover .art-icon { width: 120px; height: 120px; border-radius: 36px; }
.article-cover .art-icon .icon { width: 60px; height: 60px; }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; font-size: var(--fs-sm); line-height: 1.7; color: var(--muted); border-inline-start: 2px solid transparent; transition: color .25s, background-color .25s, border-color .25s; }
.toc a:hover { color: var(--heading); background: var(--surface-2); }
.toc a.is-active { color: var(--heading); font-weight: 700; border-inline-start-color: var(--orange); background: var(--orange-12); }
@media (max-width: 1023px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.article-content { font-size: var(--fs-lg); line-height: 2.15; max-width: 760px; }
.article-content h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 800; margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.article-content h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); margin-inline-end: 12px; vertical-align: middle; transform: rotate(45deg); }
.article-content ul, .article-content ol { padding-inline-start: 1.4em; margin: 0 0 1.2em; display: grid; gap: .5em; }
.article-content ul li::marker { color: var(--orange); }
.article-content ol li::marker { color: var(--orange); font-weight: 800; }
.article-content strong { color: var(--heading); }
.tip-box { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--orange-12); border-inline-start: 4px solid var(--orange); margin: 1.6em 0; font-size: var(--fs-base); }
.tip-box .icon { width: 26px; height: 26px; color: var(--orange); }
.tip-box strong { display: block; }
.promo-box { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--navy), var(--navy-850)); color: var(--warm); --heading: var(--warm); margin: 2em 0; flex-wrap: wrap; }
.promo-box .icon-box { background: var(--orange); color: var(--navy); }
.promo-box div { flex: 1 1 220px; font-size: var(--fs-base); line-height: 1.9; }
.promo-box small { color: var(--grey-l); display: block; }
.end-box { padding: 28px; border-radius: var(--radius-lg); border: 2px dashed var(--orange-35); margin: 2.4em 0; font-size: var(--fs-base); }
.end-box .hero-actions { margin-top: 16px; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share a, .share button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--border); color: var(--orange); background: var(--surface); transition: transform .4s var(--ease-spring), background-color .3s, color .3s; }
.share a:hover, .share button:hover { transform: translateY(-3px); background: var(--orange); color: var(--navy); }
.share .icon { width: 20px; height: 20px; }
.share-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-block: 24px; border-block: 1px solid var(--border); margin-top: 32px; }
.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); margin-top: 32px; }
.author-box .avatar { width: 64px; height: 64px; flex: none; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.outline { counter-reset: o; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.outline li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-size: var(--fs-base); }
.outline li::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 3px; background: var(--orange); transform: rotate(45deg); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; position: relative; align-content: start; }
.field label { font-weight: 600; font-size: var(--fs-sm); display: flex; gap: 6px; align-items: center; min-height: 24px; line-height: 1.4; }
.field label .req { color: var(--orange); font-weight: 800; }
.field label .opt { color: var(--muted); font-weight: 400; font-size: var(--fs-xs); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  transition: border-color .25s, box-shadow .25s, background-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.9; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7701' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-position: left 16px center; background-size: 18px 18px; background-repeat: no-repeat; padding-left: 44px; }
[dir="ltr"] .field select { background-position: right 16px center; padding-left: 16px; padding-right: 44px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-20); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-12); animation: shake .4s var(--ease); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: color-mix(in srgb, var(--navy) 50%, var(--grey-l)); }
:root[data-theme="dark"] .field.is-valid :is(input, select, textarea) { border-color: var(--navy-500); }
.field-error:empty { display: none; }
.field-error { display: flex; gap: 6px; align-items: center; min-height: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--heading); }
.field-error:not(:empty)::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: var(--navy); font-weight: 800; font-size: 12px; flex: none; }
.field-hint { font-size: var(--fs-xs); color: var(--muted); text-align: end; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.check-field { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); }
.check-field input { appearance: none; width: 24px; height: 24px; flex: none; border-radius: 8px; border: 1.5px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; margin-top: 2px; transition: background-color .25s, border-color .25s; cursor: pointer; }
.check-field input::after { content: ""; width: 12px; height: 7px; border: solid var(--navy); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .3s var(--ease-spring); }
.check-field input:checked { background: var(--orange); border-color: var(--orange); }
.check-field input:checked::after { transform: rotate(-45deg) scale(1); }
.check-field a { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot .lock { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: var(--fs-xs); flex: 1 1 260px; }
.form-foot .lock .icon { width: 18px; height: 18px; color: var(--orange); }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--navy) 30%, transparent); border-top-color: var(--navy); animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert { display: none; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--orange); background: var(--orange-12); font-size: var(--fs-sm); font-weight: 600; margin-bottom: 18px; }
.form-alert.is-visible { display: flex; animation: fade-up .4s var(--ease); }
.form-alert .icon { width: 20px; height: 20px; color: var(--orange); }
.form-success { display: none; text-align: center; padding: clamp(28px, 5vw, 56px) 20px; }
.form-success.is-visible { display: block; animation: fade-up .6s var(--ease); }
.success-check { width: 96px; height: 96px; margin: 0 auto 20px; }
.success-check circle { fill: var(--orange-12); stroke: var(--orange); stroke-width: 3; stroke-dasharray: 290; stroke-dashoffset: 290; animation: dash-in 1s var(--ease) forwards; }
.success-check path { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash-in .6s var(--ease) .7s forwards; }
.tracking { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; padding: 8px 16px; border-radius: 12px; background: var(--surface-2); font-weight: 800; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.contact-card { padding: 20px; gap: 10px; }
.contact-card .icon-box { width: 48px; height: 48px; }
.contact-card .icon-box .icon { width: 24px; height: 24px; }
.contact-card h2 { font-size: 1rem; margin: 0; }
.contact-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.85; }
.contact-card a { font-weight: 700; color: var(--heading); }
.contact-card a:hover { color: var(--orange); }
@media (max-width: 1100px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { padding: clamp(22px, 4vw, 44px); border-radius: 32px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.contact-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1023px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { position: static; } }
.path-card { flex-direction: row; align-items: flex-start; padding: 18px; gap: 14px; text-align: start; width: 100%; }
.path-card .icon-box { width: 46px; height: 46px; border-radius: 14px; }
.path-card .icon-box .icon { width: 22px; height: 22px; }
.pc-body { display: flex; flex-direction: column; }
.pc-title { font-size: 1rem; font-weight: 700; color: var(--heading); margin: 0 0 2px; }
.pc-text { margin: 0 0 6px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.8; }
.path-card.is-selected { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-20); }
.response-list { display: grid; gap: 10px; }
.response-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.response-list li:last-child { border-bottom: 0; }
.response-list span { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.response-list .icon { width: 18px; height: 18px; color: var(--orange); }
.map-card { position: relative; overflow: hidden; border-radius: 32px; min-height: 360px; display: grid; place-items: center; background: var(--navy); color: var(--warm); isolation: isolate; }
.map-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.map-art .road { fill: none; stroke: color-mix(in srgb, var(--warm) 14%, transparent); stroke-width: 10; stroke-linecap: round; }
.map-art .road.main { stroke: color-mix(in srgb, var(--warm) 22%, transparent); stroke-width: 16; }
.map-art .block { fill: color-mix(in srgb, var(--warm) 5%, transparent); }
.map-pin-big { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); color: var(--navy); box-shadow: 0 20px 40px -10px var(--orange); animation: pin-drop 1s var(--ease-spring) both; }
.map-pin-big .icon { transform: rotate(45deg); width: 32px; height: 32px; }
.map-pin-big::after { content: ""; position: absolute; width: 100%; height: 100%; border-radius: inherit; border: 2px solid var(--orange); animation: ripple 2.2s ease-out infinite; }
@keyframes pin-drop { from { transform: translateY(-80px) rotate(-45deg); opacity: 0; } }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
.map-info { position: absolute; inset-inline: 18px; bottom: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 20px; background: color-mix(in srgb, var(--navy-950) 70%, transparent); backdrop-filter: blur(10px); }
.map-info p { margin: 0; font-size: var(--fs-sm); color: var(--grey-l); }
.map-links { display: flex; gap: 8px; flex-wrap: wrap; }
.map-links .btn { min-height: 38px; }
.social-big { display: flex; gap: 12px; flex-wrap: wrap; }
.social-big a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; transition: transform .4s var(--ease-spring), border-color .3s; }
.social-big a:hover { transform: translateY(-3px); border-color: var(--orange); }
.social-big .icon { width: 22px; height: 22px; color: var(--orange); }

/* About */
.story-quote { position: relative; margin: 0; padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: var(--navy); color: var(--warm); font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); font-weight: 800; line-height: 1.8; overflow: hidden; }
:root[data-theme="dark"] .story-quote { background: var(--navy-600); }
.story-quote .icon { width: 56px; height: 56px; color: var(--orange); margin-bottom: 12px; }
.story-quote .big-num { position: absolute; left: -10px; bottom: -60px; font-size: 13rem; font-weight: 900; color: color-mix(in srgb, var(--warm) 6%, transparent); line-height: 1; pointer-events: none; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; counter-reset: t; }
.tier { position: relative; padding: 22px 18px; text-align: center; font-weight: 800; background: var(--surface); border: 1px solid var(--border); }
.tier:first-child { border-radius: 0 20px 20px 0; }
.tier:last-child { border-radius: 20px 0 0 20px; background: var(--navy); color: var(--warm); border-color: var(--navy); }
.tier:nth-child(2) { background: var(--orange-12); }
.tier small { display: block; color: var(--orange); font-size: var(--fs-xs); }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } .tier:first-child { border-radius: 20px 20px 0 0; } .tier:last-child { border-radius: 0 0 20px 20px; } }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { padding: 26px; border-radius: var(--radius-lg); background: color-mix(in srgb, var(--warm) 5%, transparent); border: 1px solid color-mix(in srgb, var(--warm) 12%, transparent); }
.stat-card strong { display: block; font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); font-weight: 900; line-height: 1.2; color: var(--warm); }
.stat-card strong .suffix { color: var(--orange); }
.stat-card span { display: block; font-weight: 700; margin-top: 4px; }
.stat-card small { color: var(--grey-l); font-size: var(--fs-xs); }
.stats-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.stats-extra div { padding: 16px 20px; border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--warm) 22%, transparent); }
.stats-extra strong { color: var(--orange); font-size: 1.375rem; font-weight: 800; margin-inline-end: 8px; }
.stats-extra span { color: var(--grey-l); font-size: var(--fs-sm); }
@media (max-width: 1023px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stats-extra { grid-template-columns: 1fr; } }
.timeline { position: relative; display: grid; gap: 22px; max-width: 920px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; right: 50%; width: 2px; margin-right: -1px; background: var(--border); }
.timeline-fill { position: absolute; top: 0; right: 50%; width: 2px; margin-right: -1px; height: calc(var(--tl, 0) * 100%); background: linear-gradient(var(--orange), color-mix(in srgb, var(--orange) 50%, transparent)); transition: height .2s linear; }
.tl-item { position: relative; width: 50%; padding-inline-start: 42px; }
.tl-item:nth-child(odd) { margin-inline-start: 50%; }
.tl-item:nth-child(even) { padding-inline-start: 0; padding-inline-end: 42px; text-align: end; }
.tl-item::before { content: ""; position: absolute; top: 24px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--orange); box-shadow: 0 0 0 6px var(--orange-12); z-index: 1; }
.tl-item:nth-child(even)::before { right: auto; left: -9px; }
.tl-item.is-pending::before { border-style: dashed; border-color: var(--border-strong); }
.tl-card { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.tl-year { display: inline-block; font-weight: 800; color: var(--heading); background: var(--orange-12); border-radius: 999px; padding: 2px 12px; font-size: var(--fs-sm); margin-bottom: 6px; }
.tl-card h3 { font-size: 1.0625rem; margin: 0 0 4px; }
.tl-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 760px) {
  .timeline::before, .timeline-fill { right: 9px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) { width: 100%; margin: 0; padding-inline: 40px 0; text-align: start; }
  .tl-item::before, .tl-item:nth-child(even)::before { right: 0; left: auto; }
}
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.industry { padding: 18px; gap: 8px; }
.industry .icon-box { width: 44px; height: 44px; border-radius: 14px; }
.industry .icon-box .icon { width: 22px; height: 22px; }
.industry h3 { font-size: .95rem; margin: 0; }
.industry p { margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.8; }
@media (max-width: 1100px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
.past-clients { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.founder-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.founder-band .portrait-sm { width: 110px; height: 110px; border-radius: 30px; }
@media (max-width: 760px) { .founder-band { grid-template-columns: 1fr; } }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.team-card { align-items: center; text-align: center; padding: 22px 16px; gap: 6px; }
.team-card .portrait-sm { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 8px; }
.team-card h3 { font-size: 1rem; margin: 0; }
.team-card .role { color: var(--orange); font-weight: 700; font-size: var(--fs-xs); }
.team-card p { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* Placeholder portrait */
.portrait, .portrait-sm {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--bg-alt) 10px 20px);
  border: 1.5px dashed var(--border-strong); color: var(--muted);
}
.portrait-sm .icon { width: 40%; height: 40%; color: var(--orange); }

/* Founder page */
.founder-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 40px; text-align: center; padding: 20px; font-size: var(--fs-sm); }
.portrait .icon { width: 96px; height: 96px; color: var(--orange); margin: 0 auto 10px; }
.portrait-wrap { position: relative; max-width: 420px; }
.portrait-wrap::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 40px; border: 2px solid var(--orange-35); z-index: -1; }
.exp-badge { position: absolute; left: -18px; bottom: 36px; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--orange); color: var(--navy); text-align: center; box-shadow: 0 24px 50px -16px var(--orange); animation: bob 6s ease-in-out infinite; }
.exp-badge strong { font-size: 2.25rem; font-weight: 900; line-height: 1; }
.exp-badge span { font-size: var(--fs-xs); font-weight: 700; margin-top: -26px; }
.exp-badge .pending { position: absolute; top: 6px; right: 6px; background: var(--warm); }
.founder-quote { position: relative; margin: 24px 0; padding: 20px 26px; border-inline-start: 4px solid var(--orange); background: var(--orange-12); border-radius: 0 20px 20px 0; font-size: var(--fs-lg); font-weight: 700; line-height: 1.9; }
.founder-role { font-size: var(--fs-lg); color: var(--muted); font-weight: 600; margin-top: -6px; }
@media (max-width: 860px) { .founder-hero { grid-template-columns: 1fr; } .portrait-wrap { max-width: 320px; margin-inline: auto; } }
.achievements { display: grid; gap: 14px; }
.achv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); align-items: start; transition: border-color .3s, transform .4s var(--ease); }
.achv:hover { border-color: var(--orange-35); transform: translateX(-6px); }
.achv .period { font-weight: 800; color: var(--orange); min-width: 48px; min-height: 48px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 14px; background: var(--orange-12); white-space: nowrap; }
.achv .period-icon .icon { width: 24px; height: 24px; }
.achv h3 { font-size: 1.0625rem; margin: 0 0 4px; }
.achv p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 560px) { .achv { gap: 14px; padding: 18px; } .achv .period { min-width: 42px; min-height: 42px; } }

/* 404 */
.nf { text-align: center; padding-block: clamp(48px, 8vw, 120px); }
.nf-digits { display: flex; justify-content: center; gap: 12px; font-size: clamp(6rem, 4rem + 10vw, 12rem); font-weight: 900; line-height: 1; color: var(--heading); margin-bottom: 18px; }
.nf-digits span { display: inline-block; animation: nf-bounce 2.4s var(--ease) infinite; }
.nf-digits span:nth-child(2) { color: var(--orange); animation-delay: .2s; }
.nf-digits span:nth-child(3) { animation-delay: .4s; }
@keyframes nf-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-18px) rotate(-4deg); } }
.nf form { max-width: 460px; margin: 28px auto 0; }
.nf .search-field { max-width: none; }
.nf .hero-actions { justify-content: center; }

/* Root language chooser */
.lang-chooser { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(120% 80% at 80% 0%, var(--navy), var(--navy-950)); color: var(--warm); text-align: center; padding: 24px; }
.lang-chooser .brand { justify-content: center; margin-bottom: 24px; }
.lang-chooser .brand-name { color: var(--warm); }
.lang-chooser .brand-tagline { color: var(--grey-l); }
.lang-chooser .hero-actions { justify-content: center; }

/* ---------- Reveal & split-text animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="zoom"] { transform: scale(.94) translateY(20px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--w) * 55ms + 100ms); }
.js [data-split].is-in .w { opacity: 1; transform: none; filter: none; }

/* View transitions */
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
html.theme-transition::view-transition-old(root), html.theme-transition::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-split] .w { opacity: 1; transform: none; filter: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; width: auto; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .hero-canvas { display: none; }
  .spark path, .line, .bars rect, .dash-list p, .line-dot { animation: none !important; stroke-dashoffset: 0; transform: none; opacity: 1; }
  @view-transition { navigation: none; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .back-to-top, .quick-bar, .scroll-progress, .hero-canvas { display: none !important; }
  body { background: none; }
}

/* Portfolio showcase (real website screenshot in a browser + phone frame) */
.showcase { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.showcase-media { position: relative; padding-block-end: 40px; padding-inline-end: 56px; perspective: 1400px; }
.browser-frame { margin: 0; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow-hover); transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)); transition: transform .6s var(--ease); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.browser-bar span:first-child { background: var(--orange); }
.browser-bar b { margin-inline: auto; padding: 2px 14px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 500; }
.browser-frame img, .phone-frame img { display: block; width: 100%; height: auto; }
.phone-frame { position: absolute; inset-inline-end: 0; bottom: 0; width: 26%; min-width: 96px; margin: 0; padding: 6px; border-radius: 26px; background: #0B1530; box-shadow: 0 30px 60px -24px rgba(6, 14, 34, .6); animation: bob 7s ease-in-out infinite; }
.phone-frame img { border-radius: 20px; }
.showcase-text .btn { margin-top: 8px; }
@media (max-width: 1023px) { .showcase { grid-template-columns: 1fr; } }

/* Symbolic founder portrait (no photo yet): brand mark on a navy gradient with rings */
.portrait-art { border: 0; color: #fff; background: radial-gradient(70% 55% at 80% 10%, color-mix(in srgb, var(--blue) 55%, transparent), transparent 60%), radial-gradient(60% 50% at 10% 100%, color-mix(in srgb, var(--orange) 40%, transparent), transparent 60%), linear-gradient(160deg, #13306F, #0A1631); isolation: isolate; }
.pa-ring { position: absolute; left: 50%; top: 46%; translate: -50% -50%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, #fff 14%, transparent); z-index: -1; animation: pa-spin 40s linear infinite; }
.pa-ring.r1 { width: 46%; aspect-ratio: 1; } .pa-ring.r2 { width: 70%; aspect-ratio: 1; border-style: dashed; animation-direction: reverse; } .pa-ring.r3 { width: 96%; aspect-ratio: 1; border-color: color-mix(in srgb, var(--orange) 30%, transparent); }
@keyframes pa-spin { to { rotate: 360deg; } }
.portrait-art .pa-logo .logo-mark { width: clamp(96px, 30%, 140px); height: auto; aspect-ratio: 1; padding: 14%; border-radius: 30%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 10px color-mix(in srgb, #fff 6%, transparent); }
.portrait-art .pa-caption { position: absolute; inset-inline: 0; bottom: 26px; font-weight: 700; font-size: var(--fs-sm); color: color-mix(in srgb, #fff 80%, transparent); letter-spacing: .02em; }
.portrait-sm.portrait-art .logo-mark { width: 64%; height: auto; aspect-ratio: 1; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .pa-ring { animation: none; } }

/* ---------- Beyond software: consulting pillars ---------- */
.section-people { background:
  radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--orange) 9%, transparent), transparent 70%),
  radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--sky) 12%, transparent), transparent 70%), var(--bg-alt); }
.service-card.is-people .icon-box { background: var(--grad-orange); color: #fff; }
.pillars { counter-reset: none; }
.pillar { position: relative; overflow: hidden; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.pillar { --blob: color-mix(in srgb, var(--sky) 16%, transparent);
  background: radial-gradient(circle at var(--blob-x, 100%) 0%, var(--blob) 0 70px, transparent 71px), var(--surface); }
[dir="ltr"] .pillar { --blob-x: 0%; }
.pillar:nth-child(3n+2) { --blob: color-mix(in srgb, var(--orange) 13%, transparent); }
.pillar:nth-child(3n) { --blob: color-mix(in srgb, var(--blue) 11%, transparent); }
@media (min-width: 1024px) { .pillars > :last-child:nth-child(3n+1) { grid-column: 2; } }
.pillar > * { position: relative; }
.pillar-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-weight: 800; font-size: 1.05rem;
  color: var(--blue); background: color-mix(in srgb, var(--sky) 18%, var(--surface)); }
.pillar:nth-child(3n+2) .pillar-num { color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, var(--surface)); }
.pillar .card-text { margin: 0; }

/* ---------- LTR (English) overrides: the base styles are written for RTL ---------- */
[dir="ltr"] .icon-arrow { scale: -1 1; }
[dir="ltr"] .btn:hover .icon { transform: translateX(5px); }
[dir="ltr"] .link-arrow:hover .icon, [dir="ltr"] .card:hover .link-arrow .icon { transform: translateX(6px); }
[dir="ltr"] .nav-menu a:hover, [dir="ltr"] .footer-links a:hover { transform: translateX(4px); }
[dir="ltr"] .cat-list button:hover, [dir="ltr"] .cat-list a:hover, [dir="ltr"] .cat-list button[aria-pressed="true"] { transform: translateX(3px); }
[dir="ltr"] .achv:hover { transform: translateX(6px); }
[dir="ltr"] .burger[aria-expanded="true"] span:nth-child(2) { transform: translateX(12px); }
[dir="ltr"] .scroll-progress { background: linear-gradient(to right, var(--orange), color-mix(in srgb, var(--orange) 60%, var(--warm))); transform-origin: left; }
[dir="ltr"] .nav-link::after { transform-origin: left; }
[dir="ltr"] .process-line span { background: linear-gradient(to right, var(--orange), color-mix(in srgb, var(--orange) 40%, transparent)); transform-origin: left; }
[dir="ltr"] .cta-grid { -webkit-mask-image: linear-gradient(to right, transparent, #000); mask-image: linear-gradient(to right, transparent, #000); }
[dir="ltr"] .nl-field input { text-align: left; }
[dir="ltr"] .mobile-menu-panel { transform: translateX(-100%); box-shadow: 30px 0 60px -30px var(--navy-950); }
[dir="ltr"] .mobile-menu.is-open .mobile-menu-panel { transform: none; }
[dir="ltr"] .m-nav > li { transform: translateX(-30px); }
[dir="ltr"] .mobile-menu.is-open .m-nav > li { transform: none; }
[dir="ltr"] .marquee-track { animation-name: marquee-ltr; }
@keyframes marquee-ltr { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
[dir="ltr"] .timeline::before, [dir="ltr"] .timeline-fill { right: auto; left: 50%; margin-right: 0; margin-left: -1px; }
[dir="ltr"] .tl-item::before { right: auto; left: -9px; }
[dir="ltr"] .tl-item:nth-child(even)::before { left: auto; right: -9px; }
@media (max-width: 760px) {
  [dir="ltr"] .timeline::before, [dir="ltr"] .timeline-fill { left: 9px; }
  [dir="ltr"] .tl-item::before, [dir="ltr"] .tl-item:nth-child(even)::before { left: 0; right: auto; }
}
[dir="ltr"] .story-quote .big-num { left: auto; right: -10px; }
[dir="ltr"] .exp-badge { left: auto; right: -18px; }
[dir="ltr"] .exp-badge .pending { right: auto; left: 6px; }
/* Latin text reads better a touch tighter than Persian/Arabic. */
[dir="ltr"] body { letter-spacing: -0.005em; }
[dir="ltr"] .eyebrow { letter-spacing: .04em; }
/* Vazirmatn's ss01 draws Persian digits; English keeps Latin ones. */
[dir="ltr"], [dir="ltr"] body { font-feature-settings: normal; }
[lang="en"] .nav-link, [lang="en"] .header-cta { white-space: nowrap; }
@media (max-width: 1180px) {
  [lang="en"] .header-inner { gap: 12px; }
  [lang="en"] .nav-link { font-size: .875rem; padding-inline: 7px; }
  [lang="en"] .header-actions { gap: 8px; }
}
