/* ============================================================
   ahmedalaa.org — Career Journey
   Ported from Ahmed's Claude Design (Career Journey.dc.html)
   ============================================================ */

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

:root {
  --paper: #f3f2f2;
  --ink: #201e1d;
  --g1: #444141;
  --g2: #605d5d;
  --g3: #7d7979;
  --g4: #9b9797;
  --g5: #bab6b6;
  --surface: #f8f4f4;
  --panel: #eae9e9;
  --chip-bg: #eae7e7;
  --red: #ec3013;
  --red-dark: #ae1800;
  --red-hover: #dd2b0f;
  --amber: #b26a00;
  --coral: #ff9783;
  --line-strong: rgba(32,30,29,0.4);
  --line-mid: rgba(32,30,29,0.28);
  --line-soft: rgba(32,30,29,0.18);
  --line-grid: rgba(32,30,29,0.16);
  --line-faint: rgba(32,30,29,0.14);
  --line-hair: rgba(32,30,29,0.12);
  --font-main: Archivo, "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
input, select, textarea, button { font-family: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243,242,242,0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line-strong);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-name { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; flex-wrap: nowrap; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--g1); white-space: nowrap; }
.nav-links a:hover { color: var(--red); text-decoration: none; }
.lang-toggle {
  border: 1px solid var(--line-strong); background: transparent;
  padding: 7px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink); border-radius: 3px; white-space: nowrap; display: inline-block;
}
.lang-toggle:hover { background: rgba(32,30,29,0.07); color: var(--ink); text-decoration: none; }
.menu-btn {
  display: none; flex-direction: column; gap: 4px;
  border: 1px solid var(--line-strong); background: transparent;
  padding: 10px 11px; cursor: pointer; border-radius: 3px;
}
.menu-btn span { width: 16px; height: 2px; background: var(--ink); display: block; }
.drawer { display: none; border-top: 1px solid var(--line-soft); padding: 6px 32px 16px; }
.drawer a {
  display: block; padding: 12px 0; font-size: 15px; font-weight: 700;
  color: var(--ink); border-bottom: 1px solid var(--line-hair);
}
.drawer a:hover { text-decoration: none; color: var(--red); }

/* ============ HERO ============ */
.hero { padding-block: 88px 0; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 56px; align-items: start; }
.hero-main { animation: omFadeUp .7s ease both; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.kicker-dash { width: 34px; height: 2px; background: var(--red); display: block; }
.kicker-text {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red-dark);
}
.hero h1 {
  font-size: 68px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 24px; max-width: 15ch;
}
.hero-lead { font-size: 18px; line-height: 1.7; color: var(--g1); max-width: 52ch; margin: 0 0 18px; }
.hero-sub { font-size: 15px; line-height: 1.7; color: var(--g2); max-width: 54ch; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-fill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--paper);
  padding: 14px 22px; font-weight: 800; font-size: 14px; border-radius: 3px;
}
.btn-fill:hover { background: var(--red-hover); color: var(--paper); text-decoration: none; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); color: var(--ink);
  padding: 14px 22px; font-weight: 800; font-size: 14px; border-radius: 3px;
}
.btn-outline:hover { background: rgba(32,30,29,0.07); color: var(--ink); text-decoration: none; }
.btn-arrow { display: inline-block; }

/* Skills evolution card */
.stack-card {
  border: 1px solid var(--line-mid); background: var(--panel);
  padding: 24px; border-radius: 3px;
  box-shadow: 0 3px 10px rgba(45,43,43,0.10);
  animation: omFadeUp .7s ease .15s both;
}
.stack-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--g3); margin-bottom: 18px;
}
.stack-list { display: flex; flex-direction: column; }
.stack-row {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line-faint);
  animation: omSlideIn .5s ease both;
}
.stack-row:nth-child(1) { animation-delay: .25s; }
.stack-row:nth-child(2) { animation-delay: .37s; }
.stack-row:nth-child(3) { animation-delay: .49s; }
.stack-row:nth-child(4) { animation-delay: .61s; }
.stack-row:nth-child(5) { animation-delay: .73s; }
.stack-row:nth-child(6) { animation-delay: .85s; }
.stack-era { font-family: var(--font-mono); font-size: 11px; color: var(--g4); }
.stack-tool { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.stack-row:nth-child(1) .stack-tool { color: var(--g4); }
.stack-row:nth-child(2) .stack-tool { color: var(--g3); }
.stack-row:nth-child(3) .stack-tool { color: var(--g2); }
.stack-row:nth-child(4) .stack-tool { color: var(--g1); }
.stack-row:nth-child(5) .stack-tool { color: var(--ink); }
.stack-row:nth-child(6) .stack-tool { color: var(--red); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 2px solid var(--line-strong); }
.stat { padding-block: 26px; padding-inline: 0 26px; border-inline-end: 1px solid var(--line-grid); }
.stat-num {
  font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: var(--ink); text-align: start;
}
.stat-label { font-size: 13px; color: var(--g2); margin-top: 10px; max-width: 22ch; }

/* ============ SECTION SCAFFOLD ============ */
.sec { padding-block: 96px 0; }
.sec-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red-dark); margin-bottom: 16px;
}
.sec h2 { font-size: 40px; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px; }
.sec-lead { font-size: 16px; color: var(--g2); max-width: 58ch; line-height: 1.7; margin: 0; }
.rule { height: 2px; border: 0; background: var(--line-strong); margin: 32px 0 0; }

