/* Elitport design system. All colors, sizes and spacing come from the variables below. */
:root {
  --navy-900: #07111d;
  --navy-800: #0b1a2c;
  --navy-700: #12263f;
  --navy-600: #1b3555;
  --gold-500: #c9a84c;
  --gold-400: #ddbf6a;
  --gold-300: #ecd79c;
  --sand-100: #faf6ee;
  --sand-200: #f2ead9;
  --green-600: #0f6b4c;
  --ink: #13202f;
  --ink-soft: #4a5b6e;
  --on-dark: #ffffff;
  --on-dark-soft: #a9b8ca;
  --line-dark: rgba(255, 255, 255, .09);
  --line-gold: rgba(201, 168, 76, .28);
  --line-light: rgba(19, 32, 47, .1);
  --danger: #b3261e;
  --danger-on-dark: #ff8a80;
  --success: #1e7d4f;

  --font-en: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  --font-body: var(--font-en);
  --font-display: var(--font-en);


  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --container: 1180px;
  --header-h: 72px;
  --shadow-card: 0 10px 30px rgba(7, 17, 29, .08);
  --shadow-lift: 0 18px 40px rgba(7, 17, 29, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pattern: url("../img/pattern.svg");

  /* Page surfaces (the dark theme below changes only these) */
  --bg: var(--sand-100);
  --bg-alt: var(--sand-200);
  --surface: #fff;
  --field-bg: var(--sand-100);
  --field-line: #8c8272; /* at least 3 to 1 against the white form card */
  --field-line-hover: #6f6656;
  --link: var(--navy-700);
  --rule: rgba(19, 32, 47, .18);
  --rule-hover: rgba(19, 32, 47, .22);
  --error-bg: #fff5f4;
  color-scheme: light;
}
html[lang="ar"] {
  --font-body: var(--font-ar);
  --font-display: var(--font-ar);
}
/* Dark theme: deep navy (not black), soft light text. Chosen in early.js before the page draws. */
html[data-theme="dark"] {
  --bg: #0f1a27;
  --bg-alt: #13202f;
  --surface: #172537;
  --field-bg: #0f1a27;
  --field-line: #2e4157;
  --field-line-hover: #45607e;
  --ink: #e6ebf1;
  --ink-soft: #a9b6c6;
  --line-light: rgba(255, 255, 255, .09);
  --link: #d4dfec;
  --rule: rgba(255, 255, 255, .14);
  --rule-hover: rgba(255, 255, 255, .26);
  --error-bg: rgba(255, 138, 128, .08);
  --danger: #ff8a80;
  --success: #6fd3a0;
  --navy-800: #0b1622;
  color-scheme: dark;
}
html[data-theme="dark"] .section--dark { background: #0b1622; }
html[data-theme="dark"] .founder-media img, html[data-theme="dark"] .service-media img { filter: brightness(.88); }
html[data-theme="dark"] .form-status.is-error { background: rgba(255, 138, 128, .1); border-color: rgba(255, 138, 128, .35); }
html[data-theme="dark"] .form-status.is-success { background: rgba(111, 211, 160, .1); border-color: rgba(111, 211, 160, .35); }
html[data-theme="dark"] .placeholder { background: rgba(255, 243, 205, .14); color: var(--gold-300); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Soft, quick fade between pages (browsers that support cross-page view transitions; others just switch).
   Turned off for visitors who ask for less motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; animation-timing-function: ease; }
}
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.8; font-size: 18px; }
strong, b { font-weight: 600; }
html { font-synthesis-weight: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 var(--space-4); line-height: 1.25; font-family: var(--font-display); font-weight: 500; color: inherit; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.55; font-weight: 500; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0; padding: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.skip-link {
  position: absolute; inset-inline-start: var(--space-4); top: -60px; z-index: 2000;
  background: var(--gold-500); color: var(--navy-900); padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-pill);
  font: inherit; font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--navy-800); color: var(--on-dark); }
