/* ==========================================================================
   Balkan Fortune — styles
   Brand: deep teal + coin gold (from the logo), warm neutrals, B&W photography
   ========================================================================== */

:root {
  --ink: #0b2530;
  --ink-2: #12343f;
  --ink-3: #1b4452;
  --text: #1d3038;
  --muted: #56676e;
  --muted-2: #7a8a90;

  --teal: #006f8e;
  --teal-700: #005a74;
  --teal-800: #0a4459;
  --teal-200: #b7dbe5;
  --teal-100: #d9edf2;
  --teal-50: #eef6f8;

  --gold: #c49a4a;
  --gold-600: #9c7531;
  --gold-100: #f6edda;

  --bg: #ffffff;
  --sand: #f6f4ef;
  --line: #e5e2da;
  --line-2: #d6d2c7;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 37, 48, .05), 0 2px 6px rgba(11, 37, 48, .06);
  --shadow: 0 14px 34px -14px rgba(11, 37, 48, .28);
  --shadow-lg: 0 34px 70px -24px rgba(11, 37, 48, .38);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(30px, 4vw, 44px); }
h3 { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }

ul, ol.steps, ol.timeline, ol.breadcrumb { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--teal-100); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Icons (inline SVG sprite) */
.i {
  width: 1em; height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .i { font-size: 18px; transition: transform .2s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-primary { box-shadow: 0 10px 22px -10px rgba(0, 111, 142, .7); }
.btn-primary:hover { --btn-bg: var(--teal-700); }

.btn-ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-border: var(--line-2); }
.btn-ghost:hover { --btn-border: var(--ink); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-light:hover { --btn-bg: var(--gold-100); }

.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { --btn-border: #fff; --btn-bg: rgba(255, 255, 255, .08); }

.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(11, 37, 48, .4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand img { width: auto; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.01em;
}
.brand-tag { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--teal); background: var(--teal-50); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .i { font-size: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11, 37, 48, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s, transform .2s var(--ease), visibility 0s;
  }
  .nav a:not(.btn) {
    padding: 14px 8px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav a:not(.btn):hover { background: transparent; }
  .nav .btn { margin: 16px 0 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand img { height: 42px; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: none;
  flex-wrap: wrap;
}
.section-head--split > div { max-width: 680px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.section--dark .eyebrow { color: var(--gold); }
.section-head--center .eyebrow::after {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.section--dark .lead { color: rgba(255, 255, 255, .72); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(88px, 10vw, 140px);
  background:
    radial-gradient(900px 520px at 88% 8%, var(--teal-50), transparent 70%),
    radial-gradient(600px 380px at 0% 100%, #fbf7ee, transparent 70%),
    #fff;
}
.hero-mountains {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: clamp(80px, 12vw, 170px);
  pointer-events: none;
}
.hero-mountains .m-back { fill: var(--teal-100); opacity: .7; }
.hero-mountains .m-front { fill: #fff; }
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "title"
    "media"
    "copy";
  row-gap: clamp(28px, 3.2vw, 44px);
}
.hero-title { grid-area: title; }
.hero-media { grid-area: media; }
.hero-copy {
  grid-area: copy;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px clamp(32px, 5vw, 72px);
}
.hero-copy .lead { max-width: 660px; margin: 0; }
.hero-copy .hero-actions { flex: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pill-icon {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 15px;
}

.hero h1 {
  max-width: 15em;
  margin: 18px 0 0;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hl {
  color: var(--teal);
  background: linear-gradient(transparent 72%, var(--gold-100) 72%, var(--gold-100) 94%, transparent 94%);
  padding-inline: .04em;
}
.hero .lead { font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; }
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  line-height: 1.3;
}
.hero-card strong { display: block; font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.hero-card span { font-size: 13.5px; color: var(--muted); }
.hero-card--countries {
  right: clamp(-28px, -2vw, -12px); top: 36px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 18px;
  background: var(--ink);
  max-width: 220px;
}
.hero-card--countries strong { color: #fff; font-size: 22px; }
.hero-card--countries span { color: rgba(255, 255, 255, .72); }
.icon-badge {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal);
  font-size: 22px;
  flex: none;
}

/* ---------- Facts strip ---------- */
.facts {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(48px, 6vw, 72px));
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.fact { padding: 26px 28px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--teal);
}
.fact-num small { font-size: .5em; font-weight: 700; margin-left: 4px; color: var(--ink); letter-spacing: 0; }
.fact-label { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }

/* ---------- About ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.about-media { position: relative; }
.about-media figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  background: var(--line);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.about-quote {
  position: absolute;
  right: -20px; bottom: 32px;
  max-width: 300px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
}
.about-quote .i { font-size: 26px; color: var(--gold); margin-bottom: 10px; }

.checklist { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.check-dot {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal);
  font-size: 15px;
  flex: none;
}
.check-dot .i { stroke-width: 2.6; }

/* ---------- Cards / services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.card h3 { margin-top: 20px; }
.card p { color: var(--muted); font-size: 16px; }
.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal);
  font-size: 24px;
  flex: none;
  transition: background-color .25s, color .25s;
}
.card:hover .card-icon { background: var(--teal); color: #fff; }

/* ---------- Benefits (dark) ---------- */
.benefits { overflow: hidden; }
.benefits-bg {
  position: absolute;
  right: -60px; bottom: -10px;
  width: min(680px, 80%);
  opacity: .5;
  pointer-events: none;
}
.benefit-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.benefit {
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
}
.benefit-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--gold);
}
.benefit h3 { font-size: 21px; }
.benefit p { font-size: 16px; color: rgba(255, 255, 255, .72); }

/* ---------- Jobs ---------- */
.note-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.note-pill .i { color: var(--gold-600); font-size: 18px; }

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.job {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.job:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.job-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.job-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: transform .6s var(--ease);
}
.job:hover .job-media img { transform: scale(1.05); }
.job-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 37, 48, .35));
  pointer-events: none;
}
.job-media--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .08), transparent 50%),
    linear-gradient(160deg, var(--ink-3), var(--ink));
  color: var(--teal-200);
}
.job-media--placeholder .i { font-size: 64px; stroke-width: 1.3; position: relative; z-index: 1; }
.job-media--placeholder svg.ph-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; }

.job-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.job-tag .i { color: var(--teal); font-size: 14px; }

.job-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.job-body h3 { font-size: 18.5px; line-height: 1.3; margin-bottom: 16px; }
.job-body h3 small { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.job-salary { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.job-salary-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.job-salary-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.02em;
  color: var(--teal);
}

.job--cta {
  justify-content: space-between;
  padding: 28px 24px;
  background: var(--teal);
  border-color: var(--teal);
  color: rgba(255, 255, 255, .85);
}
.job--cta h3 { color: #fff; font-size: 22px; }
.job--cta p { font-size: 15.5px; }
.job--cta .btn { margin-top: 20px; align-self: flex-start; }
.job--cta .card-icon { background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: 18px; }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid var(--line);
}
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.step-num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
}
.step:nth-child(-n+2) .step-num { background: var(--teal); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.chip .i { font-size: 14px; }
.chip--teal { background: var(--teal-50); color: var(--teal); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--muted); }
.steps-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 32px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
}
.steps-foot p { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 500; color: var(--ink); }
.steps-foot p .i { color: var(--gold-600); font-size: 22px; }

