/* =====================================================================
   Sky Employment Office W.L.L — shared stylesheet
   Bilingual (EN / AR), mobile-first, RTL-aware.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brand:      #1E2A78;
  --brand-2:    #2E3C9F;
  --brand-3:    #3B4CC0;
  --white:      #FFFFFF;
  --surface:    #F4F6FB;
  --surface-2:  #EAEEF8;
  --ink:        #1A1A2E;
  --muted:      #565E7C;
  --line:       #E2E7F5;
  --ring:       rgba(46, 60, 159, .38);

  --radius:     14px;
  --radius-lg:  20px;
  --radius-pill:999px;

  --shadow-sm:  0 1px 2px rgba(26, 26, 46, .05), 0 6px 16px rgba(26, 26, 46, .05);
  --shadow-md:  0 12px 34px rgba(30, 42, 120, .12);
  --shadow-nav: 0 6px 24px rgba(30, 42, 120, .10);

  --container:  1180px;
  --gutter:     clamp(18px, 4vw, 32px);
  --header-h:   72px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Arabic typography */
:root:lang(ar),
:root[dir="rtl"] {
  --font-body: "Tajawal", "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Tajawal", "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brand);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
:root[dir="rtl"] h1,
:root[dir="rtl"] h2,
:root[dir="rtl"] h3,
:root[dir="rtl"] h4 { letter-spacing: 0; line-height: 1.4; }

h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); }
h4 { font-size: 1.02rem; }

p  { margin: 0 0 1.05em; color: var(--muted); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--brand); }

strong, b { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Keep Latin data (phones, email, brand) LTR inside Arabic copy */
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(54px, 7vw, 96px); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(38px, 5vw, 64px); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(46, 60, 159, .08);
  padding: .4em .9em;
  border-radius: var(--radius-pill);
  margin-bottom: 1em;
}
:root[dir="rtl"] .eyebrow { letter-spacing: 0; }

.lede { font-size: clamp(1.02rem, .98rem + .25vw, 1.14rem); color: var(--muted); }
.muted { color: var(--muted); }
.text-center { text-align: center; }

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: .7em 1.2em;
  border-radius: 0 0 10px 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  line-height: 1;
  padding: .95em 1.6em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(30, 42, 120, .22); }
.btn-primary:hover { background: var(--brand-2); color: #fff; }

.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }

.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--surface); color: var(--brand); }

.btn-ghost-light { border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--brand); }