.btn--dark:hover { background: var(--navy-600); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header (light in light mode, dark in dark mode) ---------- */
.site-header {
  --h-bg: rgba(250, 246, 238, .94); --h-menu: var(--sand-100); --h-ink: var(--ink); --h-soft: #3f4f62;
  --h-line: rgba(19, 32, 47, .14); --h-line-strong: rgba(19, 32, 47, .35); --h-hover: rgba(19, 32, 47, .06);
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: var(--h-bg); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--h-line); color: var(--h-ink);
  transition: box-shadow .3s;
}
html[data-theme="dark"] .site-header {
  --h-bg: rgba(7, 17, 29, .92); --h-menu: var(--navy-900); --h-ink: #fff; --h-soft: var(--on-dark-soft);
  --h-line: var(--line-dark); --h-line-strong: rgba(255, 255, 255, .4); --h-hover: rgba(255, 255, 255, .08);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(7, 17, 29, .08); }
html[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); flex: none; }
.site-header .brand { color: var(--h-ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-en); font-size: 21px; font-weight: 500; letter-spacing: .2px; direction: ltr; }
.brand-name b { font-weight: 500; }
.main-nav { display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill);
  color: var(--h-soft); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--h-ink); background: var(--h-hover); }
.nav-link[aria-current="page"] { color: var(--h-ink); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--h-line-strong); border-radius: var(--radius-pill); color: var(--h-ink);
  text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color .2s, border-color .2s;
}
.lang-switch:hover { background: var(--h-hover); }
html[lang="en"] .lang-switch { font-family: var(--font-ar); }
html[lang="ar"] .lang-switch { font-family: var(--font-en); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; flex: none;
  border: 1px solid var(--h-line-strong); border-radius: 50%; background: transparent; color: var(--h-ink); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.theme-toggle:hover { background: var(--h-hover); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.header-actions > .theme-toggle { display: none; }
@media (min-width: 400px) { .header-actions > .theme-toggle { display: inline-flex; } }
.mobile-menu .theme-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: 56px; padding: 0 var(--space-2); border-bottom: 1px solid var(--h-line); color: var(--h-soft); font-size: 17px;
}
.header-cta { display: none; min-height: 42px; padding: 0 18px; font-size: 15px; }
.site-header .btn--ghost { color: var(--h-ink); border-color: var(--h-line-strong); }
.site-header .btn--ghost:hover { background: var(--h-hover); }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid var(--h-line-strong); color: var(--h-ink); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 999; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--h-menu); border-bottom: 1px solid var(--h-line); padding: var(--space-4) 20px var(--space-6);
  display: none;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-menu .nav-link { width: 100%; border-radius: 0; padding: 0 var(--space-2); min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--h-line); }
