/* =========================================================
   RemoteJobSearchEngine.com — Design System v2
   Warm cream · chunky black display type · golden CTAs
   ========================================================= */

:root {
  /* Surfaces */
  --cream:    #FBEBBF;   /* hero / warm blocks */
  --cream-2:  #FDF4DA;
  --page:     #F6F5F0;   /* light section background */
  --surface:  #ffffff;

  /* Ink */
  --ink:      #151312;   /* near-black text & dark buttons */
  --ink-soft: #34302c;
  --muted:    #6c655d;
  --muted-2:  #938b80;
  --line:     #e9e5d8;
  --line-2:   #efece2;

  /* Brand */
  --brand:    #FFC83D;   /* golden yellow */
  --brand-600:#F4B72A;
  --brand-700:#E7A613;
  --brand-tint:#FFF1CC;  /* soft yellow wash for icons */
  --amber:    #B47512;   /* highlight text on cream */
  --green:    #1aa05a;   /* "remote" / success */
  --green-d:  #138a4c;
  --whatsapp: #25d366;
  --whatsapp-d:#1ebe5a;

  /* Type */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radius */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadow — soft, warm, low contrast */
  --shadow-xs: 0 1px 2px rgba(40, 30, 10, .06);
  --shadow-sm: 0 2px 6px rgba(40, 30, 10, .06), 0 1px 2px rgba(40,30,10,.04);
  --shadow-md: 0 12px 30px rgba(40, 30, 10, .10);
  --shadow-lg: 0 26px 60px rgba(40, 30, 10, .14);

  --maxw: 1200px;
  --gutter: clamp(18px, 4.5vw, 36px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); font-weight: 800; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(54px, 8vw, 100px); }
.section--tight { padding-block: clamp(40px, 6vw, 74px); }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  color: var(--amber); margin-bottom: 14px;
}
.section-head { max-width: 680px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.jobs-section-title { font-size: clamp(1.1rem, 4vw, 1.6rem); font-weight: 800; margin-bottom: 20px; color: var(--ink); text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-pill);
  transition: transform .14s ease, box-shadow .2s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; border: 2px solid transparent; outline: none;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--ink); }