/* ---------- Mediation ---------- */
.mediation-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.mediation-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.big-quote {
  margin: 32px 0 0;
  padding: 24px 0 0 24px;
  border-left: 3px solid var(--gold);
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.feature-list { list-style: none; display: grid; gap: 14px; }
.feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 15.5px; color: var(--muted); }
.feature .card-icon { width: 46px; height: 46px; font-size: 21px; border-radius: 12px; }

/* ---------- Foreigners / documents (dark) ---------- */
.docs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.countries-label {
  margin: 30px 0 12px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.countries { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.countries li {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.docs-card {
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.section--dark .docs-card h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; margin-bottom: 20px; color: var(--ink); }
.docs-card h3 .card-icon { width: 44px; height: 44px; font-size: 21px; border-radius: 12px; }
.docs-list { list-style: none; display: grid; }
.docs-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
  font-size: 16px;
}
.docs-list li > span { display: flex; align-items: center; gap: 12px; }
.docs-list .i-check { color: var(--teal); font-size: 18px; stroke-width: 2.6; }

/* ---------- Video ---------- */
.video-frame {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame--hero {
  max-width: none;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 37, 48, .06);
}
.video-sound {
  position: absolute;
  top: clamp(12px, 2vw, 22px);
  left: clamp(12px, 2vw, 22px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px -8px rgba(11, 37, 48, .45);
  font: 600 14px/1 var(--font-body);
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.video-sound:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 12px 28px -8px rgba(11, 37, 48, .5); }
.video-sound:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.video-sound-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
}
.video-sound-icon .i { margin-left: 2px; }
.video-frame.is-playing .video-sound { display: none; }

/* ---------- Certificates ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.cert {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 18px;
  background: linear-gradient(180deg, #f1efe9, #e9e6de);
}
.cert-img img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  box-shadow: 0 10px 24px -10px rgba(11, 37, 48, .45);
  border-radius: 3px;
}
.cert-caption { padding: 16px 18px 18px; }
.cert-caption strong { display: block; font-family: var(--font-head); font-size: 16px; color: var(--ink); line-height: 1.3; }
.cert-caption span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* Lightbox */
.lightbox {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(6, 22, 29, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox-inner { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 12px 20px;
  border-bottom: 1px solid var(--line);
}
.lightbox-bar p { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.lightbox-close {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--sand);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--line); }
.lightbox-body { overflow: auto; padding: 16px; background: #eceae4; }
.lightbox-body img { margin-inline: auto; max-height: calc(100dvh - 140px); width: auto; }

/* ---------- Clients marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  list-style: none;
  animation: marquee 55s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
/* Paused while the tab is in the background (set from main.js). */
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.client {
  display: grid;
  place-items: center;
  width: 188px;
  height: 104px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  flex: none;
}
.client img { max-width: 100%; max-height: 72px; width: auto; object-fit: contain; }

/* The marquee keeps scrolling on devices with "reduce motion" enabled — it used
   to freeze and wrap into rows, which looked like a broken, static grid.
   Motion-sensitive visitors get a slower, gentler scroll instead. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 110s; }
}

/* ---------- Contact ---------- */
.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(135deg, var(--teal-800), var(--teal));
  color: rgba(255, 255, 255, .82);
}
.contact-panel h2 { color: #fff; }
.contact-panel .eyebrow { color: var(--gold-100); }
.contact-mountains {
  position: absolute;
  left: 0; bottom: 0;
  width: 70%;
  opacity: .16;
  pointer-events: none;
}
.contact-panel > :not(.contact-mountains) { position: relative; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s, transform .2s var(--ease);
}
.contact-item:hover { color: #fff; background: rgba(255, 255, 255, .18); transform: translateX(3px); }
.contact-item .icon-badge { width: 42px; height: 42px; font-size: 19px; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 11px; }
.contact-item small { display: block; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .62); font-weight: 600; }
.contact-item strong { display: block; font-weight: 600; font-size: 16.5px; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .66);
  font-size: 15.5px;
  padding-top: clamp(56px, 7vw, 88px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 19px; display: block; margin-bottom: 8px; }
.site-footer h4 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .i { color: var(--teal-200); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
}

/* Floating call button (mobile) */
.fab-call {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 40;
  display: none;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 14px 30px -10px rgba(0, 111, 142, .8);
}
.fab-call:hover { color: #fff; background: var(--teal-700); }

/* ---------- Sub pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(0, 111, 142, .55), transparent 70%),
    var(--ink);
  color: rgba(255, 255, 255, .75);
}
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; margin: 14px 0 16px; }
.page-hero .lead { color: rgba(255, 255, 255, .72); max-width: 720px; }
.page-hero .hero-mountains .m-back { fill: var(--teal); opacity: .45; }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14.5px; }
.breadcrumb a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.breadcrumb [aria-current] { color: #fff; }

.page-facts { position: relative; z-index: 2; margin-top: -44px; }
.page-facts .facts-grid { box-shadow: var(--shadow); }

.doc {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a {
  display: block;
  margin-left: -2px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--teal); border-left-color: var(--teal); font-weight: 600; }

.prose { max-width: 760px; }
.prose > section + section { margin-top: clamp(44px, 5vw, 64px); }
.prose h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(24px, 2.6vw, 30px);
  margin-bottom: 18px;
}
.prose h2 .card-icon { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; flex: none; }
.prose p, .prose li { color: var(--text); }
.prose ul.bullets { list-style: none; display: grid; gap: 12px; margin: 0 0 1em; }
.prose ul.bullets li { position: relative; padding-left: 30px; }
.prose ul.bullets li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-50);
}
.art-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-family: var(--font-head);
  font-size: .82em;
  font-weight: 700;
  white-space: nowrap;
}

.callout {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
}
.callout > .i { font-size: 24px; color: var(--teal); margin-top: 2px; }
.callout strong { color: var(--ink); }
.callout--warn { background: var(--gold-100); border-color: #ecdcb8; }
.callout--warn > .i { color: var(--gold-600); }

.timeline { list-style: none; position: relative; display: grid; gap: 14px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px; top: 24px; bottom: 24px;
  width: 2px;
  background: linear-gradient(var(--teal-100), var(--teal-200));
}
.tl-item { position: relative; display: flex; gap: 20px; align-items: flex-start; }
.tl-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  flex: none;
  box-shadow: 0 0 0 6px #fff;
}
.tl-body {
  flex: 1;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.tl-body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 18px; margin-bottom: 8px; }
.tl-body p { font-size: 16px; color: var(--muted); }

.cost-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 16px;
}
.cost-table th, .cost-table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.cost-table thead th {
  background: var(--sand);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cost-table tbody tr + tr td { border-top: 1px solid var(--line); }
.cost-table td:nth-child(2) { font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.who {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--teal-50);
  color: var(--teal-700);
}
.who--worker { background: var(--gold-100); color: var(--gold-600); }

.doc-checklist { list-style: none; display: grid; gap: 10px; }
.doc-checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.doc-checklist .check-dot { margin-top: 2px; }
.doc-checklist .chip { margin-top: 8px; font-size: 12px; padding: 3px 10px; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: rgba(255, 255, 255, .75);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 6px; }
.cta-band .contact-actions { margin-top: 0; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Above-the-fold hero animates on load with CSS only (never waits on JS) */
.js .hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
  animation: rise .8s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-copy { display: block; }
  .hero-copy .lead { margin-bottom: 26px; }
  .jobs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .split, .docs-grid, .mediation-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-layout { row-gap: 28px; }
  .hero-card--countries { display: none; }
  .hero-media { margin-bottom: 12px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .benefit-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-media { max-width: 560px; }
  .about-media figure { aspect-ratio: 5 / 4; }
  .about-quote { right: 16px; }
  .mediation-intro { position: static; }
  .doc { grid-template-columns: 1fr; }
  .toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--sand);
  }
  .toc ol { columns: 2; column-gap: 24px; border-left: 0; }
  .toc a { padding: 6px 0; margin-left: 0; border-left: 0; break-inside: avoid; }
  .toc a.is-active { border-left: 0; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .fab-call { display: grid; }
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .job-body { padding: 16px 16px 18px; }
  .job-body h3 { font-size: 16.5px; }
  .job-body h3 small { font-size: 13.5px; }
  .job-salary-value { font-size: 22px; }
  .job-tag { font-size: 11.5px; top: 8px; left: 8px; }
  .hero-media { margin-bottom: 0; }
  .video-frame--hero { border-radius: var(--radius); }
  .video-sound { padding-right: 13px; font-size: 13px; }
  .video-sound-icon { width: 30px; height: 30px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc ol { columns: 1; }
}

@media (max-width: 600px) {
  .cards, .benefit-grid, .steps { grid-template-columns: 1fr; }
  .fact { padding: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .contact-actions .btn { flex: 1 1 auto; }
  .about-quote { position: relative; right: auto; bottom: auto; max-width: none; margin: -40px 16px 0; }
  .feature { flex-direction: column; gap: 14px; padding: 20px; }
  .cost-table thead { display: none; }
  .cost-table, .cost-table tbody, .cost-table tr, .cost-table td { display: block; width: 100%; }
  .cost-table tr { padding: 14px 16px; }
  .cost-table tbody tr + tr { border-top: 1px solid var(--line); }
  .cost-table tbody tr + tr td { border-top: 0; }
  .cost-table td { padding: 2px 0; }
  .cost-table td:nth-child(2) { white-space: normal; }
  .client { width: 150px; height: 88px; }
}

@media (max-width: 420px) {
  .jobs-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert-img { padding: 12px; }
  .cert-caption { padding: 12px 12px 14px; }
  .cert-caption strong { font-size: 14.5px; }
  .cert-caption span { font-size: 13px; }
}

@media print {
  .site-header, .fab-call, .video-frame, .marquee, .nav-toggle { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