.mobile-menu .btn { width: 100%; margin-top: var(--space-5); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-8); position: relative; }
@media (min-width: 768px) { .section { padding-block: var(--space-9); } }
.section--dark { background: var(--navy-800); color: var(--on-dark); }
.section--navy { background: var(--navy-900); color: var(--on-dark); }
.section--sand { background: var(--bg-alt); }
.section--white { background: var(--surface); }
.section > .container { position: relative; }
.h1 { font-size: clamp(34px, 5.6vw, 54px); letter-spacing: -.02em; }
.h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.01em; }
html[lang="ar"] .h1, html[lang="ar"] .h2 { letter-spacing: 0; }
html[lang="ar"] .h1 { font-size: clamp(32px, 5.2vw, 50px); }
html[lang="ar"] .h2 { font-size: clamp(25px, 3.4vw, 36px); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 680px; }
.section--dark .lead, .section--navy .lead, .hero .lead { color: var(--on-dark-soft); }
.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--on-dark); background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7, 17, 29, .96) 0%, rgba(7, 17, 29, .85) 45%, rgba(7, 17, 29, .45) 100%);
}
html[dir="rtl"] .hero::before { background: linear-gradient(-100deg, rgba(7, 17, 29, .96) 0%, rgba(7, 17, 29, .85) 45%, rgba(7, 17, 29, .45) 100%); }
.hero-inner { padding-block: 72px 64px; display: grid; gap: var(--space-7); }
@media (min-width: 768px) { .hero-inner { padding-block: 120px 96px; } }
.hero-content { max-width: 720px; }
.hero .h1 { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
/* Inner page heroes: same look as the home hero, but shorter. Strong shade behind the title,
   lighter towards the middle so the photo stays clear. Each page keeps its main subject in view. */
.page-hero .hero-inner { padding-block: 72px 64px; min-height: 300px; align-content: center; }
.page-hero::before { background: linear-gradient(180deg, rgba(7, 17, 29, .5) 0%, rgba(7, 17, 29, .64) 100%); }
.page-hero .lead { color: #fff; }
.page-hero--about .hero-media img { object-position: 45% 40%; }
.page-hero--services .hero-media img { object-position: 58% 40%; }
.page-hero--careers .hero-media img { object-position: 60% 0%; }
.page-hero--contact .hero-media img, .page-hero--privacy .hero-media img { object-position: 48% 42%; }
@media (min-width: 768px) {
  .page-hero .hero-inner { padding-block: 64px; min-height: 360px; }
  .page-hero .hero-content { max-width: 560px; }
  .page-hero::before { background: linear-gradient(90deg, rgba(7, 17, 29, .86) 0%, rgba(7, 17, 29, .74) 48%, rgba(7, 17, 29, .22) 70%, rgba(7, 17, 29, .12) 100%); }
  html[dir="rtl"] .page-hero::before { background: linear-gradient(270deg, rgba(7, 17, 29, .86) 0%, rgba(7, 17, 29, .74) 48%, rgba(7, 17, 29, .22) 70%, rgba(7, 17, 29, .12) 100%); }
}
@media (min-width: 768px) and (max-width: 999px) {
  .page-hero .hero-content { max-width: 480px; }
  .page-hero::before { background: linear-gradient(90deg, rgba(7, 17, 29, .86) 0%, rgba(7, 17, 29, .76) 65%, rgba(7, 17, 29, .35) 90%, rgba(7, 17, 29, .2) 100%); }
  html[dir="rtl"] .page-hero::before { background: linear-gradient(270deg, rgba(7, 17, 29, .86) 0%, rgba(7, 17, 29, .76) 65%, rgba(7, 17, 29, .35) 90%, rgba(7, 17, 29, .2) 100%); }
}
@media (min-width: 1000px) { .page-hero .hero-inner { min-height: 420px; } }

/* Home hero (mixed look): full-width Kingdom Centre photo under a light dark layer.
   The shade is stronger only on the text side, so the tower stays clear. Same in light and dark mode. */
.hero--home .hero-media picture { display: block; width: 100%; height: 100%; }
.hero--home .hero-media img { object-position: 50% 12%; }
.hero--home::before { background: linear-gradient(90deg, rgba(7, 17, 29, .86) 0%, rgba(7, 17, 29, .72) 42%, rgba(7, 17, 29, .22) 66%, rgba(7, 17, 29, .12) 100%); }
html[dir="rtl"] .hero--home::before { background: linear-gradient(270deg, rgba(7, 17, 29, .86) 0%, rgba(7, 17, 29, .72) 42%, rgba(7, 17, 29, .22) 66%, rgba(7, 17, 29, .12) 100%); }
.hero--home .lead { color: #d9e1ea; }
@media (min-width: 768px) and (max-width: 999px) {
  .hero--home .hero-inner { min-height: 520px; align-content: center; padding-block: 64px; }
  .hero--home .hero-content { max-width: 440px; }
}
@media (min-width: 1000px) {
  .hero--home .hero-inner { min-height: 600px; align-content: center; padding-block: 72px; }
  .hero--home .hero-content { max-width: 500px; }
}
/* Phones: white text on the dark background, then the whole photo full width below it,
   so the tower is never hidden behind the text or cut off. */
@media (max-width: 767px) {
  .hero--home { display: flex; flex-direction: column; }
  .hero--home::before { content: none; }
  .hero--home .hero-media { position: relative; inset: auto; z-index: 0; order: 2; width: 100%; aspect-ratio: 960 / 900; margin-top: -24px; }
  .hero--home .hero-media img { object-position: 50% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
  .hero--home .hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(7, 17, 29, .25); pointer-events: none; }
  .hero--home .hero-inner { position: relative; z-index: 1; padding-block: 56px 16px; }
}

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: var(--space-6); transition: border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--rule-hover); }
.card h3 { font-size: 21px; }
.card p { color: var(--ink-soft); }
.card .card-link { margin-top: auto; padding-top: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); color: var(--link); font-weight: 500; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card .card-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
html[dir="rtl"] .card .card-link svg { transform: scaleX(-1); }
.card:hover .card-link svg { transform: translateX(4px); }
html[dir="rtl"] .card:hover .card-link svg { transform: scaleX(-1) translateX(4px); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: var(--space-5);
  background: var(--bg-alt); color: var(--link);
}
.card-icon svg { width: 28px; height: 28px; }
.card--dark { background: transparent; border-color: var(--line-dark); box-shadow: none; color: var(--on-dark); }
.card--dark p { color: var(--on-dark-soft); }
.card--dark:hover { border-color: rgba(255, 255, 255, .22); }
/* Simple lists: a short line as the marker. */
.check-list { list-style: none; display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.check-list li { position: relative; padding-inline-start: 24px; color: var(--ink-soft); font-size: 16px; }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 12px; height: 1.5px; background: currentColor; opacity: .6;
}
.section--dark .check-list li, .card--dark .check-list li { color: var(--on-dark-soft); }

/* ---------- Founder ---------- */
.founder { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 1.05fr 1fr; } }
.founder-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.founder-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding: var(--space-5) 0 0; border-top: 1px solid var(--rule); }
.steps--stack .step { padding-bottom: var(--space-2); }
.step::before { content: "0" counter(step); display: block; font-family: var(--font-en); font-size: 15px; font-weight: 500; color: var(--ink-soft); line-height: 1; margin-bottom: var(--space-3); }
.step h3 { font-size: 20px; margin-bottom: var(--space-2); }
.step p { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* ---------- Trust strip ---------- */
.trust { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item { text-align: center; padding: var(--space-5) var(--space-3); border-radius: var(--radius); border: 1px solid var(--line-dark); }
.trust-item svg { width: 32px; height: 32px; color: var(--on-dark-soft); margin: 0 auto var(--space-3); }
.trust-item strong { display: block; font-size: 18px; color: #fff; }
.trust-item span { display: block; font-size: 14px; color: var(--on-dark-soft); }

/* ---------- Image band / CTA ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--on-dark); isolation: isolate; text-align: center; }
.cta-band .band-media { position: absolute; inset: 0; z-index: -2; }
.cta-band .band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 17, 29, .88), rgba(7, 17, 29, .94)); }
.cta-band .h2 { color: #fff; }
.cta-band .lead { margin-inline: auto; color: var(--on-dark-soft); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Service detail ---------- */
.service-block { display: grid; gap: var(--space-6); align-items: center; padding-block: var(--space-7); border-bottom: 1px solid var(--line-light); }
.service-block:last-child { border-bottom: 0; }
@media (min-width: 900px) { .service-block { grid-template-columns: 1fr 1fr; gap: var(--space-8); } .service-block:nth-child(even) .service-media { order: 2; } }
.service-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-num { display: block; margin-bottom: var(--space-2); font-family: var(--font-en); color: var(--ink-soft); font-size: 15px; font-weight: 500; }

/* ---------- Values ---------- */
.value { padding: var(--space-5) 0 0; border-top: 1px solid var(--rule); }
.value h3 { font-size: 19px; margin-bottom: var(--space-2); }
.value p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); border: 1px solid var(--line-light); }
@media (min-width: 768px) { .form-card { padding: var(--space-7); } }
.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.field .req { color: var(--danger); }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--field-line-hover); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: var(--surface); box-shadow: 0 0 0 4px rgba(201, 168, 76, .2); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; }
html[dir="rtl"] .field input[type="tel"], html[dir="rtl"] .field input[type="email"] { text-align: right; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .file-drop { border-color: var(--danger); background: var(--error-bg); }
.field-error { display: none; color: var(--danger); font-size: 14px; margin-top: 6px; font-weight: 500; }
.field.has-error .field-error { display: block; }
.file-drop {
  position: relative; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); min-height: 64px;
  border: 1.5px dashed var(--field-line); border-radius: var(--radius-sm); background: var(--field-bg); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--gold-500); background: var(--surface); }