.btn--primary:hover { background: var(--brand-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2c2722; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(21,19,18,.18); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #06371b; }
.btn--whatsapp:hover { background: var(--whatsapp-d); color: #042a14; }
.btn--lg { padding: 17px 30px; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* ---------- Hero wrap (unified cream block) ---------- */
.hero-wrap { background: var(--cream); border-radius: 0 0 var(--r-xl) var(--r-xl); overflow: hidden; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  display: grid; place-items: center; color: var(--ink);
  background: var(--brand); box-shadow: var(--shadow-xs);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { display: block; font-size: .98rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
.brand-name small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .01em; color: var(--muted); text-transform: none; margin-top: 2px; }
.brand-logo { height: 44px; width: auto; display: block; }
.nav-links { display: none; align-items: center; gap: 32px; }
.nav-links a { font-weight: 600; color: var(--ink-soft); font-size: .96rem; transition: color .15s; }
.nav-links a:hover { color: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 11px 20px; font-size: .9rem; }
.nav-cta-secondary { display: none; }

@media (min-width: 940px) {
  .nav-links { display: flex; }
  .nav-cta-secondary { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 60px); }
.hero-card {}
.hero-grid { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 24px; } }

.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; }
.hero h1 .hl { color: var(--amber); }
.hero p.sub { margin-top: 20px; max-width: 480px; font-size: clamp(1.05rem, 2.1vw, 1.22rem); color: var(--ink-soft); }
.hero p.sub .hl { color: var(--amber); font-weight: 700; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(21,19,18,.08); border-radius: var(--r-pill);
  padding: 8px 16px 8px 11px; font-size: .82rem; font-weight: 650; color: var(--ink-soft);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(26,160,90,.18); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Search */
.search {
  margin: 28px 0 0; max-width: 560px;
  background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 9px;
  display: grid; gap: 6px; text-align: left;
  grid-template-columns: 1fr;
}
.search-field { display: flex; align-items: center; gap: 10px; padding: 4px 12px; }
.search-field svg { width: 19px; height: 19px; color: var(--muted-2); flex: none; }
.search-field input, .search-field select {
  width: 100%; border: 0; outline: 0; background: transparent;
  padding: 12px 0; font-size: 1rem; color: var(--ink); font-weight: 500;
}
.search-field select { color: var(--ink-soft); cursor: pointer; }
.search-divider { height: 1px; background: var(--line-2); }
.search .btn { width: 100%; }
@media (min-width: 640px) {
  .search { grid-template-columns: 1.3fr 1px 1fr auto; align-items: center; gap: 4px; }
  .search-divider { width: 1px; height: 26px; }
  .search .btn { width: auto; }
}

/* Trust row */
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 19px; height: 19px; color: var(--brand-700); }
.hero-trust .trust-txt { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.hero-trust .trust-txt span { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }

/* ---------- Flag chips (circular) ---------- */
.flag {
  border-radius: 50%; object-fit: cover; background: var(--cream-2);
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  aspect-ratio: 1 / 1;
}
.flag--xs { width: 28px; height: 28px; }
.flag--sm { width: 38px; height: 38px; }
.flag--md { width: 54px; height: 54px; }
.flag--lg { width: 36px; height: 36px; }
.flag-row { display: inline-flex; align-items: center; }
.flag-row .flag { margin-left: -10px; }
.flag-row .flag:first-child { margin-left: 0; }

/* ---------- Phone mockup ---------- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 100%; max-width: 330px; background: var(--ink);
  border-radius: 42px; padding: 12px; box-shadow: var(--shadow-lg);
}
.phone-screen { background: var(--brand); border-radius: 32px; padding: 22px 16px 26px; position: relative; overflow: hidden; min-height: 470px; }
.phone-notch { width: 110px; height: 26px; background: var(--ink); border-radius: var(--r-pill); margin: 2px auto 18px; }
.phone-title { font-size: 1.5rem; font-weight: 800; color: var(--ink); padding-left: 6px; margin-bottom: 16px; letter-spacing: -.03em; }
.alert-card {
  background: #fff; border-radius: 18px; padding: 13px 14px; margin-bottom: 11px;
  box-shadow: 0 6px 16px rgba(40,30,10,.10); display: flex; gap: 11px;
}
.alert-card.is-soft { background: rgba(255,255,255,.55); box-shadow: none; }
.alert-av { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; font-weight: 800; color:#fff; font-size: .95rem; }
.alert-body { min-width: 0; }
.alert-top { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.alert-top b { font-size: .88rem; color: var(--ink); }
.alert-top em { font-style: normal; font-size: .72rem; color: var(--muted-2); }
.alert-top time { margin-left: auto; font-size: .68rem; color: var(--muted-2); }
.alert-msg { font-size: .82rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }

/* ---------- Country cards ---------- */
.country-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.country-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.country-card .flag { width: 60px; height: 60px; }
.country-card h3 { font-size: 1.28rem; }
.country-card p { color: var(--muted); font-size: .92rem; }
.country-card .meta { display: flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; font-size: .92rem; }
.country-card--active { cursor: pointer; border-color: var(--ink); }
.country-card--active:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.country-card--active .meta { color: var(--ink); }
.country-card--active .meta svg { width: 17px; height: 17px; transition: transform .18s; }
.country-card--active:hover .meta svg { transform: translateX(4px); }
.country-card--soon { background: var(--page); border-color: var(--line-2); }
.country-card--soon .flag { filter: saturate(.5); opacity: .85; }
.country-card--soon .meta { color: var(--muted-2); }
.badge {
  position: absolute; top: 18px; right: 18px;
  font-size: .68rem; font-weight: 800; letter-spacing: .02em;
  padding: 6px 11px; border-radius: var(--r-pill);
}
.badge--live { background: var(--ink); color: #fff; }
.badge--live .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-right: 6px; vertical-align: middle; }
.badge--soon { background: #fff; color: var(--muted); border: 1px solid var(--line); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); }
.step-num {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--ink); margin-bottom: 20px;
}
.step-num svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step h3::before { counter-increment: step; content: "0" counter(step); display: block; font-size: .8rem; font-weight: 800; color: var(--amber); margin-bottom: 8px; letter-spacing: .04em; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 940px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding: 22px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s, background .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.cat-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-tint); color: var(--ink); }
.cat-ico svg { width: 22px; height: 22px; }
.cat-card h3 { font-size: 1.02rem; font-weight: 800; }
.cat-card span { font-size: .84rem; color: var(--muted-2); }

/* ---------- Benefits ---------- */
.benefit-wrap { display: grid; gap: 40px; align-items: stretch; grid-template-columns: 1fr; }
@media (min-width: 920px) { .benefit-wrap { grid-template-columns: 1fr 1.02fr; } }
.benefit-list { display: grid; gap: 14px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); }
.benefit .check { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--brand); color: var(--ink); }
.benefit .check svg { width: 15px; height: 15px; }
.benefit h3 { font-size: 1.04rem; margin-bottom: 3px; }
.benefit p { font-size: .92rem; color: var(--muted); }
.benefit-aside {
  background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(30px, 4vw, 46px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
}
.benefit-aside::after { content:""; position:absolute; right:-50px; bottom:-50px; width:200px; height:200px; border-radius:50%; background: rgba(255,200,61,.14); }
.benefit-aside .eyebrow { color: var(--brand); }
.benefit-aside h3 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; letter-spacing: -.03em; }
.benefit-aside p { color: rgba(255,255,255,.74); }
.stat-row { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.stat b { display: block; font-size: 2.1rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; }
.stat span { font-size: .85rem; color: rgba(255,255,255,.68); }

/* ---------- CTA / Newsletter band (dark) ---------- */
.cta-band {
  background: var(--ink); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; top:-80px; right:-40px; width:260px; height:260px; border-radius:50%; background: rgba(255,200,61,.16); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.76); max-width: 520px; margin: 14px auto 0; }
.subscribe { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; margin: 28px auto 0; }
.subscribe input {
  flex: 1 1 220px; min-width: 0; border: 0; border-radius: var(--r-pill);
  padding: 16px 22px; font-size: 1rem; color: var(--ink); background: #fff;
}
.subscribe .btn { flex: none; }
.cta-note { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 16px; }
.form-msg { font-size: .92rem; font-weight: 700; margin-top: 14px; min-height: 1.2em; }
.form-msg.ok { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7c0b6; padding-block: 58px 30px; }
.footer-top { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name { color:#fff; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: .92rem; color: #97907f; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .04em; margin-bottom: 16px; font-weight: 800; }
.footer-col a { display: block; padding: 6px 0; color: #b3ab9c; font-size: .94rem; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-flags { display: flex; gap: 8px; margin-top: 22px; }
.footer-flags .flag { width: 32px; height: 32px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); border-color: #2a251f; }
.footer-bottom { margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .85rem; color: #837c6e; }

/* =========================================================
   Country page
   ========================================================= */
.cpage-hero { background: var(--cream); padding-top: 6px; position: relative; overflow: hidden; }
.cpage-hero-bg { position: absolute; right: 0; top: 0; width: 65%; height: 100%; object-fit: cover; object-position: center; display: block; z-index: 0; }
.cpage-hero-fade { position: absolute; inset: 0; background: linear-gradient(to right, var(--cream) 52%, transparent 82%); z-index: 1; pointer-events: none; }
.cpage-hero .container { position: relative; z-index: 2; }
.cpage-hero-card { padding: clamp(16px, 3vw, 32px) 0; }
.cpage-hero-inner { max-width: 900px; }
@media (max-width: 768px) { .cpage-hero-bg, .cpage-hero-fade { display: none; } }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; font-weight: 600; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb svg { width: 14px; height: 14px; }
.cpage-flagrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cpage-flagrow b { font-size: .9rem; color: var(--ink-soft); }
.cpage-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.cpage-hero p.sub { margin-top: 10px; max-width: 780px; font-size: clamp(.98rem, 2vw, 1.08rem); color: var(--ink-soft); }
.cpage-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cpage-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cpage-meta div { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 700; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; }
.cpage-meta svg { width: 15px; height: 15px; color: var(--green); flex: none; }

/* Jobs grid */
.jobs-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .jobs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .jobs-grid { grid-template-columns: repeat(3, 1fr); } }

/* Jobs filters */
.jobs-filters { display: flex; flex-direction: column; gap: 10px; max-width: 900px; margin-inline: auto; margin-bottom: 16px; }
.jobs-filter-row { display: flex; gap: 10px; align-items: center; }
.jobs-filter-search { position: relative; flex: 1; }
.jobs-filter-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.jobs-filter-search input { width: 100%; padding: 12px 16px 12px 42px; border: 1.5px solid var(--line); border-radius: 8px; font-size: .95rem; color: var(--ink); background: #fff; outline: none; font-family: inherit; }
.jobs-filter-search input:focus { border-color: var(--ink); }
.filter-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-size: .9rem; font-weight: 700; color: var(--ink); cursor: pointer; white-space: nowrap; font-family: inherit; transition: border-color .15s, background .15s; flex-shrink: 0; }
.filter-toggle svg { width: 15px; height: 15px; }
.filter-toggle:hover, .filter-toggle[aria-expanded="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.filter-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-cats[hidden] { display: none; }
.filter-btn { padding: 7px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; font-size: .84rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s, color .15s; font-family: inherit; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.jobs-no-results { text-align: center; padding: 32px 0; color: var(--muted); font-size: .95rem; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.page-btn { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.page-btn:hover { border-color: var(--ink); }
.page-btn--active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-btn--nav { font-size: 1.1rem; color: var(--muted); }
.page-btn--nav:hover { color: var(--ink); }
.page-ellipsis { display: grid; place-items: center; min-width: 38px; height: 38px; color: var(--muted); font-size: .9rem; }

.jobs-empty { text-align: center; padding: clamp(40px, 8vw, 72px) 0; }
.jobs-empty-icon { width: 56px; height: 56px; background: var(--cream); border-radius: 16px; display: grid; place-items: center; margin: 0 auto 20px; color: var(--amber); }
.jobs-empty-icon svg { width: 28px; height: 28px; }
.jobs-empty h3 { font-size: 1.25rem; margin-bottom: 10px; }
.jobs-empty p { color: var(--muted); max-width: 400px; margin: 0 auto 28px; line-height: 1.65; }
.jobs-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 639px) {
  .jobs-empty-actions { flex-direction: column; }
  .jobs-empty-actions .btn { width: 100%; }
}

/* Jobs list (country page) */
.jobs-list-wrap { position: relative; max-width: 900px; margin-inline: auto; }
.jobs-list { display: flex; flex-direction: column; gap: 10px; }
.jobs-list .job-card { flex-direction: row; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 6px; }
.jobs-list .job-top { flex: 1; min-width: 0; }
.jobs-list .job-tags { flex-wrap: nowrap; }
.jobs-list .job-foot { margin-top: 0; padding-top: 0; flex-shrink: 0; }
.jobs-list .job-card h3 { font-size: 1rem; }
.jobs-list .job-logo { width: 48px; height: 48px; font-size: .95rem; border-radius: 10px; }
.job-card {
  display: flex; flex-direction: column; gap: 15px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s;
  color: inherit; text-decoration: none;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.job-top { display: flex; gap: 13px; align-items: center; }
.job-logo { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: #fff; }
.job-logo--img { object-fit: contain; background: #fff; border: 1.5px solid var(--line); color: transparent; padding: 5px; }
.job-logo--fallback { background: #f1f3f5; color: #adb5bd; }
.job-logo--fallback svg { width: 52%; height: 52%; }
.job-company { font-size: .85rem; color: var(--muted-2); font-weight: 600; }
.job-card h3 { font-size: 1.1rem; line-height: 1.25; }
.job-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: .76rem; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); background: var(--page); color: var(--muted); }
.tag--remote { background: var(--page); color: var(--muted); }
.tag--remote::before { content:""; display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--green); margin-right:6px; vertical-align: middle; }
.tag--cat { background: var(--page); color: var(--muted); }
.tag--type { background: var(--page); color: var(--muted); }
.job-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.job-salary { font-size: .92rem; font-weight: 800; color: var(--ink); }
.job-salary--unknown { font-weight: 500; color: var(--muted); font-size: .82rem; }
.job-salary span { font-weight: 600; color: var(--muted-2); font-size: .78rem; }
.job-card .btn { padding: 11px 20px; font-size: .88rem; }
.jobs-foot { text-align: center; margin-top: 38px; }
.jobs-disclaimer { text-align:center; margin-top: 16px; font-size: .82rem; color: var(--muted-2); }

/* WhatsApp section */
.whatsapp-band {
  display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr;
  background: #0c3b23; border-radius: var(--r-xl); padding: clamp(30px, 5vw, 54px); color: #fff; overflow: hidden; position: relative;
}
@media (min-width: 820px) { .whatsapp-band { grid-template-columns: 1.3fr 1fr; } }
.whatsapp-band::after { content:""; position:absolute; right:-50px; top:-50px; width:200px; height:200px; border-radius:50%; background: rgba(37,211,102,.18); }
.whatsapp-band .eyebrow { color: #7ef0aa; }
.whatsapp-band h2 { color:#fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.whatsapp-band p { color: rgba(255,255,255,.82); margin-top: 12px; max-width: 460px; }
.whatsapp-visual { display: flex; justify-content: center; }
.wa-card { background:#fff; color: var(--ink-soft); border-radius: var(--r-md); padding: 16px; width: 100%; max-width: 300px; box-shadow: var(--shadow-lg); }
.wa-msg { background: #dcf8c6; border-radius: 14px 14px 14px 5px; padding: 11px 13px; font-size: .85rem; margin-bottom: 9px; }
.wa-msg small { display:block; text-align:right; font-size:.66rem; color: var(--muted-2); margin-top:3px; }
.wa-msg b { color: var(--green-d); }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background:#fff; border: 1.5px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--ink); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; font-size: 1.04rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--page); display: grid; place-items: center; transition: transform .2s, background .2s; }
.faq-item summary .chev svg { width: 16px; height: 16px; color: var(--ink); }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--brand); }
.faq-body { padding: 0 22px 20px; color: var(--muted); font-size: .97rem; }

/* Utilities */
.bg-soft { background: var(--page); }
.text-center { text-align: center; }
.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; }
.focus-skip:focus { position:fixed; top:16px; left:16px; z-index:999; padding:8px 16px; background:var(--brand); color:#fff; border-radius:var(--r); font-weight:700; width:auto; height:auto; clip:auto; overflow:visible; }

/* ── Country card placeholders ── */
.country-card--placeholder {
  background: #f4f3f1;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}
.placeholder-flag {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e0ddd9;
}
.placeholder-line {
  height: 12px;
  border-radius: 6px;
  background: #e0ddd9;
  margin-bottom: 8px;
}
.placeholder-line--name { width: 60%; height: 16px; }
.placeholder-line--desc { width: 90%; }

/* ── Prose pages (About / Contact / Privacy / Terms) ── */
.prose-hero {
  background: var(--cream);
  padding-block: clamp(40px, 6vw, 72px);
}
.prose-hero .breadcrumb { margin-bottom: 24px; }
.prose-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 720px;
  margin-bottom: 20px;
}
.prose-hero .lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}
.prose-section { padding-block: clamp(40px, 6vw, 72px); }
.prose-wrap { max-width: 900px; }
.prose-wrap h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 14px;
}
.prose-wrap h2:first-child { margin-top: 0; }
.prose-wrap p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}
.prose-wrap ul {
  margin-bottom: 16px;
  padding-left: 22px;
}
.prose-wrap li {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 6px;
}
.prose-wrap p a,
.prose-wrap li a { color: #B47512; font-weight: 600; }
.prose-wrap strong { color: var(--ink); }

/* ── Mobile nav toggle ── */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle svg { width: 18px; height: 18px; }
@media (min-width: 940px) { .nav-toggle { display: none; } }

.nav-mobile {
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1.5px solid var(--line);
  padding: 16px var(--gutter) 24px;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-mobile[hidden] { display: none; }
@media (min-width: 940px) { .nav-mobile { display: none !important; } }

.nav-mobile-links { display: flex; flex-direction: column; }
.nav-mobile-links a {
  padding: 13px 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.nav-mobile-links a:last-child { border-bottom: none; }
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* ── Mobile: general fixes ── */
@media (max-width: 639px) {
  /* Jobs list: stack cards vertically */
  .jobs-list .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .jobs-list .job-foot {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    margin-top: 0;
  }
  /* Skeleton cards match mobile card layout */
  .skeleton-card { flex-direction: column; align-items: flex-start; }
  .sk-foot { width: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
  .sk-btn { flex: 1; }

  /* Job single hero */
  .job-hero-top { flex-direction: column; gap: 12px; }
  .job-logo--lg { width: 52px; height: 52px; font-size: 1.2rem; border-radius: 14px; }
  .job-hero-cta { flex-direction: column; }
  .job-hero-cta .btn { width: 100%; }

  /* Country page hero chips: horizontal scroll */
  .cpage-meta {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .cpage-meta::-webkit-scrollbar { display: none; }
  .cpage-meta div { flex-shrink: 0; font-size: .8rem; padding: 6px 12px; }

  /* Newsletter form */
  .subscribe { flex-direction: column; }
  .subscribe input, .subscribe-country { flex: none; width: 100%; }
  .subscribe .btn { width: 100%; }

  /* Contact page */
  .contact-card { flex-direction: column; }

  /* About / prose CTAs */
  .about-cta { flex-direction: column; }
  .about-cta .btn { width: 100%; text-align: center; justify-content: center; }

  /* Job apply band + more jobs band */
  .job-apply-band, .more-jobs-band { flex-direction: column; }
  .job-apply-band .btn, .more-jobs-band .btn { width: 100%; }

  /* Hero trust row */
  .hero-trust { gap: 12px 16px; }

  /* Section head */
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* Benefit aside stats */
  .stat-row { gap: 20px; }
  .stat b { font-size: 1.7rem; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Skeleton loading ── */
@keyframes sk-shimmer {
  0% { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
@keyframes sk-fade {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.sk-pulse {
  background: linear-gradient(90deg, #f0f0f0 25%, #fafafa 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}

/* Overlay wrapper — sits over the real list, fades out automatically */
.skeleton-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--page);
  animation: sk-fade 1.6s ease-out forwards;
  pointer-events: none;
}

/* Skeleton card — mirrors .jobs-list .job-card horizontal layout */
.skeleton-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 16px 20px;
}
.sk-logo { width: 48px; height: 48px; border-radius: 10px; flex: none; }
.sk-body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sk-foot { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sk-line { height: 13px; border-radius: 4px; }
.sk-line--title { width: 55%; }
.sk-line--sub { width: 35%; }
.sk-line--salary { width: 80px; }
.sk-btn { width: 90px; height: 36px; border-radius: var(--r-pill); }

/* Skeleton hero — for job detail page */
.job-hero-left { position: relative; }

.skeleton-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--cream);
  animation: sk-fade 1.6s ease-out forwards;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sk-hero-logo { width: 64px; height: 64px; border-radius: 14px; }
.sk-hero-company { height: 13px; width: 120px; border-radius: 4px; }
.sk-hero-title-1 { height: 28px; width: 80%; border-radius: 6px; }
.sk-hero-title-2 { height: 28px; width: 55%; border-radius: 6px; }
.sk-hero-tag { height: 28px; border-radius: var(--r-pill); display: inline-flex; }

@media (prefers-reduced-motion: reduce) {
  .sk-pulse { animation: none; background: #f0f0f0; }
  .skeleton-overlay, .skeleton-hero-overlay { animation: none; opacity: 0; }
}
