/* ==========================================================================
   Personnel Kafeel Management — design system (shared across every page)
   Dark, futuristic, SpaceX-influenced: bold type, generous space, subtle motion.
   Extracted from the previously-inlined per-page copy now that the site
   deploys as one atomic build (HTML and this file ship together), so the
   original "never render unstyled" risk from a separate CSS request no
   longer applies.
   ========================================================================== */

:root {
  --bg: #f8f9fc;
  --bg-alt: #eef1f7;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --border: rgba(16, 24, 43, 0.09);
  --border-soft: rgba(16, 24, 43, 0.06);
  --text: #12182b;
  --text-dim: #545f78;
  --text-faint: #8992a8;
  --accent: #1f7fc4;
  --accent-2: #2aa9dd;
  --gold: #c9862c;
  --danger: #d9463f;
  --coral: #dd6a41;
  --purple: #7859cf;
  --teal: #16916b;
  --pink: #cc4779;
  --on-accent: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shell: 1180px;
  --ease: cubic-bezier(.19,1,.22,1);
  --shadow-soft: 0 18px 40px -20px rgba(16, 24, 43, 0.18);
  --shadow-lift: 0 24px 60px -24px rgba(16, 24, 43, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- background canvas ---------- */
#fieldCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(31,127,196,0.09), transparent 60%),
    radial-gradient(ellipse 800px 500px at 100% 10%, rgba(201,134,44,0.08), transparent 60%),
    linear-gradient(var(--bg), var(--bg));
  pointer-events: none;
}

main, header, footer, .topbar { position: relative; z-index: 1; }

/* ---------- topbar ---------- */
.topbar {
  background: linear-gradient(90deg, rgba(79,195,255,0.12), rgba(247,185,85,0.08));
  border-bottom: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text-dim);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__corridor { color: var(--accent-2); font-weight: 500; letter-spacing: .02em; }
.topbar__arrow { color: var(--gold); }

.lang-switch { display: flex; gap: 4px; background: rgba(255,255,255,0.05); border-radius: 999px; padding: 3px; }
.lang-switch__btn {
  display: flex; align-items: center; gap: 6px;
  border: none;
  background: transparent;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-switch__btn .fi { width: 16px; height: 12px; border-radius: 2px; }
.lang-switch__btn.is-active { background: rgba(79,195,255,0.18); color: var(--text); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(248, 249, 252, 0.82);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #f7f5ef;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,0.5);
}
.brand__logo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__logo-tile--footer { width: 64px; height: 64px; border-radius: 12px; margin-bottom: 16px; }
.brand__text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  letter-spacing: .04em;
  font-size: 15px;
  color: var(--text-dim);
}
.brand__text strong { color: var(--text); font-weight: 700; }
.brand__text--footer { font-size: 20px; display: block; margin-bottom: 14px; }

.site-nav { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.site-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--text); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: right .25s var(--ease);
}
.site-nav a:hover::after { right: 0; }

/* ---------- nav dropdown ---------- */
.nav-item { position: relative; }
.nav-item__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav-item__trigger:hover, .nav-item.is-open .nav-item__trigger { color: var(--text); }
.nav-item__chevron { font-size: 10px; line-height: 1; transition: transform .2s var(--ease); }
.nav-item.is-open .nav-item__chevron { transform: rotate(180deg); }
.nav-item__menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(16,24,43,0.18);
  padding: 8px;
  z-index: 60;
}
/* Desktop: open on hover (and on keyboard focus-within, for accessibility).
   is-open (below) is the mobile tap-accordion state set by JS. */