.file-drop svg { width: 28px; height: 28px; color: var(--link); flex: none; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-name { font-weight: 500; overflow-wrap: anywhere; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--green-600); }
.consent a { color: var(--link); font-weight: 500; text-underline-offset: 3px; }
.hp-field { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius-sm); font-weight: 500; }
.form-status.is-error { display: block; background: #fdecea; color: var(--danger); border: 1px solid #f5c2bd; }
.form-status.is-success { display: block; background: #e8f5ee; color: var(--success); border: 1px solid #b9e0c9; }
form button[type="submit"] { margin-top: var(--space-5); width: 100%; }
@media (min-width: 640px) { form button[type="submit"] { width: auto; min-width: 220px; } }
.steps.steps--stack { grid-template-columns: 1fr; margin-top: var(--space-5); }
.form-card .h2 { font-size: clamp(24px, 3vw, 32px); }
.form-note { font-size: 14px; color: var(--ink-soft); margin-top: var(--space-4); }
/* Small, calm helper under the CV form (link to ElitCV). Same colours as the form; never louder than the submit button. */
.cv-helper { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--rule); }
.cv-helper-title { font-size: 17px; font-weight: 500; color: var(--ink); }
.cv-helper p { font-size: 15px; color: var(--ink-soft); margin-top: var(--space-2); max-width: 520px; }
.btn--outline { margin-top: var(--space-4); min-height: 44px; font-size: 15px; border-color: var(--rule-hover); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink-soft); }
.contact-grid { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.contact-list { list-style: none; display: grid; gap: var(--space-3); }
.contact-item { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-light); text-decoration: none; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
a.contact-item:hover { border-color: var(--rule-hover); }
.contact-item .card-icon { width: 48px; height: 48px; margin: 0; border-radius: 12px; flex: none; }
.contact-item .card-icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--ink-soft); font-size: 14px; }
.contact-item strong { font-size: 17px; }