/* ============ JOURNEY ============ */
.journey h2 { max-width: 22ch; }
.journey .rule { margin-bottom: 56px; }
.jr-wrap { position: relative; }
.jr-rail, .jr-rail-progress {
  position: absolute; top: 8px; bottom: 8px;
  inset-inline-start: calc(50% - 1px); width: 2px;
}
.jr-rail { background: var(--line-grid); }
.jr-rail-progress { background: var(--red); transform-origin: top; transform: scaleY(0); }

.jr-item { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: start; margin-bottom: 44px; --acc: #bab6b6; }
.jr-item.lit { --acc: #605d5d; }
.jr-item.jr-branch.lit { --acc: #b26a00; }

.jr-dot-cell { grid-column: 2; grid-row: 1; display: flex; justify-content: center; padding-top: 22px; }
.jr-dot {
  width: 15px; height: 15px; display: block;
  border: 2px solid var(--g5); background: var(--paper);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.jr-item.lit .jr-dot { border-color: var(--acc); background: var(--acc); box-shadow: 0 0 0 5px rgba(32,30,29,0.10); }
.jr-item.jr-branch.lit .jr-dot { box-shadow: 0 0 0 5px rgba(178,106,0,0.14); }

.jr-card {
  grid-column: 1; grid-row: 1;
  opacity: 0.42; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--acc);
  background: var(--surface);
  padding: 22px 24px 24px; border-radius: 3px;
}
.jr-item.jr-right .jr-card { grid-column: 3; }
.jr-item.lit .jr-card { opacity: 1; transform: none; }
.jr-branch .jr-card { border: 1px dashed #d7d3d3; border-top: 3px solid var(--acc); }
.jr-branch.lit .jr-card { border-color: var(--amber); border-top-color: var(--acc); }

.jr-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.jr-year {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  background: var(--acc); color: var(--surface); padding: 4px 9px;
  transition: background .35s ease;
}
.jr-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--acc); border: 1px solid var(--acc); padding: 3px 8px;
  transition: color .35s ease, border-color .35s ease;
}
.jr-card h3 { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 4px; }
.jr-org { font-size: 14px; color: var(--g2); margin-bottom: 16px; }
.jr-bullets { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.jr-bullets li {
  display: grid; grid-template-columns: 14px 1fr; gap: 10px;
  font-size: 14.5px; line-height: 1.7; color: var(--g1);
}
.jr-bullets li::before { content: "—"; color: var(--acc); font-weight: 800; line-height: 1.5; transition: color .35s ease; }
.jr-tools { display: flex; flex-wrap: wrap; gap: 7px; }
.jr-chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em;
  color: var(--g1); background: var(--chip-bg);
  border: 1px solid var(--line-faint); padding: 4px 8px;
}

.jr-end { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.jr-end-dot-cell { grid-column: 2; grid-row: 1; display: flex; justify-content: center; }
.jr-end-dot { width: 21px; height: 21px; display: block; background: var(--red); transition: box-shadow .35s ease; }
.jr-end.lit .jr-end-dot { box-shadow: 0 0 0 7px rgba(236,48,19,0.16); }
.jr-end-label {
  grid-column: 3; grid-row: 1;
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
}

/* Certificates */
.certs { margin-top: 64px; border-top: 2px solid var(--line-strong); padding-top: 26px; }
.certs-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--g3); margin-bottom: 20px;
}
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-grid); }
.cert-cell { background: var(--paper); padding: 18px 20px; }
.cert-name { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.cert-status { font-size: 12.5px; color: var(--g3); margin-top: 5px; }

/* ============ TODAY (dark band) ============ */
.today-band { background: var(--ink); color: var(--paper); margin-top: 64px; }
.today-band.page-top { margin-top: 0; }
.today-band .wrap { padding-block: 88px; }
.today-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 56px; align-items: start; }
.today-band .sec-label { color: var(--coral); margin-bottom: 20px; }
.today-band h2 {
  font-size: 40px; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 22px; max-width: 20ch; color: var(--surface);
}
.today-lead { font-size: 17px; line-height: 1.7; color: #d7d3d3; max-width: 54ch; margin: 0 0 14px; }
.today-sub { font-size: 15px; line-height: 1.7; color: var(--g5); max-width: 56ch; margin: 0; }
.today-points { display: flex; flex-direction: column; border-top: 2px solid rgba(243,242,242,0.35); }
.today-point { padding: 20px 0; border-bottom: 1px solid rgba(243,242,242,0.18); }
.today-point-title { font-size: 15px; font-weight: 800; color: var(--surface); margin-bottom: 6px; }
.today-point-body { font-size: 14px; line-height: 1.7; color: var(--g5); }
.today-photo { margin-top: 28px; aspect-ratio: 16 / 10; overflow: hidden; }
.today-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); }

