/* ==========================================================================
   ARK Financial Solutions - site styles
   Brand: Navy #0B192C . Gold #D4AF37 . Blue #0065AC . Light grey #B4BAC4
   Layout uses CSS logical properties so one stylesheet serves RTL and LTR.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #0B192C;
  --navy-700: #122540;
  --navy-600: #1b3556;
  --gold: #D4AF37;
  --gold-soft: #e6c868;
  --blue: #0065AC;
  --blue-700: #00538e;
  --blue-50: #eaf3fa;
  --grey: #B4BAC4;

  /* Neutrals */
  --bg: #ffffff;
  --bg-alt: #F8FAFC;
  --text: #334155;
  --heading: #0B192C;
  --muted: #64748B;
  --line: #e2e8f0;

  /* Shape and motion */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 25, 44, .06), 0 1px 3px rgba(11, 25, 44, .08);
  --shadow: 0 4px 6px -1px rgba(11, 25, 44, .07), 0 10px 24px -6px rgba(11, 25, 44, .12);
  --shadow-lg: 0 18px 50px -12px rgba(11, 25, 44, .28);
  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Typography - swapped per language below */
  --font: "Tajawal", "Segoe UI", system-ui, sans-serif;
}

html[lang="en"] { --font: "Inter", "Segoe UI", system-ui, sans-serif; }

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--heading);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-700); }

img, svg { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--heading); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Numerals stay Latin even in Arabic, so stats read the same in both languages */
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* ----------------------------------------------------------- utilities -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--grey); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  margin-block-end: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: var(--grey); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-block-end: .75rem;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-block-start: .5rem;
  margin-inline: auto;
  background: var(--gold);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--gold); }

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: inset-block-start .2s var(--ease);
}
.skip-link:focus { inset-block-start: 0; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- button -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 101, 172, .7); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }

.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px -8px rgba(212, 175, 55, .8); }
.btn--gold:hover { background: var(--gold-soft); color: var(--navy); }

.btn--ghost { border-color: var(--line); color: var(--heading); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

.btn--sm { padding: .6rem 1.15rem; font-size: .92rem; }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-block-end: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
}

.nav__logo { flex: none; }
.nav__logo img { width: 158px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-inline-start: auto;
}
.nav__link {
  position: relative;
  padding: .5rem .9rem;
  border-radius: 8px;
  color: var(--heading);
  font-weight: 600;
  font-size: 1rem;
}
.nav__link:hover { background: var(--bg-alt); color: var(--blue); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  inset-block-end: -2px;
  inset-inline: .9rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.nav__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.lang-toggle svg { width: 1.05em; height: 1.05em; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--heading);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 60%, #16406b 100%);
  color: var(--grey);
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -8%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 101, 172, .35) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero > .container { position: relative; z-index: 1; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: #fff; margin-block-end: 1rem; }
.hero__lead { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--grey); max-width: 62ch; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  margin-block-end: 1.5rem;
  background: rgba(212, 175, 55, .14);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 999px;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 700;
}
.hero__badge::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-block-start: 2rem; }
.hero__note { margin-block-start: 1.5rem; font-size: .95rem; color: var(--grey); opacity: .85; }

.hero__panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(6px);
}
.hero__panel h2 {
  font-size: 1.1rem;
  color: #fff;
  padding-block-end: 1rem;
  margin-block-end: 1.25rem;
  border-block-end: 1px solid rgba(255, 255, 255, .14);
}
.hero__panel li {
  display: flex;
  gap: .75rem;
  padding-block: .6rem;
  font-size: 1rem;
  color: #e8ecf2;
}
.hero__panel li svg { width: 1.3em; height: 1.3em; flex: none; color: var(--gold); margin-block-start: .22em; }