/* ---------- Text pages (privacy) ---------- */
.page-body { max-width: 820px; }
.page-body h2 { font-size: 26px; margin-top: var(--space-7); }
.page-body h3 { font-size: 20px; margin-top: var(--space-5); }
.page-body ul { padding-inline-start: 1.3em; margin-bottom: var(--space-4); }
.page-body li { margin-bottom: var(--space-2); }
.page-body a { color: var(--link); font-weight: 500; text-underline-offset: 3px; }
.placeholder { background: #fff3cd; color: #6b5200; padding: 0 6px; border-radius: 4px; font-weight: 600; }
.updated { color: var(--ink-soft); font-size: 15px; }

/* ---------- Footer ---------- */
/* Three parts: logo + one line, contact (phone, email, icons), and a small bottom line.
   Phones: centred and compact (bottom space keeps the floating WhatsApp button clear of the text). */
.site-footer { position: relative; background: var(--navy-900); color: var(--on-dark-soft); padding-block: var(--space-6) 84px; font-size: 16px; text-align: center; }
.site-footer > .container { position: relative; }
.footer-main { display: grid; gap: var(--space-5); justify-items: center; }
.footer-about p { max-width: 380px; margin-top: var(--space-3); }
.footer-about .brand { justify-content: center; }
.footer-title { color: #fff; font-family: var(--font-body); font-size: 16px; font-weight: 500; margin-bottom: var(--space-1); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--space-5); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--on-dark-soft); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.socials { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-2); }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-dark); color: var(--on-dark-soft); transition: color .2s, border-color .2s, transform .2s; }
.socials a:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; align-items: center; gap: var(--space-1); font-size: 14px; }
.footer-bottom a { color: var(--on-dark-soft); display: inline-flex; align-items: center; min-height: 32px; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--space-2); }
.footer-legal > span { white-space: nowrap; }
@media (min-width: 768px) {
  .site-footer { padding-block: var(--space-7) var(--space-6); text-align: start; }
  .footer-main { grid-template-columns: 1fr auto; align-items: start; justify-items: stretch; gap: var(--space-6); }
  .footer-about .brand { justify-content: flex-start; }
  .footer-links, .socials { justify-content: flex-start; }
  .footer-links { flex-direction: column; gap: 0; }
  .footer-links a { min-height: 34px; }
  .footer-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); }
  .footer-legal { justify-content: flex-start; }
  .footer-legal > span + span::before { content: "·"; margin-inline-end: var(--space-2); }
}