.btn-sm { padding: .72em 1.25em; font-size: .88rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
/* Frosted header only from the desktop breakpoint up: backdrop-filter creates a
   containing block for fixed children, which would trap the mobile nav drawer. */
@media (min-width: 980px) {
  .site-header {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
  }
}
.site-header.is-stuck { box-shadow: var(--shadow-nav); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .7em; color: var(--brand); }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .01em;
  color: var(--brand);
}
.brand-sub { font-size: .68rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
:root[dir="rtl"] .brand-sub { letter-spacing: 0; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.nav-list { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 18px); }

.nav-list a {
  display: block;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  padding: .55em .35em;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  inset-inline: .35em;
  bottom: .15em;
  height: 2px;
  background: var(--brand-2);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.nav-list a:hover { color: var(--brand); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--brand); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px;
  background: var(--surface);
}
.lang-toggle a {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  padding: .35em .8em;
  border-radius: var(--radius-pill);
  line-height: 1.5;
}
.lang-toggle a.is-active { background: var(--brand); color: #fff; }
.lang-toggle a:not(.is-active):hover { color: var(--brand); }

@media (max-width: 979px) {
  .site-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: calc(var(--header-h) + 22px) 26px 32px;
    background: #fff;
    border-inline-start: 1px solid var(--line);
    box-shadow: -18px 0 46px rgba(26, 26, 46, .14);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s ease;
    overflow-y: auto;
  }
  :root[dir="rtl"] .site-nav { transform: translateX(-105%); box-shadow: 18px 0 46px rgba(26, 26, 46, .14); }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  /* RTL open state must outrank the RTL closed rule above (equal-specificity guard) */
  :root[dir="rtl"] .site-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: .8em .2em; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-actions { margin-top: 20px; flex-direction: column; align-items: stretch; gap: 14px; }
  .nav-actions .btn { width: 100%; }
  .lang-toggle { justify-content: center; }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 50, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 90;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1000px 520px at 88% -10%, rgba(59, 76, 192, .55), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 62%, #38489C 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 20%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}

/* Text-only (centered) hero */
.hero-content { padding-block: clamp(56px, 8vw, 104px); }
.hero-content--center { max-width: 860px; margin-inline: auto; text-align: center; }
.hero-content--center .hero-sub { margin-inline: auto; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .hero-sub {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
  max-width: 34em;
  margin-bottom: 1.8em;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5em 1em;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4em;
}
:root[dir="rtl"] .hero-kicker { letter-spacing: 0; }

/* Compact hero for interior pages */
.page-hero { padding-block: clamp(46px, 6vw, 78px); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .86); max-width: 60ch; margin-bottom: 0; }
.breadcrumb { font-size: .84rem; color: rgba(255, 255, 255, .7); margin-bottom: 1em; }
.breadcrumb a { color: rgba(255, 255, 255, .88); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin-inline: .5em; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  min-height: 170px;
  border-radius: var(--radius-lg);
  border: 1px dashed #C3CCE8;
  background: linear-gradient(135deg, #EFF2FB 0%, #E1E7F7 100%);
  color: #5E668A;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
:root[dir="rtl"] .ph { letter-spacing: 0; }
.ph::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(30, 42, 120, .07);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}
.ph--wide  { aspect-ratio: 16 / 9; }
.ph--photo { aspect-ratio: 4 / 3; }
.ph--tall  { aspect-ratio: 4 / 5; }
.ph--square{ aspect-ratio: 1 / 1; }
.ph--band  { aspect-ratio: auto; min-height: clamp(140px, 20vw, 240px); }
.ph--dark {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .38);
  color: rgba(255, 255, 255, .92);
}
.ph--dark::before { border-color: rgba(255, 255, 255, .14); }

/* ---------- Real photos ---------- */
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame--portrait { aspect-ratio: 4 / 5; }
.photo-frame--photo    { aspect-ratio: 4 / 3; }
.photo-frame--hero     { aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, .18); }
.photo-frame--hero img { object-position: center 30%; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  background: var(--line);
  border-inline: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  padding: 26px clamp(16px, 2vw, 26px);
}
.trust-item .icon { color: var(--brand-2); flex: none; }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--brand); font-size: 1.05rem; }
.trust-item span { font-size: .88rem; color: var(--muted); }

/* ---------- Icons ---------- */
.icon { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 30px; height: 30px; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(46, 60, 159, .09);
  color: var(--brand-2);
  flex: none;
  margin-bottom: 18px;
}
.icon-badge--solid { background: var(--brand); color: #fff; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CBD4EE; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--brand-2);
  margin-top: .5em;
}
.card-link .chev { transition: transform .2s ease; }
.card-link:hover .chev { transform: translateX(3px); }
:root[dir="rtl"] .card-link .chev { transform: scaleX(-1); }
:root[dir="rtl"] .card-link:hover .chev { transform: scaleX(-1) translateX(3px); }

/* Feature (Why choose) tiles */
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.feature:hover { border-color: #C9D2EE; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature .icon { color: var(--brand-2); flex: none; margin-top: 3px; }
.feature h3 { font-size: 1rem; margin-bottom: .25em; }
.feature p { font-size: .9rem; margin: 0; }

/* ---------- Role / bullet lists ---------- */
.role-list { display: grid; gap: .55em; }
.role-list--2col { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .55em clamp(20px, 3vw, 44px); }
.role-list li {
  display: flex;
  align-items: flex-start;
  gap: .7em;
  color: var(--ink);
  font-size: .96rem;
  padding-block: .12em;
}
.role-list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: .58em;
  border-radius: 50%;
  background: var(--brand-2);
}

.check-list { display: grid; gap: .6em; }
.check-list li { display: flex; gap: .7em; align-items: flex-start; font-size: .96rem; }
.check-list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: .18em;
  border-radius: 50%;
  background: rgba(46, 60, 159, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E3C9F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

/* ---------- Split (text + media) ---------- */
.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--media-first > :first-child { order: 2; }
}