/* ---------------------------------------------------------------- stats -- */
.stats {
  background: var(--navy-700);
  border-block-start: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(2rem, 4vw, 2.75rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat__value {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}
.stat__label { font-size: .95rem; color: var(--grey); margin-block-start: .35rem; }

/* ---------------------------------------------------------------- cards -- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd8e3; }
.card h3 { margin-block-end: .5rem; }
.card p { color: var(--muted); font-size: 1rem; margin: 0; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-block-end: 1.1rem;
  background: var(--blue-50);
  border-radius: 13px;
  color: var(--blue);
}
.card__icon svg { width: 26px; height: 26px; }
.card--gold .card__icon { background: rgba(212, 175, 55, .16); color: #9a7d16; }

/* Audience chips */
.audience {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--heading);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.audience:hover { transform: translateY(-3px); border-color: var(--blue); }
.audience svg { width: 1.5em; height: 1.5em; flex: none; color: var(--blue); }

.note-line {
  margin-block-start: 1.75rem;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}
.note-line strong { color: var(--blue); }

/* ------------------------------------------------------------- services -- */
.service {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--gold);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 16px;
  font-size: 1.45rem;
  font-weight: 800;
}
.service h3 { margin-block-end: .85rem; }

.ticks li {
  position: relative;
  padding-inline-start: 1.9rem;
  padding-block: .32rem;
  color: var(--text);
  font-size: 1rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .72em;
  width: 11px; height: 6px;
  border-inline-start: 2.5px solid var(--blue);
  border-block-end: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
.ticks--gold li::before { border-color: var(--gold); }
.section--navy .ticks li { color: var(--grey); }

/* ---------------------------------------------------------------- steps -- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-block-start: 3.5rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 0 0 7px rgba(212, 175, 55, .16);
}
.step::after {
  content: "";
  position: absolute;
  inset-block-start: 26px;
  inset-inline-start: 62px;
  inset-inline-end: -1.5rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--grey) 0 7px, transparent 7px 14px);
  opacity: .55;
}
.steps .step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; margin-block-end: .4rem; }
.step p { color: var(--muted); font-size: 1rem; }
.section--navy .step p { color: var(--grey); }

/* -------------------------------------------------------------- systems -- */
.systems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.systems__col {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.systems__col h3 {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.15rem;
  padding-block-end: 1rem;
  margin-block-end: 1.25rem;
  border-block-end: 1px solid rgba(255, 255, 255, .13);
}
.systems__col h3 svg { width: 1.4em; height: 1.4em; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  padding: .5rem 1.1rem;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}
.chip--muted { background: transparent; color: var(--grey); }

/* ------------------------------------------------------------- CTA band -- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  color: var(--grey);
  text-align: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 680px; margin-inline: auto; font-size: 1.1rem; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
  margin-block-start: 2rem;
}

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--navy); color: var(--grey); padding-block: 3.5rem 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-block-end: 2.5rem;
}
.footer__logo img { width: 190px; margin-block-end: 1.1rem; }
.footer__grid p { font-size: .98rem; color: var(--grey); }
.site-footer h3 {
  font-size: 1rem;
  color: #fff;
  margin-block-end: 1rem;
  letter-spacing: .02em;
}
.footer__links li { padding-block: .3rem; }
.footer__links a { color: var(--grey); font-size: .98rem; }
.footer__links a:hover { color: var(--gold); }
.footer__contact li {
  display: flex;
  gap: .7rem;
  padding-block: .4rem;
  font-size: .98rem;
  align-items: flex-start;
}
.footer__contact svg { width: 1.2em; height: 1.2em; flex: none; color: var(--gold); margin-block-start: .3em; }
.footer__contact a { color: var(--grey); }
.footer__contact a:hover { color: var(--gold); }

.footer__bottom {
  border-block-start: 1px solid rgba(255, 255, 255, .11);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  color: var(--grey);
}

/* -------------------------------------------------------------- careers -- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  color: var(--grey);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 720px; margin-inline: auto; font-size: clamp(1.02rem, 1.8vw, 1.18rem); }

.job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.job:hover { box-shadow: var(--shadow); border-color: #cfd8e3; }
.job + .job { margin-block-start: 1.5rem; }

.job__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-block-end: 1.25rem;
  margin-block-end: 1.5rem;
  border-block-end: 1px solid var(--line);
}
.job__title { margin: 0 0 .65rem; font-size: clamp(1.25rem, 2.3vw, 1.5rem); }
.job__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .85rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}
.tag--gold { background: rgba(212, 175, 55, .14); border-color: rgba(212, 175, 55, .4); color: #8a6f12; }
.tag svg { width: 1em; height: 1em; }

.job__body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.job__body h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  margin-block-end: .75rem;
}
.job__intro { margin-block-end: 1.5rem; color: var(--text); }
.job__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-block-start: 1.75rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--line);
}
.job__foot .hint { font-size: .92rem; color: var(--muted); margin: 0; }

.open-app {
  margin-block-start: 2.5rem;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
  color: var(--grey);
}
.open-app h3 { color: #fff; }
.open-app p { max-width: 560px; margin-inline: auto; margin-block-end: 1.5rem; }

/* ---------------------------------------------------------------- about -- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about-story__media {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-story__media img { width: min(190px, 60%); margin-inline: auto; margin-block-end: 1.5rem; }
.about-story__media p { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.about-story__media .sub { color: var(--grey); font-weight: 400; font-size: .98rem; margin-block-start: .4rem; }

.card--value { border-block-start: 4px solid var(--gold); }
.timeline-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1.05rem;
  background: var(--blue-50);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 700;
  font-size: .92rem;
  margin-block-end: 1rem;
}

/* ------------------------------------------------------------ animation -- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps .step:nth-child(2n)::after { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav { flex-wrap: wrap; min-height: 66px; }
  .nav__logo img { width: 134px; }
  .nav__toggle { display: block; margin-inline-start: auto; order: 2; }
  .nav__actions { order: 3; }
  .nav__menu {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-inline-start: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav__menu.is-open { max-height: 320px; padding-block-end: .75rem; }
  .nav__link { padding: .8rem .5rem; border-block-end: 1px solid var(--line); border-radius: 0; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--bg-alt); }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .grid--2, .grid--3, .grid--4, .systems, .job__body, .about-story { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
  .steps { grid-template-columns: 1fr; }
  .steps .step::after { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .service { grid-template-columns: 1fr; gap: 1.1rem; }
  .service__num { width: 54px; height: 54px; font-size: 1.25rem; }
  .hero__cta .btn, .cta-band__actions .btn, .job__foot .btn, .open-app .btn { width: 100%; }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav__toggle, .cta-band__actions, .btn { display: none !important; }
  body { color: #000; }
}