/* ---------- WhatsApp: a round icon in the top bar (never covers page content) ---------- */
.header-wa {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none;
  border: 1px solid var(--h-line-strong); border-radius: 50%; color: #168a45; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
html[data-theme="dark"] .header-wa { color: #3cc674; }
.header-wa:hover { background: var(--h-hover); }
.header-wa svg { width: 21px; height: 21px; }
/* Very small phones (under 360px): tighten the top bar so the WhatsApp icon fits without sideways scrolling */
@media (max-width: 359px) {
  .site-header .header-inner { padding-inline: 14px; gap: var(--space-2); }
  .header-actions { gap: 6px; }
  .lang-switch { padding: 0 10px; }
  .header-wa { width: 40px; height: 40px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .site-header .brand-name { font-size: 18px; }
}

/* ---------- Welcome greeting ---------- */
.welcome { display: none; }
.show-welcome .welcome {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; text-align: center; cursor: pointer;
  background: radial-gradient(ellipse at center, var(--navy-700) 0%, var(--navy-900) 70%); color: #fff;
}
.welcome::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 140px; opacity: .045; }
.welcome-inner { position: relative; padding: 24px; }
.welcome-logo { width: 84px; height: 84px; margin: 0 auto 22px; }
.welcome-title { font-family: var(--font-display); font-size: clamp(30px, 5.6vw, 48px); font-weight: 500; margin: 0; line-height: 1.4; }
.welcome-title .brand-word { font-family: var(--font-en); direction: ltr; unicode-bidi: isolate; }
.welcome-line { width: 120px; height: 2px; margin: 22px auto 0; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); }
.welcome-sub { margin-top: 14px; color: var(--on-dark-soft); font-size: 16px; }
.welcome.is-leaving { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
@media (prefers-reduced-motion: no-preference) {
  .show-welcome .welcome-logo { animation: wl-pop 1s var(--ease) both; }
  .show-welcome .welcome-title { animation: wl-rise .9s var(--ease) .25s both; }
  .show-welcome .welcome-line { animation: wl-draw .9s var(--ease) .55s both; }
  .show-welcome .welcome-sub { animation: wl-rise .9s var(--ease) .7s both; }
}
@keyframes wl-pop { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes wl-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wl-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.show-welcome body { overflow: hidden; }

/* ---------- Scroll reveal (only when JavaScript runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: .1s; }
  .js .reveal-delay-2 { transition-delay: .2s; }
  .js .reveal-delay-3 { transition-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .hero-actions { justify-content: center; }
.notfound .code { font-family: var(--font-en); font-size: 88px; font-weight: 400; color: var(--ink-soft); line-height: 1; }

/* ---------- Corporate Insights (التثقيف المؤسسي) ---------- */
/* Breadcrumbs: light on the photo heroes and on the navy article head. */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 14px; margin-bottom: var(--space-4); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; opacity: .55; }
.breadcrumbs a { color: inherit; text-underline-offset: 3px; }
.hero .breadcrumbs { color: #d9e1ea; }
.page-hero--insights .hero-media img { object-position: 50% 45%; }

/* Article head: navy band with the title, then the white article. */
.insight-head { background: var(--navy-900); color: #d9e1ea; padding-block: 40px 36px; }
@media (min-width: 768px) { .insight-head { padding-block: 56px 48px; } }
.insight-head .insight-title { color: #fff; font-size: clamp(30px, 4.4vw, 46px); }
html[lang="ar"] .insight-head .insight-title { font-size: clamp(28px, 4.2vw, 44px); }
.insight-cat { display: inline-block; margin-bottom: var(--space-3); color: var(--gold-300); font-size: 15px; font-weight: 500; text-decoration: none; }
.insight-cat:hover { text-decoration: underline; text-underline-offset: 4px; }
.insight-meta { margin: 0; font-size: 15px; color: var(--on-dark-soft); }
.insight-narrow { max-width: 860px; }
.insight-article { padding-top: var(--space-6); }
.insight-figure { margin: 0 0 var(--space-6); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-alt); }
.insight-figure img { width: 100%; height: 100%; object-fit: cover; }
html[data-theme="dark"] .insight-figure img, html[data-theme="dark"] .topic-media img { filter: brightness(.88); }
.insight-summary { background: var(--bg-alt); border-inline-start: 3px solid var(--gold-500); border-radius: var(--radius-sm); padding: var(--space-5); margin-bottom: var(--space-6); }
.insight-summary h2 { font-size: 18px; margin-bottom: var(--space-2); }
.insight-summary p { margin: 0; font-size: 18px; }
.insight-body h2 { font-size: clamp(22px, 2.6vw, 27px); margin-top: var(--space-7); }
.insight-body > h2:first-child { margin-top: 0; }
.insight-body ul, .insight-body ol { padding-inline-start: 1.3em; margin-bottom: var(--space-4); }
.insight-body li { margin-bottom: var(--space-2); }
/* Links inside articles: same colour and weight as the text, with a thin soft underline, so busy paragraphs stay calm.
   Still clearly links: underlined in both modes, and the underline turns gold and solid on hover. */
.insight-body a { color: inherit; font-weight: 400; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .2s; }
.insight-body a:hover { text-decoration-color: var(--gold-500); text-decoration-thickness: 2px; }
.insight-steps li::marker { font-weight: 500; color: var(--ink-soft); }
.insight-example { background: var(--surface); border: 1px solid var(--line-light); border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink-soft); flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink-soft); }
.insight-sources { list-style: none; padding: 0 !important; }
.insight-sources li { padding-inline-start: 22px; position: relative; }
.insight-sources li::before { content: "\2197"; position: absolute; inset-inline-start: 0; color: var(--ink-soft); }
html[dir="rtl"] .insight-sources li::before { content: "\2196"; }
.insight-reviewed { margin-top: var(--space-7); color: var(--ink-soft); font-size: 15px; }
.insight-note { margin-top: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); border: 1px dashed var(--rule-hover); color: var(--ink-soft); font-size: 15px; }
.insight-note p { margin: 0; }
.insight-help { margin-top: var(--space-6); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--navy-800); color: var(--on-dark-soft); }
.insight-help-title { color: #fff; font-size: 24px; margin-bottom: var(--space-2); }
.insight-help .btn { margin-top: var(--space-2); }
mark.review { background: #fff3cd; color: #6b5200; padding: 0 6px; border-radius: 4px; font-weight: 600; font-family: var(--font-ar); }
html[data-theme="dark"] mark.review { background: rgba(255, 243, 205, .14); color: var(--gold-300); }

/* Topic and article cards with a photo on top. */
.topic-grid { margin-top: var(--space-5); }
.topic-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .25s; }
.topic-card:hover { border-color: var(--rule-hover); }
.topic-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.topic-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.topic-card:hover .topic-media img { transform: scale(1.03); }
.topic-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); }
.topic-body h3 { font-size: 20px; margin-bottom: var(--space-2); }
.topic-body p { color: var(--ink-soft); font-size: 16px; }
.topic-kicker { font-size: 14px; color: var(--ink-soft); margin-bottom: var(--space-2); }
.topic-card .card-link { margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); color: var(--link); font-weight: 500; }
.topic-card .card-link svg { width: 18px; height: 18px; }
html[dir="rtl"] .topic-card .card-link svg { transform: scaleX(-1); }
.insight-soon { color: var(--ink-soft); font-size: 18px; }
.insight-back { margin-top: var(--space-6); }
.insight-back a { color: var(--link); font-weight: 500; text-underline-offset: 3px; }