/* ---------- Service sections ---------- */
.service-block { padding-block: clamp(40px, 5vw, 68px); border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 0; }
.service-block .service-no {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--brand-3);
  display: block;
  margin-bottom: .6em;
}
:root[dir="rtl"] .service-block .service-no { letter-spacing: 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat .stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 1.4rem + 1.1vw, 2.3rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: .25em;
}
.stat .stat-label { font-size: .9rem; color: var(--muted); }

.stats--onbrand .stat { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.stats--onbrand .stat-value { color: #fff; }
.stats--onbrand .stat-label { color: rgba(255, 255, 255, .82); }

/* ---------- CEO message ---------- */
.ceo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.ceo-sign { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.ceo-sign strong { display: block; font-family: var(--font-head); color: var(--brand); font-size: 1.05rem; }
.ceo-sign span { font-size: .88rem; color: var(--muted); }

.quote-panel {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 42px);
}
.quote-panel blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.5; }
.quote-panel .quote-mark { font-size: 3rem; line-height: .6; opacity: .45; display: block; margin-bottom: .18em; }

/* ---------- Countries ---------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.country {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.country:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.country .flag {
  display: block;
  width: 60px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(26, 26, 46, .16);
  overflow: hidden;
}
.country .flag--globe { display: grid; place-items: center; background: var(--surface); box-shadow: none; color: var(--brand-2); }
.country span { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--brand); }

/* ---------- Process steps ---------- */
.process {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .step-no {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1rem; margin-bottom: .3em; }
.step p { font-size: .89rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta {
  background:
    radial-gradient(760px 420px at 82% 0%, rgba(59, 76, 192, .6), transparent 62%),
    linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .87); max-width: 58ch; }
.cta-inner { display: grid; gap: clamp(22px, 3vw, 40px); align-items: center; }
@media (min-width: 860px) { .cta-inner { grid-template-columns: 1.4fr auto; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(26px, 3.6vw, 48px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .4em; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .req { color: #C2364B; }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .82em 1em;
  width: 100%;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(46, 60, 159, .12);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #D4526A; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565E7C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 18px;
  padding-inline-end: 2.6em;
}
:root[dir="rtl"] .field select { background-position: left 1em center; padding-inline-end: 1em; padding-inline-start: 2.6em; }

.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.alert {
  display: none;
  gap: .7em;
  align-items: flex-start;
  background: #E9F7EF;
  border: 1px solid #B6E2C6;
  color: #1C6B3D;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: .93rem;
  margin-bottom: 20px;
}
.alert.is-visible { display: flex; }

.info-list { display: grid; gap: 20px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .icon { color: var(--brand-2); flex: none; margin-top: 3px; }
.info-item h3 { font-size: .95rem; margin-bottom: .2em; }
.info-item p, .info-item a { font-size: .95rem; margin: 0; color: var(--muted); display: block; }
.info-item a:hover { color: var(--brand); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.map-frame iframe { width: 100%; height: 100%; aspect-ratio: 16 / 10; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .78); padding-block: clamp(44px, 5vw, 70px) 0; }
.footer-grid {
  display: grid;
  gap: clamp(26px, 3vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  padding-bottom: clamp(30px, 4vw, 46px);
}
.site-footer h3 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}
:root[dir="rtl"] .site-footer h3 { letter-spacing: 0; }
.site-footer p { color: rgba(255, 255, 255, .74); font-size: .92rem; }
.site-footer a { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: inline-flex; align-items: center; gap: .7em; margin-bottom: 16px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; background: #fff; padding: 2px; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 1rem; line-height: 1.25; display: block; }
.footer-links { display: grid; gap: .55em; }
.footer-contact { display: grid; gap: .55em; }
.footer-contact div { display: flex; gap: .6em; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: rgba(255, 255, 255, .6); flex: none; margin-top: .28em; }
.cr-badge {
  display: inline-block;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-pill);
  padding: .35em .9em;
  font-size: .78rem;
  color: rgba(255, 255, 255, .82);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
}
.footer-bottom p { margin: 0; font-size: .84rem; }

/* ---------- Scroll-in animation ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, .61, .36, 1);
}
.js .reveal-d1.is-visible { transition-delay: .07s; }
.js .reveal-d2.is-visible { transition-delay: .14s; }
.js .reveal-d3.is-visible { transition-delay: .21s; }

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

@media print {
  .site-header, .nav-scrim, .cta, .map-frame { display: none !important; }
  body { color: #000; }
}