/* ============ SERVICES ============ */
.services h2 { max-width: 24ch; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-grid); }
.svc-card { background: var(--paper); padding: 30px 28px 34px; }
.svc-card:hover { background: var(--surface); }
.svc-num { font-family: var(--font-mono); font-size: 12px; color: var(--red); margin-bottom: 16px; }
.svc-card h3 { font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
.svc-card p { font-size: 14.5px; line-height: 1.7; color: var(--g1); margin: 0 0 16px; }
.svc-tools { display: flex; flex-wrap: wrap; gap: 7px; }
.svc-chip {
  font-family: var(--font-mono); font-size: 11px; color: var(--g2);
  border: 1px solid var(--line-faint); padding: 3px 8px;
}
.svc-pad { background: var(--paper); }

/* ============ AUTOMATION ============ */
.automation h2 { max-width: 24ch; }
.automation .sec-lead { margin-bottom: 40px; }
.flow-rail { position: relative; height: 2px; background: var(--line-grid); margin-bottom: -1px; z-index: 1; }
.flow-dot-travel {
  position: absolute; top: -4px; width: 10px; height: 10px;
  background: var(--red); display: block;
  animation: omTravel 5s ease-in-out infinite alternate;
}
.flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch;
  border: 1px solid var(--line-mid); background: var(--panel);
}
.flow-cell { padding: 26px 24px; border-inline-end: 1px solid var(--line-soft); position: relative; }
.flow-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.flow-pulse { width: 9px; height: 9px; background: var(--red); display: block; animation: omPulse 2.6s ease-out infinite; }
.flow-cell:nth-child(2) .flow-pulse { animation-delay: .65s; }
.flow-cell:nth-child(3) .flow-pulse { animation-delay: 1.3s; }
.flow-cell:nth-child(4) .flow-pulse { animation-delay: 1.95s; }
.flow-step { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--g3); }
.flow-title { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.flow-body { font-size: 13.5px; line-height: 1.7; color: var(--g2); }
.flow-foot { margin-top: 22px; font-size: 13px; color: var(--g3); }

/* ============ QUOTES ============ */
.quotes .sec-label { margin-bottom: 24px; }
.quotes .rule { margin: 0 0 40px; }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quote { margin: 0; border-inline-start: 3px solid var(--red); padding-inline-start: 24px; }
.quote p {
  font-size: 18px; line-height: 1.55; font-weight: 500;
  margin: 0 0 18px; color: var(--ink); text-wrap: pretty;
}
.quote footer { font-size: 13.5px; color: var(--g2); }
.quote footer span { color: var(--g4); }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq h2 { max-width: 18ch; margin-bottom: 0; }
.faq-list { border-top: 2px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  background: transparent; border: 0; padding: 22px 0; cursor: pointer;
  text-align: start; color: var(--ink);
}
.faq-q:hover { color: var(--red-dark); }
.faq-q-text { font-size: 16.5px; font-weight: 800; letter-spacing: -0.02em; flex: 1; }
.faq-sign { font-family: var(--font-mono); font-size: 18px; color: var(--red); line-height: 1; }
.faq-a { display: none; padding: 0 0 22px; max-width: 62ch; }
.faq-item.open .faq-a { display: block; }
.faq-a p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--g1); }