/* Search on the section page. */
.insight-search { max-width: 760px; margin-bottom: var(--space-8); }
.insight-search input { width: 100%; min-height: 54px; padding: 12px 18px; font: inherit; font-size: 17px; color: var(--ink); background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: var(--radius-pill); }
.insight-search input:focus { outline: none; border-color: var(--gold-500); background: var(--surface); box-shadow: 0 0 0 4px rgba(201, 168, 76, .2); }
.insight-search-status { margin: var(--space-3) 0 0; color: var(--ink-soft); font-size: 15px; min-height: 1.5em; }
.insight-results { list-style: none; display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.insight-results a { display: block; padding: var(--space-4); border: 1px solid var(--line-light); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; }
.insight-results a:hover { border-color: var(--rule-hover); }
.insight-results strong { display: block; color: var(--link); }
.insight-results span { display: block; font-size: 15px; color: var(--ink-soft); }
.insight-cats-head { margin-bottom: 0; }
/* Glossary pages: term, the other-language term under it, then a short plain explanation. */
.glossary { margin: 0 0 var(--space-6); }
.glossary dt { font-weight: 500; font-size: 18px; margin-top: var(--space-5); }
.glossary dt .term-alt { display: block; font-size: 15px; font-weight: 400; color: var(--ink-soft); unicode-bidi: isolate; }
.glossary dt .term-alt[lang="en"] { font-family: var(--font-en); direction: ltr; }
.glossary dt .term-alt[lang="ar"] { font-family: var(--font-ar); direction: rtl; }
.glossary dd { margin: var(--space-1) 0 0; padding-bottom: var(--space-4); border-bottom: 1px solid var(--line-light); color: var(--ink-soft); }
html[dir="rtl"] .glossary dt .term-alt { text-align: right; }
html[dir="ltr"] .glossary dt .term-alt { text-align: left; }

/* ---------- Bigger tap areas for small text links on phones (looks the same, easier to tap) ---------- */
@media (max-width: 767px) {
  main a:not([class]) { padding-block: 4px; margin-block: -4px; }
}

/* ---------- Services page: related Corporate Insights guides under each service ---------- */
.related-guides { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line-light); }
.related-guides-title { font-size: 15px; font-weight: 500; color: var(--ink); margin: 0 0 var(--space-2); }
.related-guides ul { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.related-guides a { color: var(--link); font-size: 15px; text-underline-offset: 3px; }

/* ---------- UX and UI review fixes (Nov 2026) ---------- */
/* Grids of exactly three cards: three columns from tablet width, so there is never a "2 + 1" row. */
@media (min-width: 700px) { .grid-trio { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
@media (min-width: 700px) and (max-width: 1079px) {
  .grid-trio .card { padding: var(--space-5); }
  .grid-trio .topic-body { padding: var(--space-4); }
  .grid-trio .topic-body h3 { font-size: 18px; }
}
/* Equal-height cards: every card fills its row, and the "Read the article" link sits at the bottom. */
.topic-grid { align-items: stretch; }
.topic-card { height: 100%; }
.topic-body p { flex: 1 0 auto; }

/* "Why Elitport": facts with a big number or a simple icon, on the page colour (light in light mode). */
.facts { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { position: relative; padding: var(--space-5) 0 0; border-top: 2px solid var(--gold-500); }
.fact h3 { font-size: 19px; margin-bottom: var(--space-2); }
.fact p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.fact .fact-figure { display: flex; align-items: baseline; gap: 8px; margin-bottom: var(--space-3); color: var(--ink); font-family: var(--font-en); font-size: 52px; font-weight: 500; line-height: 1; }
.fact .fact-unit { font-family: var(--font-body); font-size: 18px; font-weight: 500; color: var(--ink-soft); }
.fact-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--space-3); border-radius: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-light); }
.fact-icon svg { width: 26px; height: 26px; }

/* "What happens next" (Contact, Careers) and company details. */
.next-steps { margin-top: var(--space-7); }
.next-steps-title { font-size: clamp(24px, 3vw, 30px); margin-bottom: var(--space-2); }
.next-steps-lead { font-weight: 500; color: var(--ink); margin-bottom: 0; }
.company-facts { margin-top: var(--space-6); padding: var(--space-4) var(--space-5); border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--surface); }
.company-facts-title { font-size: 16px; margin-bottom: var(--space-2); }
.company-facts ul { list-style: none; display: grid; gap: 2px; font-size: 15px; color: var(--ink-soft); }