@media (min-width: 681px) {
  .nav-item--dropdown:hover .nav-item__menu,
  .nav-item--dropdown:focus-within .nav-item__menu {
    display: flex;
    flex-direction: column;
  }
  .nav-item--dropdown:hover .nav-item__chevron,
  .nav-item--dropdown:focus-within .nav-item__chevron {
    transform: rotate(180deg);
  }
  /* invisible bridge so the pointer can travel from trigger to menu
     without the gap between them closing the hover state */
  .nav-item--dropdown::after {
    content: "";
    position: absolute;
    top: 100%; left: 0; right: 0; height: 14px;
  }
}
.nav-item.is-open .nav-item__menu { display: flex; flex-direction: column; }
.nav-item__menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}
.nav-item__menu a::after { display: none; }
.nav-item__menu a:hover { background: var(--bg-alt); color: var(--text); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  box-shadow: 0 10px 26px -10px rgba(31,127,196,0.55);
}
.btn--solid:hover { box-shadow: 0 12px 32px -8px rgba(31,127,196,0.65); }
.btn--gold {
  background: linear-gradient(90deg, var(--gold), #e6ab55);
  color: #2b1a05;
  box-shadow: 0 10px 26px -10px rgba(201,134,44,0.45);
}
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); background: rgba(79,195,255,0.06); }
.btn--lg { padding: 15px 30px; font-size: 15.5px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- section scaffolding ---------- */
section { position: relative; padding: 100px 0; }
.section--tight { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { font-size: 17px; margin-top: 14px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero__eyebrow { color: var(--gold); }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 18px; max-width: 520px; margin-top: 20px; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero__meta div { font-family: 'Space Grotesk', sans-serif; }
.hero__meta strong { display: block; font-size: 24px; color: var(--text); }
.hero__meta span { font-size: 12.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: radial-gradient(circle at 30% 20%, rgba(31,127,196,0.14), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(201,134,44,0.13), transparent 55%),
              var(--surface);
  overflow: visible;
  box-shadow: var(--shadow-lift);
  animation: heroFloat 7s var(--ease) infinite;
}
.hero__banner-mask { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; }
.hero__globe { position: absolute; inset: 0; }
.hero__visual .orbit {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero__visual .node {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px 3px rgba(42,169,221,.45);
}
.hero__visual .node--gold { background: var(--gold); box-shadow: 0 0 12px 3px rgba(201,134,44,.45); }
.hero__visual .core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,127,196,0.3), rgba(31,127,196,0) 70%);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.floating-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lift);
  font-family: 'Space Grotesk', sans-serif;
  animation: chipFloat 5s var(--ease) infinite;
}
.floating-chip strong { font-size: 19px; color: var(--text); line-height: 1.1; }
.floating-chip span { font-size: 10.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.floating-chip--top { top: -18px; left: -22px; animation-delay: .4s; }
.floating-chip--bottom { bottom: -18px; right: -22px; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@media (max-width: 980px) {
  .floating-chip--top { top: -14px; left: -10px; }
  .floating-chip--bottom { bottom: -14px; right: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual, .floating-chip { animation: none; }
}

/* ---------- hero banner carousel ---------- */
.hero-carousel { position: relative; }
.hero-carousel__viewport { position: relative; min-height: 380px; }
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.hero-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  z-index: 1;
}
.hero-carousel__copy h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.16;
  text-align: left;
}
.hero-carousel__copy .btn { margin-top: 28px; }
.hero-carousel__art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1.05;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.hero-carousel__art__photo {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 84% 88% at center, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 84% 88% at center, #000 62%, transparent 100%);
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
  filter: saturate(1.05) contrast(1.03);
}
.hero-carousel__art__badge {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 6%;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lift);
}
.hero-carousel__art__badge svg { width: 28px; height: 28px; color: #fff; filter: drop-shadow(0 4px 10px rgba(16,24,43,0.28)); }
.hero-carousel__slide--manpower .hero-carousel__art__badge { background: linear-gradient(150deg, var(--accent-2), var(--accent)); }
.hero-carousel__slide--project .hero-carousel__art__badge { background: linear-gradient(150deg, #ff9a76, var(--coral)); }
.hero-carousel__slide--workforce .hero-carousel__art__badge { background: linear-gradient(150deg, #9a7fe8, var(--purple)); }
.hero-carousel__slide--turkiye .hero-carousel__art__badge { background: linear-gradient(150deg, #ff6b57, #d63447); }
.hero-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.hero-carousel__arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-carousel__arrow:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.hero-carousel__dots { display: flex; gap: 8px; }
.hero-carousel__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hero-carousel__dot.is-active { background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scale(1.3); }
@media (max-width: 760px) {
  .hero-carousel__viewport { min-height: 520px; }
  .hero-carousel__slide { grid-template-columns: 1fr; text-align: center; }
  .hero-carousel__copy h1 { text-align: center; }
  .hero-carousel__art { justify-self: center; max-width: 240px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel__slide { transition: opacity .3s linear; }
}

/* ---------- hero path banners (hire / find work) ---------- */
.hero__intro { max-width: 680px; margin: 0 auto; text-align: center; }
.hero__intro .lead { margin-left: auto; margin-right: auto; max-width: 600px; }
.path-banners {
  position: relative;
  display: flex;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  min-height: 300px;
}
.path-banner {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 38px 40px 34px;
  color: #fff;
  overflow: hidden;
  transition: flex-grow .6s cubic-bezier(.19,1,.22,1);
}
.path-banner::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.28), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 18px);
  pointer-events: none;
}
.path-banner--hire { background: linear-gradient(150deg, var(--accent-2), var(--accent)); }
.path-banner--find { background: linear-gradient(150deg, #e6b04e, var(--gold)); }
.path-banner:hover, .path-banner:focus-visible { flex-grow: 1.35; outline: none; }
.path-banner__tag {
  position: relative; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 20px;
}
.path-banner__icon { position: relative; z-index: 2; width: 38px; height: 38px; margin-bottom: 16px; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2)); }
.path-banner h2 { position: relative; z-index: 2; font-size: clamp(21px, 2.4vw, 28px); margin-bottom: 8px; color: #fff; }
.path-banner__sub { position: relative; z-index: 2; font-size: 14.5px; color: rgba(255,255,255,0.88); max-width: 360px; margin: 0; }
.path-banner__drawer {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 9px;
  max-height: 0; opacity: 0; margin-top: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.path-banner:hover .path-banner__drawer, .path-banner:focus-visible .path-banner__drawer {
  max-height: 220px; opacity: 1; margin-top: 20px;
}
.path-banner__point { font-size: 13.5px; color: rgba(255,255,255,0.92); }
.path-banner__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px;
  color: #fff;
}
.path-banners__seam {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 5;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--text);
  line-height: 1.3;
  padding: 10px;
  pointer-events: none;
}
@media (max-width: 760px) {
  .path-banners { flex-direction: column; }
  .path-banner { flex: none; }
  .path-banner:hover, .path-banner:focus-visible { flex-grow: 0; }
  .path-banners__seam { position: static; transform: none; margin: -16px auto; width: 92px; height: 92px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .path-banner, .path-banner__drawer { transition: none; }
}

/* ---------- category band ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category-card {
  --card-accent: var(--accent);
  --card-accent-2: var(--accent-2);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.category-card__art {
  position: relative;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-accent), var(--card-accent-2));
}
.category-card__art::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 26% 24%, rgba(255,255,255,0.38), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 16px);
}
.category-card__icon {
  position: relative;
  z-index: 2;
  width: 42px; height: 42px;
  margin-bottom: 0;
  color: #fff;
  filter: drop-shadow(0 6px 14px rgba(16,24,43,0.28));
}
.category-card__body { padding: 20px 20px 24px; }
.category-card h3 { font-size: 16px; margin-bottom: 6px; }
.category-card p { font-size: 13.5px; margin: 0; }
.category-card--general { --card-accent: #ff9a76; --card-accent-2: var(--coral); }
.category-card--skilled { --card-accent: var(--accent-2); --card-accent-2: var(--accent); }
.category-card--eng { --card-accent: #9a7fe8; --card-accent-2: var(--purple); }
.category-card--it { --card-accent: #23c091; --card-accent-2: var(--teal); }
.category-card--sup { --card-accent: #e6b04e; --card-accent-2: var(--gold); }

/* ---------- talent drawer cards (home category tiles) ---------- */
.drawer-card {
  position: relative;
  height: 288px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.drawer-card:hover, .drawer-card.is-active, .drawer-card:focus-visible { box-shadow: var(--shadow-lift); transform: translateY(-5px); outline: none; }
.drawer-card__header {
  position: relative;
  z-index: 3;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--card-accent), var(--card-accent-2));
  color: #fff;
}
.drawer-card__header svg { width: 28px; height: 28px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(16,24,43,0.25)); }
.drawer-card__header h3 { font-size: 14.5px; line-height: 1.2; margin: 0; color: #fff; }
.drawer-card__front {
  position: absolute;
  left: 0; right: 0; top: 74px; bottom: 0;
  z-index: 2;
  background: linear-gradient(165deg, var(--card-accent), var(--card-accent-2));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  overflow: hidden;
  transition: transform .55s cubic-bezier(.19,1,.22,1);
}
.drawer-card__front::after {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.28) 50%, transparent 58%);
  transform: translateX(-70%);
  transition: transform .8s var(--ease);
}
.drawer-card:hover .drawer-card__front::after, .drawer-card.is-active .drawer-card__front::after, .drawer-card:focus-visible .drawer-card__front::after { transform: translateX(70%); }
.drawer-card__handle { width: 42px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.55); }
.drawer-card__hint {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  color: rgba(255,255,255,0.85);
}
.drawer-card__hint svg { width: 11px; height: 11px; animation: drawerHint 1.6s ease-in-out infinite; }
@keyframes drawerHint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.drawer-card:hover .drawer-card__front, .drawer-card.is-active .drawer-card__front, .drawer-card:focus-visible .drawer-card__front { transform: translateY(100%); }
.drawer-card__inside {
  position: absolute;
  left: 0; right: 0; top: 74px; bottom: 0;
  z-index: 1;
  padding: 18px 18px 20px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 12px;
}
.drawer-card__inside p { font-size: 13px; color: var(--text-dim); margin: 0; }
.drawer-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.drawer-card__chip {
  font-size: 10.5px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-dim);
  border: 1px solid var(--border-soft);
}
@media (prefers-reduced-motion: reduce) {
  .drawer-card, .drawer-card__front, .drawer-card__front::after, .drawer-card__hint svg { transition: none; animation: none; }
}
.drawer-card--general { --card-accent: #ff9a76; --card-accent-2: var(--coral); }
.drawer-card--skilled { --card-accent: var(--accent-2); --card-accent-2: var(--accent); }
.drawer-card--eng { --card-accent: #9a7fe8; --card-accent-2: var(--purple); }
.drawer-card--it { --card-accent: #23c091; --card-accent-2: var(--teal); }
.drawer-card--sup { --card-accent: #e6b04e; --card-accent-2: var(--gold); }

.card.category-card--general, .card.category-card--skilled, .card.category-card--eng,
.card.category-card--it, .card.category-card--sup, .card.category-card--bulk {
  border-top: 3px solid var(--card-accent);
}
.card.category-card--bulk { --card-accent: var(--pink); }

/* ---------- stats strip ---------- */
.stats-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-left: 1px solid var(--border-soft);
}
.stat-item:first-child { border-left: none; }
.stat-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  background: linear-gradient(90deg, var(--accent-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item span { font-size: 13px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }
.stat-item:nth-child(1) strong { background: linear-gradient(90deg, var(--accent), var(--teal)); -webkit-background-clip: text; background-clip: text; }
.stat-item:nth-child(2) strong { background: linear-gradient(90deg, var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; }
.stat-item:nth-child(3) strong { background: linear-gradient(90deg, var(--teal), var(--gold)); -webkit-background-clip: text; background-clip: text; }
.stat-item:nth-child(4) strong { background: linear-gradient(90deg, var(--gold), var(--coral)); -webkit-background-clip: text; background-clip: text; }

/* ---------- stat orbits (home) ---------- */
.stat-orbits { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-orbits::before {
  content: "";
  position: absolute;
  top: 30px; left: 9%; right: 9%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.stat-orbit {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 30px 16px;
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease);
}
.stat-orbit:hover { transform: translateY(-6px); }
.stat-orbit__icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orbit-a), var(--orbit-b));
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s var(--ease);
}
.stat-orbit:hover .stat-orbit__icon { box-shadow: var(--shadow-lift); }
.stat-orbit__icon svg { width: 26px; height: 26px; }
.stat-orbit strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  background: linear-gradient(90deg, var(--orbit-a), var(--orbit-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-orbit span { font-size: 12.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }
.stat-orbit--a { --orbit-a: var(--accent-2); --orbit-b: var(--accent); }
.stat-orbit--b { --orbit-a: #9a7fe8; --orbit-b: var(--purple); }
.stat-orbit--c { --orbit-a: #23c091; --orbit-b: var(--teal); }
.stat-orbit--d { --orbit-a: #e6b04e; --orbit-b: var(--gold); }
@media (max-width: 980px) {
  .stat-orbits { grid-template-columns: repeat(2, 1fr); }
  .stat-orbits::before { display: none; }
}

/* ---------- process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step {
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .05em;
  display: block;
  margin-bottom: 14px;
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; margin: 0; }
.process-arrow { display: none; }

/* ---------- connected stepper (home how-it-works) ---------- */
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stepper__line {
  position: absolute;
  top: 22px; left: 11%; right: 11%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple), var(--teal), var(--gold));
  opacity: .32;
  z-index: 0;
}
.stepper__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stepper__node {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--step-a), var(--step-b));
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stepper__step:hover .stepper__node { transform: scale(1.12); box-shadow: var(--shadow-lift); }
.stepper__card {
  padding: 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  width: 100%;
}
.stepper__step:hover .stepper__card { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.stepper__card h4 { font-size: 15.5px; margin-bottom: 6px; }
.stepper__card p { font-size: 13.5px; margin: 0; }
.stepper__step--1 { --step-a: var(--accent-2); --step-b: var(--accent); }
.stepper__step--2 { --step-a: #9a7fe8; --step-b: var(--purple); }
.stepper__step--3 { --step-a: #23c091; --step-b: var(--teal); }
.stepper__step--4 { --step-a: #e6b04e; --step-b: var(--gold); }
@media (max-width: 980px) {
  .stepper { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stepper__line { display: none; }
}
@media (max-width: 680px) {
  .stepper { grid-template-columns: 1fr; }
}

/* ---------- two-col feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__visual { order: 2; }
.checklist { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); }
.checklist svg { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; color: var(--accent-2); }
.checklist__badge {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 30px; height: 30px;
  margin-top: -3px;
  border-radius: 50%;
  background: rgba(31,127,196,0.12);
  color: var(--accent);
  transition: transform .25s var(--ease);
}
.checklist__badge svg { width: 15px; height: 15px; margin-top: 0; }
.checklist li:hover .checklist__badge { transform: scale(1.1); }
.checklist li:nth-child(2) .checklist__badge { background: rgba(120,89,207,0.12); color: var(--purple); }
.checklist li:nth-child(3) .checklist__badge { background: rgba(22,145,107,0.12); color: var(--teal); }
.checklist li:nth-child(4) .checklist__badge { background: rgba(201,134,44,0.12); color: var(--gold); }

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

/* ---------- services expanding drawer tiles ---------- */
.services-tiles {
  display: flex;
  gap: 14px;
  height: 460px;
}
.service-tile {
  position: relative;
  flex: 1 1 0%;
  min-width: 84px;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  background: linear-gradient(160deg, var(--tile-a), var(--tile-b));
  box-shadow: var(--shadow-soft);
  transition: flex-grow .6s cubic-bezier(.19,1,.22,1), box-shadow .3s var(--ease);
}
.service-tile::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 22% 20%, rgba(255,255,255,0.35), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 16px);
  pointer-events: none;
}
.service-tile:hover, .service-tile.is-active, .service-tile:focus-visible {
  flex-grow: 5;
  box-shadow: var(--shadow-lift);
  outline: none;
}
.service-tile__rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0;
  z-index: 2;
}
.service-tile__icon {
  width: 36px; height: 36px;
  color: #fff;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(16,24,43,0.28));
}
.service-tile__num {
  margin-top: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.7);
}
.service-tile__label {
  margin-top: auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: opacity .2s var(--ease);
}
.service-tile:hover .service-tile__label,
.service-tile.is-active .service-tile__label,
.service-tile:focus-visible .service-tile__label { opacity: 0; }
.service-tile__panel {
  position: absolute;
  inset: 0;
  padding: 30px 32px 30px 112px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity .35s var(--ease) .05s, transform .35s var(--ease) .05s;
  z-index: 2;
}
.service-tile:hover .service-tile__panel,
.service-tile.is-active .service-tile__panel,
.service-tile:focus-visible .service-tile__panel { opacity: 1; transform: translateX(0); }
.service-tile__panel h3 { color: #fff; font-size: 18.5px; margin-bottom: 10px; }
.service-tile__panel p { color: rgba(255,255,255,0.92); font-size: 13.5px; margin: 0; max-width: 360px; }
.service-tile--general { --tile-a: #ff9a76; --tile-b: var(--coral); }
.service-tile--skilled { --tile-a: var(--accent-2); --tile-b: var(--accent); }
.service-tile--eng { --tile-a: #9a7fe8; --tile-b: var(--purple); }
.service-tile--it { --tile-a: #23c091; --tile-b: var(--teal); }
.service-tile--sup { --tile-a: #e6b04e; --tile-b: var(--gold); }
.service-tile--bulk { --tile-a: #e17aa8; --tile-b: var(--pink); }

@media (max-width: 760px) {
  .services-tiles { flex-direction: column; height: auto; }
  .service-tile { flex: none; height: 68px; transition: height .5s var(--ease), box-shadow .3s var(--ease); }
  .service-tile:hover, .service-tile.is-active, .service-tile:focus-visible { flex-grow: 0; height: 230px; }
  .service-tile__rail {
    inset: 0 0 auto 0;
    width: 100%;
    height: 68px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 20px;
  }
  .service-tile__label { writing-mode: horizontal-tb; transform: none; margin-top: 0; }
  .service-tile__num { margin-top: 0; margin-left: auto; }
  .service-tile__panel { padding: 82px 22px 22px; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .service-tile, .service-tile__label, .service-tile__panel { transition: none; }
}

/* ---------- cards / testimonials ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.testimonial { position: relative; padding-top: 46px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.testimonial__quote-mark {
  position: absolute;
  top: 6px; left: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px;
  line-height: 1;
  opacity: .16;
  pointer-events: none;
}
.testimonial:nth-child(1) .testimonial__quote-mark { color: var(--accent); }
.testimonial:nth-child(2) .testimonial__quote-mark { color: var(--purple); }
.testimonial:nth-child(3) .testimonial__quote-mark { color: var(--teal); }
.testimonial p { color: var(--text); font-size: 15px; position: relative; z-index: 1; }
.testimonial__by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #04121c; font-weight: 700; font-family: 'Space Grotesk', sans-serif; font-size: 14px;
}
.testimonial:nth-child(1) .avatar { background: linear-gradient(135deg, var(--accent), var(--teal)); }
.testimonial:nth-child(2) .avatar { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.testimonial:nth-child(3) .avatar { background: linear-gradient(135deg, var(--teal), var(--gold)); }
.testimonial__by strong { display: block; font-size: 13.5px; color: var(--text); }
.testimonial__by span { font-size: 12px; color: var(--text-faint); }
.note {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 24px;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}

/* ---------- country grid ---------- */
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.country-chip {
  padding: 20px 10px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-size: 13.5px;
  font-weight: 500;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.country-chip:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,127,196,0.12), var(--shadow-lift);
}
.country-chip .fi {
  display: block;
  margin: 0 auto 10px;
  width: 34px;
  height: 26px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 4px 10px -4px rgba(0,0,0,0.6);
  background-size: cover;
  transition: transform .2s var(--ease);
}
.country-chip:hover .fi { transform: scale(1.1); }

/* ---------- corridor bar (home countries) ---------- */
.corridor-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}
.corridor-bar__origin, .corridor-bar__dest {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px;
  white-space: nowrap;
  color: var(--text);
}
.corridor-bar__origin svg, .corridor-bar__dest svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.corridor-bar__path { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px); }
.corridor-bar__plane {
  position: absolute; top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  color: var(--accent);
  animation: corridorFly 4.5s linear infinite;
}
@keyframes corridorFly {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (max-width: 680px) {
  .corridor-bar { flex-wrap: wrap; justify-content: center; border-radius: var(--radius-lg); }
  .corridor-bar__path { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .corridor-bar__plane { animation: none; left: 50%; opacity: 1; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(31,127,196,0.12), rgba(201,134,44,0.08));
  padding: 60px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); }
.cta-band__actions { display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.cta-band__float {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  color: var(--accent);
  animation: ctaFloat 5s ease-in-out infinite;
  z-index: 1;
}
.cta-band__float svg { width: 22px; height: 22px; }
.cta-band__float--1 { top: 20px; left: 7%; }
.cta-band__float--2 { bottom: 20px; right: 7%; color: var(--gold); animation-delay: 1.2s; }
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 760px) {
  .cta-band__float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band__float { animation: none; }
}

/* ---------- embrace band (contact) ---------- */
.embrace-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,154,118,0.14), rgba(201,134,44,0.09));
  padding: 54px 40px;
  text-align: center;
}
.embrace-band::before, .embrace-band::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .55;
  pointer-events: none;
}
.embrace-band::before { background: radial-gradient(circle, rgba(255,154,118,0.35), transparent 70%); top: -90px; left: -70px; }
.embrace-band::after { background: radial-gradient(circle, rgba(201,134,44,0.3), transparent 70%); bottom: -100px; right: -70px; }
.embrace-band__icon {
  position: relative; z-index: 1;
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ff9a76, var(--coral));
  color: #fff;
  box-shadow: var(--shadow-lift);
  animation: embraceBreathe 3.2s ease-in-out infinite;
}
.embrace-band__icon svg { width: 28px; height: 28px; }
.embrace-band .eyebrow { position: relative; z-index: 1; }
.embrace-band h2 { position: relative; z-index: 1; font-size: clamp(22px, 2.6vw, 30px); max-width: 680px; margin: 0 auto 14px; }
.embrace-band p { position: relative; z-index: 1; font-size: 15.5px; max-width: 620px; margin: 0 auto; color: var(--text-dim); }
@keyframes embraceBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .embrace-band__icon { animation: none; }
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--text-dim); margin-bottom: 7px; }
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(79,195,255,0.05);
}
textarea { resize: vertical; min-height: 120px; }
.field-note { font-size: 12px; color: var(--text-faint); margin-top: 6px; }
.form-notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent);
}
.form-notice--success { background: rgba(22,145,107,0.10); border-left-color: var(--teal); color: var(--text); }
.form-notice--error { background: rgba(217,70,63,0.10); border-left-color: var(--danger); color: var(--text); }
.radio-row { display: flex; gap: 10px; }
.radio-pill {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.radio-pill input { display: none; }
.radio-pill:has(input:checked) { border-color: var(--accent); background: rgba(79,195,255,0.08); color: var(--text); }

.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.contact-info-card svg.icon-linkedin { fill: currentColor; stroke: none; color: #0a66c2; }
.contact-info-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.contact-info-card svg { width: 24px; height: 24px; color: var(--accent-2); margin-bottom: 14px; }
.contact-info-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; margin: 0; }

.map-frame {
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

/* ---------- office map (contact) — dissolves into the page instead of a hard-edged box ---------- */
.office-map { position: relative; }
.office-map__frame {
  position: relative;
  aspect-ratio: 21 / 8;
  background: var(--bg);
  filter: saturate(.35) brightness(1.04) contrast(.96);
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at center, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 78% at center, #000 55%, transparent 100%);
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  transition: filter .6s var(--ease);
}
.office-map:hover .office-map__frame, .office-map:focus-within .office-map__frame { filter: saturate(1) brightness(1) contrast(1); }
.office-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.office-map:hover .office-map__frame iframe, .office-map:focus-within .office-map__frame iframe { pointer-events: auto; }
.office-map__card {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 560px;
  margin: -34px auto 0;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
}
.office-map__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
}
.office-map__icon svg { width: 19px; height: 19px; }
.office-map__card strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--text); }
.office-map__card span { font-size: 12.5px; color: var(--text-dim); }
.office-map__directions { margin-left: auto; flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
@media (max-width: 680px) {
  .office-map__frame { aspect-ratio: 4 / 3; }
  .office-map__card { margin-top: -26px; justify-content: center; text-align: center; }
  .office-map__directions { margin-left: 0; width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .office-map__frame { transition: none; }
}

.placeholder-token {
  color: var(--gold);
  border-bottom: 1px dashed rgba(247,185,85,0.5);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border-soft); }
.faq-item { border-bottom: 1px solid var(--border-soft); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--gold); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 14px; font-size: 14.5px; }

/* ---------- timeline (about) ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: "";
  position: absolute; left: -30px; top: 4px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent-2);
  box-shadow: 0 0 0 3px var(--surface);
}
.timeline-item:nth-child(2)::before { border-color: var(--purple); }
.timeline-item:nth-child(3)::before { border-color: var(--teal); }
.timeline-item:nth-child(4)::before { border-color: var(--gold); }
.timeline-item strong { display: block; color: var(--gold); font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: .05em; margin-bottom: 6px; }
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { margin: 0; font-size: 14.5px; }

.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person-card { text-align: center; }
.person-card .avatar { width: 84px; height: 84px; font-size: 26px; margin: 0 auto 16px; }
.person-card h4 { font-size: 15.5px; margin-bottom: 2px; }
.person-card span { font-size: 12.5px; color: var(--text-faint); }

/* ---------- badges ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.badge span.badge__swatch {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(201,134,44,0.12);
  flex-shrink: 0;
}
.badge svg { width: 16px; height: 16px; color: var(--gold); }
.badge:nth-child(1) svg { color: var(--teal); }
.badge:nth-child(1) .badge__swatch { background: rgba(22,145,107,0.12); }
.badge:nth-child(2) svg { color: var(--accent-2); }
.badge:nth-child(2) .badge__swatch { background: rgba(31,127,196,0.12); }
.badge:nth-child(3) svg { color: var(--purple); }
.badge:nth-child(3) .badge__swatch { background: rgba(120,89,207,0.12); }
.badge:nth-child(4) svg { color: var(--gold); }
.badge:nth-child(4) .badge__swatch { background: rgba(201,134,44,0.12); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 72px 0 28px;
  background: var(--bg-alt);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.site-footer__col a, .site-footer__col span { font-size: 14px; color: var(--text-dim); }
.site-footer__col a:hover { color: var(--accent-2); }
.site-footer__brand p { font-size: 13.5px; max-width: 340px; }
.site-footer__license { font-size: 12.5px; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; margin: 0 auto; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse .split__visual { grid-template-columns: 1fr; order: initial; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__actions .btn--ghost { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }
  .category-grid, .card-grid, .country-grid, .people-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 70px 0; }
  .cta-band { padding: 40px 26px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* mobile nav open state */
body.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 85px; left: 0; right: 0;
  bottom: 0;
  overflow-y: auto;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 20px 28px 28px;
  gap: 18px;
  z-index: 49;
}
body.nav-open .nav-item__trigger { width: 100%; justify-content: space-between; }
body.nav-open .nav-item__menu {
  position: static;
  display: none;
  box-shadow: none;
  border: none;
  background: none;
  padding: 4px 0 0 14px;
  margin-top: 6px;
}
body.nav-open .nav-item.is-open .nav-item__menu { display: flex; }

@media (max-width: 760px) {
  .topbar__corridor { display: none; }
}

/* ---------- Arabic / RTL support ---------- */
[dir="rtl"] body,
body.lang-ar {
  font-family: 'Cairo', 'Inter', sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4 {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  letter-spacing: 0;
}
[dir="rtl"] .eyebrow, [dir="rtl"] .site-nav a, [dir="rtl"] .btn,
body.lang-ar .eyebrow, body.lang-ar .site-nav a, body.lang-ar .btn {
  letter-spacing: 0;
}
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }
[dir="rtl"] .checklist svg { transform: scaleX(-1); }
[dir="rtl"] .process-step::before { direction: ltr; display: inline-block; }
[dir="rtl"] .faq-item summary::after { transform: none; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .timeline::before { left: auto; right: 5px; }
[dir="rtl"] .timeline-item::before { left: auto; right: -30px; }
[dir="rtl"] .brand { flex-direction: row; }
[dir="rtl"] .site-footer__license { direction: rtl; }
[dir="rtl"] .hero-carousel__copy h1 { text-align: right; }
[dir="rtl"] .hero-carousel__art { justify-self: start; }
[dir="rtl"] .office-map__directions { margin-left: 0; margin-right: auto; }