/* ============ CONTACT ============ */
.contact-band { margin-top: 96px; border-top: 2px solid var(--line-strong); background: var(--panel); }
.contact-band.page-top { margin-top: 0; border-top: 0; }
.contact-band .wrap { padding-block: 80px; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 56px; align-items: start; }
.contact-band h2 { max-width: 20ch; margin-bottom: 18px; }
.contact-lead { font-size: 16px; line-height: 1.7; color: var(--g1); max-width: 46ch; margin: 0 0 28px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.contact-link:hover { color: var(--red); text-decoration: none; }
.contact-link .sq { width: 9px; height: 9px; display: block; }
.sq-red { background: var(--red); }
.sq-ink { background: var(--ink); }
.contact-link .mono { font-family: var(--font-mono); font-size: 13px; color: var(--g2); font-weight: 400; }

.c-form {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line-mid);
  padding: 28px; border-radius: 3px;
}
.c-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--g2);
}
.c-form input, .c-form select, .c-form textarea {
  border: 1px solid rgba(32,30,29,0.35); background: var(--paper);
  padding: 12px 13px; font-size: 14.5px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--ink); border-radius: 2px;
}
.c-form textarea { resize: vertical; }
.btn-send {
  background: var(--red); color: var(--paper); border: 0;
  padding: 15px 22px; font-size: 14px; font-weight: 800;
  cursor: pointer; text-align: start; border-radius: 3px;
}
.btn-send:hover { background: var(--red-hover); }
.btn-send:disabled { opacity: 0.7; cursor: wait; }
.form-note { display: none; font-size: 13.5px; font-weight: 700; }
.form-sent { color: var(--red-dark); }
.form-err { color: var(--red); }
.form-note.show { display: block; }
/* Honeypot: off-screen, never shown to humans, ignored by AT */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ FOOTER ============ */
.site-footer { border-top: 2px solid var(--line-strong); background: var(--paper); margin-top: 96px; }
.site-footer.tight { margin-top: 0; }
.footer-inner {
  display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
  padding-block: 28px; font-size: 12.5px; color: var(--g3);
}
.footer-brand { font-weight: 700; color: var(--g1); }
.footer-lang { margin-inline-start: auto; color: var(--red-dark); font-weight: 700; }

/* ============ MULTIPAGE ============ */
.nav-links a.active { color: var(--red); }
.drawer a.active { color: var(--red); }

.teasers { padding-block: 96px 0; }
.teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-grid); }
.teaser-cell { background: var(--paper); padding: 36px 32px 40px; display: flex; flex-direction: column; }
.teaser-cell:hover { background: var(--surface); }
.teaser-num { font-family: var(--font-mono); font-size: 12px; color: var(--red); margin-bottom: 18px; }
.teaser-cell h3 { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.teaser-cell p { font-size: 14.5px; line-height: 1.7; color: var(--g1); margin: 0 0 22px; max-width: 48ch; }
.teaser-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--red-dark); margin-top: auto; }
.teaser-link:hover { color: var(--red); text-decoration: none; }
.teaser-cell.primary { background: var(--ink); }
.teaser-cell.primary:hover { background: var(--ink); }
.teaser-cell.primary .teaser-num { color: var(--coral); }
.teaser-cell.primary h3 { color: var(--surface); }
.teaser-cell.primary p { color: #bab6b6; }
.teaser-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

.cta-band { margin-top: 96px; background: var(--ink); color: var(--paper); }
.cta-band .wrap { padding-block: 72px; }
.cta-band h2 { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--surface); max-width: 24ch; }
.cta-band p { font-size: 15.5px; line-height: 1.7; color: #d7d3d3; max-width: 52ch; margin: 0 0 28px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline.on-dark { border-color: rgba(243,242,242,0.4); color: var(--paper); }
.btn-outline.on-dark:hover { background: rgba(243,242,242,0.1); color: var(--paper); }

.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.dash-list li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.7; color: var(--g1); }
.dash-list li::before { content: "—"; color: var(--red); font-weight: 800; line-height: 1.5; }