/* 90-day guarantee note under the recruitment service. */
.guarantee-note { margin: var(--space-4) 0 0; padding: var(--space-3) var(--space-4); border-inline-start: 3px solid var(--gold-500); background: var(--bg-alt); border-radius: var(--radius-sm); font-size: 16px; color: var(--ink-soft); }
.guarantee-note strong { color: var(--ink); }

/* End of the About page: next step buttons. */
.about-next .section-head { margin-bottom: 0; }
.about-next .hero-actions { justify-content: center; margin-top: var(--space-5); }
.about-next .btn--outline { margin-top: 0; min-height: 48px; font-size: 16px; }

/* Smaller "Need help?" box in the middle of each article. */
.insight-help-mid { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin: var(--space-6) 0; padding: var(--space-5); border-radius: var(--radius); border: 1px solid var(--line-gold); background: var(--bg-alt); }
.insight-help-mid p { margin: 0; flex: 1 1 260px; color: var(--ink-soft); }
.insight-help-mid .insight-help-mid-title { flex-basis: 100%; color: var(--ink); font-weight: 500; font-size: 19px; }
.insight-body .insight-help-mid a.btn { text-decoration: none; color: var(--navy-900); font-weight: 500; }

/* Search box on article pages (above "Related articles"). */
.insight-search--article { margin-bottom: var(--space-7); }
.insight-search--article .h2 { font-size: clamp(22px, 2.6vw, 28px); }

/* Phones: short breadcrumbs (the current page's title is shown right below them). */
@media (max-width: 767px) { .breadcrumbs li:last-child { display: none; } }