.svc-detail { display: grid; grid-template-columns: 80px 1.1fr 0.9fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.svc-detail-num { font-family: var(--font-mono); font-size: 15px; color: var(--red); padding-top: 6px; }
.svc-detail h3 { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.svc-detail-desc { font-size: 15px; line-height: 1.7; color: var(--g1); margin: 0 0 18px; max-width: 50ch; }
.svc-detail-includes { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g3); margin-bottom: 14px; }

.process { margin-top: 80px; }
.process-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g3); margin-bottom: 20px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-grid); }
.process-cell { background: var(--paper); padding: 26px 24px 30px; }
.process-num { font-family: var(--font-mono); font-size: 12px; color: var(--red); margin-bottom: 14px; }
.process-cell h3 { font-size: 16.5px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.process-cell p { font-size: 13.5px; line-height: 1.7; color: var(--g2); margin: 0; }

.ax-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-grid); margin-top: 64px; }
.ax-cell { background: var(--paper); padding: 30px 28px 34px; }
.ax-cell:hover { background: var(--surface); }
.ax-cell h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.ax-cell p { font-size: 14.5px; line-height: 1.7; color: var(--g1); margin: 0; max-width: 52ch; }
.ax-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g3); margin: 64px 0 0; }

/* ============ ANIMATIONS ============ */
@keyframes omFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes omSlideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes omPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236,48,19,0.35); }
  50% { box-shadow: 0 0 0 9px rgba(236,48,19,0); }
}
@keyframes omTravel {
  0% { inset-inline-start: 0%; }
  100% { inset-inline-start: calc(100% - 10px); }
}

::selection { background: rgba(236,48,19,0.25); }

/* ============ NARROW (<900px) ============ */
@media (max-width: 899px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .drawer.open { display: block; }
  .hero-grid, .today-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 52px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }

  .jr-rail, .jr-rail-progress { inset-inline-start: 14px; }
  .jr-item, .jr-end { grid-template-columns: 30px 1fr; }
  .jr-dot-cell, .jr-end-dot-cell { grid-column: 1; }
  .jr-card, .jr-item.jr-right .jr-card { grid-column: 2; }
  .jr-end-label { grid-column: 2; }
  .svc-detail { grid-template-columns: 1fr; gap: 18px; }
  .svc-detail-num { padding-top: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ MOBILE (<620px) ============ */
@media (max-width: 619px) {
  .hero h1 { font-size: 38px; }
  .sec h2, .today-band h2 { font-size: 28px; }
  .stats { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-pad { display: none; }
  .flow-grid { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .ax-grid { grid-template-columns: 1fr; }
}

/* ============ TINY SCREENS (<380px) ============ */
@media (max-width: 379px) {
  .header-inner { gap: 12px; }
  .site-nav { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: 14px; }
  .lang-toggle { padding: 6px 10px; font-size: 11px; }
  .menu-btn { padding: 8px 9px; }
  .wrap { padding-inline: 20px; }
  .drawer { padding: 6px 20px 16px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .jr-rail-progress { transform: none; }
  .jr-card { opacity: 1; transform: none; }
}

/* ============ RTL (Arabic page) ============ */
[dir="rtl"] body,
body[dir="rtl"] { line-height: 1.9; }
[dir="rtl"] { --font-main: "IBM Plex Sans Arabic", Archivo, system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] .brand-name,
[dir="rtl"] .kicker-text, [dir="rtl"] .sec-label, [dir="rtl"] .certs-label,
[dir="rtl"] .stat-num, [dir="rtl"] .cert-name,
[dir="rtl"] .flow-title, [dir="rtl"] .faq-q-text,
[dir="rtl"] .jr-tag, [dir="rtl"] .jr-end-label,
[dir="rtl"] .today-point-title, [dir="rtl"] .c-form label { letter-spacing: 0; }
[dir="rtl"] .hero-lead, [dir="rtl"] .hero-sub, [dir="rtl"] .sec-lead,
[dir="rtl"] .jr-bullets li, [dir="rtl"] .today-lead, [dir="rtl"] .today-sub,
[dir="rtl"] .today-point-body, [dir="rtl"] .svc-card p, [dir="rtl"] .flow-body,
[dir="rtl"] .faq-a p, [dir="rtl"] .contact-lead { line-height: 1.9; }
[dir="rtl"] .btn-arrow { transform: scaleX(-1); }
[dir="rtl"] input[type="email"] { text-align: right; }
[dir="rtl"] .stat-num { text-align: right; }
[dir="rtl"] .stack-card { direction: ltr; text-align: left; }
