/* ==========================================================================
   Forsa (فرصة) — منصة وظائف السعودية
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--bg: #f5f8f7;
	--bg-tint: #eef5f2;
	--surface: #ffffff;
	--surface-2: #f8fbfa;
	--ink: #0b1f1a;
	--ink-2: #26403a;
	--muted: #5d706b;
	--line: #e1eae6;
	--line-2: #d2dfda;

	--brand: #0b8a6a;
	--brand-600: #07735a;
	--brand-700: #055c48;
	--brand-50: #e7f6f0;
	--brand-100: #cdeee1;
	--mint: #34d399;
	--gold: #f5b544;
	--danger: #dc2626;
	--warn: #d97706;
	--tg: #229ed9;

	--hero-1: #021a15;
	--hero-2: #04352b;
	--hero-3: #075e4a;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(6, 40, 32, .06), 0 1px 1px rgba(6, 40, 32, .04);
	--shadow: 0 10px 30px -12px rgba(6, 40, 32, .18), 0 2px 6px rgba(6, 40, 32, .05);
	--shadow-lg: 0 30px 60px -20px rgba(6, 40, 32, .35);
	--ring: 0 0 0 4px rgba(11, 138, 106, .18);

	--font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--font-display: "Readex Pro", var(--font);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--header-h: 72px;
	color-scheme: light;
}

:root[data-theme="dark"] {
	--bg: #06110e;
	--bg-tint: #0a1814;
	--surface: #0e1c18;
	--surface-2: #122420;
	--ink: #e8f2ee;
	--ink-2: #c3d6cf;
	--muted: #8ea39c;
	--line: #1c2f2a;
	--line-2: #27403a;
	--brand: #2bc394;
	--brand-600: #34d399;
	--brand-700: #6ee7b7;
	--brand-50: #0f2a23;
	--brand-100: #14392f;
	--shadow: 0 10px 30px -12px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #06110e;
		--bg-tint: #0a1814;
		--surface: #0e1c18;
		--surface-2: #122420;
		--ink: #e8f2ee;
		--ink-2: #c3d6cf;
		--muted: #8ea39c;
		--line: #1c2f2a;
		--line-2: #27403a;
		--brand: #2bc394;
		--brand-600: #34d399;
		--brand-700: #6ee7b7;
		--brand-50: #0f2a23;
		--brand-100: #14392f;
		--shadow: 0 10px 30px -12px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
		--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
		color-scheme: dark;
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.3; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-100); color: var(--ink); }

.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.icon.flip, [dir="rtl"] .pager .icon.flip { transform: scaleX(-1); }
.sr-only { 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; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--surface);
	--btn-fg: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: 0 20px;
	border: 1px solid transparent; border-radius: 12px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { --btn-bg: linear-gradient(135deg, #10a37f 0%, #0b8a6a 55%, #07735a 100%); --btn-fg: #fff; background: var(--btn-bg); box-shadow: 0 8px 20px -8px rgba(11, 138, 106, .6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { box-shadow: 0 14px 28px -10px rgba(11, 138, 106, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--outline { border-color: var(--line-2); background: var(--surface); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-600); }
.btn--ghost { background: transparent; border-color: var(--line); }
.btn--light { --btn-bg: #fff; --btn-fg: #04352b; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn--telegram { --btn-bg: var(--tg); --btn-fg: #fff; }
.btn--telegram:hover { box-shadow: 0 10px 22px -10px rgba(34, 158, 217, .8); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--glow { position: relative; overflow: hidden; }
.btn--glow::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
	transform: translateX(120%); animation: shine 3.2s var(--ease) infinite 1s;
}
@keyframes shine { 0% { transform: translateX(120%); } 45%, 100% { transform: translateX(-120%); } }

.icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
	transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand-600); }
.icon-btn .icon { width: 20px; height: 20px; }
.when-dark { display: none; }
:root[data-theme="dark"] .when-dark { display: block; }
:root[data-theme="dark"] .when-light { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .when-dark { display: block; }
	:root:not([data-theme="light"]) .when-light { display: none; }
}

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-600); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 40px; height: 40px; display: block; filter: drop-shadow(0 6px 12px rgba(13,148,136,.35)); }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__mark--sm { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, #34d399, #0d9488); filter: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.brand__tag { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	background: color-mix(in srgb, var(--bg) 72%, transparent);
	backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: 8px 12px; border-radius: 10px;
	font-weight: 500; font-size: 15px; color: var(--ink-2); white-space: nowrap;
	transition: background .2s, color .2s;
}
.nav__list a:hover, .nav__list .current-menu-item a { background: var(--brand-50); color: var(--brand-600); }

.show-sm, .show-md { display: none !important; }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 64px) 0 40px;
	background: radial-gradient(1200px 600px at 85% -10%, var(--hero-3) 0%, transparent 60%), linear-gradient(160deg, var(--hero-2) 0%, var(--hero-1) 70%);
	color: #eafff7;
}
.home .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header:not(.is-scrolled) .brand__name,
.home .site-header:not(.is-scrolled) .nav__list a { color: #eafff7; }
.home .site-header:not(.is-scrolled) .brand__tag { color: rgba(234, 255, 247, .6); }
.home .site-header:not(.is-scrolled) .nav__list a:hover { background: rgba(255,255,255,.08); color: #fff; }
.home .site-header:not(.is-scrolled) .icon-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #eafff7; }

.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__pattern { position: absolute; inset: 0; color: rgba(255,255,255,.06); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: #10b981; top: -180px; inset-inline-start: -120px; }
.blob--2 { width: 420px; height: 420px; background: #0ea5e9; bottom: -200px; inset-inline-end: 10%; opacity: .28; animation-duration: 22s; }
.blob--3 { width: 300px; height: 300px; background: #f5b544; top: 30%; inset-inline-end: -120px; opacity: .22; animation-duration: 26s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 10px) scale(.95); } }

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 6px 8px 6px 14px; border-radius: 999px;
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
	font-size: 14px; color: #c9f5e4; backdrop-filter: blur(6px);
	transition: background .2s;
}
.eyebrow:hover { background: rgba(255,255,255,.12); }
.eyebrow strong { color: #fff; }
.eyebrow .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.1); }

.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: inherit; opacity: .5; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }

.hero__title { margin: 22px 0 18px; font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; line-height: 1.2; color: #fff; }
.grad-text {
	background: linear-gradient(90deg, #6ee7b7 0%, #34d399 35%, #fde68a 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	/* Room for the dots below Arabic letters, which background-clip would otherwise cut. */
	display: inline-block; padding-bottom: .18em; margin-bottom: -.18em;
}
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(234, 255, 247, .78); max-width: 580px; }

/* ---------- Search ---------- */
.search {
	display: flex; gap: 8px; align-items: stretch; margin-top: 32px; padding: 8px;
	background: var(--surface); border-radius: 20px;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
	color: var(--ink);
}
.search__field { position: relative; flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }
.search__field > .icon { position: absolute; inset-inline-start: 16px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search__field input, .search__field select {
	width: 100%; height: 54px; padding-inline: 46px 16px; border: 0; border-radius: 14px;
	background: transparent; font-size: 16px; outline: none; appearance: none; -webkit-appearance: none;
}
.search__field input::placeholder { color: var(--muted); }
.search__field input:focus, .search__field select:focus { background: var(--surface-2); box-shadow: var(--ring); }
.search__field--select { flex: 0 0 200px; border-inline-start: 1px solid var(--line); }
.search__field select { cursor: pointer; }
.search--compact { margin-top: 24px; max-width: 760px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.search--compact .search__field input { height: 48px; }

.hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: rgba(234,255,247,.65); }

/* ---------- Chips ---------- */
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--line);
	font-size: 14px; font-weight: 500; color: var(--ink-2);
	transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand-600); transform: translateY(-1px); }
.chip small { color: var(--muted); font-size: 12px; background: var(--bg-tint); border-radius: 999px; padding: 0 8px; }
.chip--glass { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #e2fbf1; }
.chip--glass:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.chip--glass .icon { width: 16px; height: 16px; }
.chip--active { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.chip--active small { background: transparent; padding: 0; color: var(--brand-600); }
.chip--active .icon { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Hero visual ---------- */
.hero__visual { position: relative; height: 440px; perspective: 1200px; }
.float-stack { position: absolute; inset: 0; transform: rotateY(8deg) rotateX(6deg); transform-style: preserve-3d; }
.float-card {
	position: absolute; inset-inline: 0; display: flex; align-items: center; gap: 14px;
	padding: 16px 18px; border-radius: 18px;
	background: rgba(255,255,255,.96); color: var(--ink);
	box-shadow: 0 30px 50px -20px rgba(0,0,0,.55);
	animation: float 7s ease-in-out infinite;
}
:root[data-theme="dark"] .float-card { background: rgba(20, 38, 33, .96); color: #e8f2ee; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 16px; }
.float-card span:not(.avatar) { font-size: 13px; color: #5d706b; }
.float-card__badge { margin-inline-start: auto; font-size: 12px !important; font-weight: 600; color: #07735a !important; background: #e7f6f0; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.float-card--1 { top: 40px; inset-inline-end: 40px; inset-inline-start: 0; z-index: 3; }
.float-card--2 { top: 150px; inset-inline-start: 50px; inset-inline-end: -10px; z-index: 2; opacity: .96; animation-delay: -2.5s; }
.float-card--3 { top: 260px; inset-inline-end: 70px; inset-inline-start: 10px; z-index: 1; opacity: .9; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.toast {
	position: absolute; display: flex; align-items: center; gap: 10px;
	padding: 10px 14px 10px 16px; border-radius: 14px;
	background: rgba(8, 30, 25, .78); border: 1px solid rgba(255,255,255,.14);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	color: #eafff7; font-size: 13px; z-index: 4;
	box-shadow: 0 20px 40px -16px rgba(0,0,0,.6);
	animation: pop 7s var(--ease) infinite;
}
.toast strong { display: block; font-size: 13.5px; }
.toast span { color: rgba(234,255,247,.65); font-size: 12px; }
.toast__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(245, 181, 68, .18); color: var(--gold); }
.toast__icon--tg { background: rgba(34, 158, 217, .2); color: #6cc6ef; }
.toast--dup { bottom: 0; inset-inline-start: -40px; }
.toast--tg { top: -34px; inset-inline-end: -10px; animation-delay: -3.5s; }
@keyframes pop { 0%, 8% { opacity: 0; transform: translateY(10px) scale(.96); } 14%, 60% { opacity: 1; transform: none; } 68%, 100% { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* ---------- Stats ---------- */
.stats {
	display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0;
	border: 1px solid rgba(255,255,255,.12); border-radius: 20px; overflow: hidden;
	background: rgba(255,255,255,.04); backdrop-filter: blur(8px);
}
.stats__item { padding: 22px 24px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stats__item + .stats__item { border-inline-start: 1px solid rgba(255,255,255,.1); }
.stats dt { color: rgba(234,255,247,.65); font-size: 14px; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.section__lead { color: var(--muted); max-width: 620px; margin-top: 10px; font-size: 17px; }
.kicker {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
	font-size: 13.5px; font-weight: 600; color: var(--brand-600); letter-spacing: .02em;
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker--light { color: #a7f3d0; }

/* ---------- Bento categories ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento__item {
	--c: #0f766e;
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; gap: 6px; min-height: 164px; padding: 22px;
	border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.bento__item::before {
	content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; z-index: -1;
	background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
	transition: transform .5s var(--ease);
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.bento__item:hover::before { transform: scale(1.4); }
.bento__item--wide { grid-column: span 2; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, var(--surface)), var(--surface)); }
.bento__icon {
	display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: auto;
	border-radius: 14px; color: var(--c);
	background: color-mix(in srgb, var(--c) 12%, transparent);
}
.bento__icon .icon { width: 26px; height: 26px; }
.bento__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 18px; }
.bento__count { color: var(--muted); font-size: 14px; }
.bento__go {
	position: absolute; top: 20px; inset-inline-end: 20px; display: grid; place-items: center;
	width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
	color: var(--muted); transition: all .3s var(--ease);
}
.bento__item:hover .bento__go { background: var(--c); border-color: var(--c); color: #fff; transform: rotate(45deg); }
.bento__go .icon { width: 18px; height: 18px; }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); transition: all .2s; }
.tabs button[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: 0 6px 14px -6px rgba(11,138,106,.6); }

/* ---------- Job cards ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-grid[hidden] { display: none; }
.job-grid:not([hidden]) > * { animation: rise .5s var(--ease) both; }
.job-grid > *:nth-child(2) { animation-delay: .04s; } .job-grid > *:nth-child(3) { animation-delay: .08s; }
.job-grid > *:nth-child(4) { animation-delay: .12s; } .job-grid > *:nth-child(5) { animation-delay: .16s; }
.job-grid > *:nth-child(6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.center > .btn { margin-top: 36px; }

.job-card {
	position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.job-card:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.job-card.is-expired { opacity: .65; }
.job-card__head { display: flex; align-items: flex-start; gap: 14px; }
.job-card__titles { min-width: 0; flex: 1; }
.job-card__title { font-size: 17px; font-weight: 600; line-height: 1.45; }
.job-card__title a { transition: color .2s; }
.job-card:hover .job-card__title a { color: var(--brand-600); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card__company { color: var(--muted); font-size: 14px; margin-top: 2px; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: 14px; }
.job-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-card__meta .icon { color: var(--muted); width: 17px; height: 17px; }
.job-card__salary { color: var(--brand-700) !important; font-weight: 600; }
.job-card__salary .icon { color: var(--brand) !important; }
.job-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.job-card__time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.job-card--row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head head" "meta meta" "foot foot"; gap: 12px; }
.job-card--row .job-card__head { grid-area: head; }
.job-card--row .job-card__meta { grid-area: meta; padding-inline-start: 70px; }
.job-card--row .job-card__foot { grid-area: foot; padding-inline-start: 70px; border-top: 0; padding-top: 0; }

.avatar {
	--av: #0f766e;
	display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px;
	background: linear-gradient(145deg, color-mix(in srgb, var(--av) 88%, #fff), var(--av));
	color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 22px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 16px -8px var(--av);
}
.avatar--img { background: #fff; border: 1px solid var(--line); padding: 6px; box-shadow: none; }
.avatar--img img { width: 100%; height: 100%; object-fit: contain; }
.avatar--sm { width: 42px; height: 42px; font-size: 17px; border-radius: 12px; }
.avatar--lg { width: 72px; height: 72px; font-size: 28px; border-radius: 20px; }
.avatar--xl { width: 88px; height: 88px; font-size: 34px; border-radius: 24px; }

.tag {
	--tag: #0f766e;
	display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 8px;
	font-size: 12.5px; font-weight: 600;
	color: color-mix(in srgb, var(--tag) 85%, var(--ink));
	background: color-mix(in srgb, var(--tag) 11%, transparent);
	position: relative; z-index: 1;
}
a.tag:hover { background: color-mix(in srgb, var(--tag) 18%, transparent); }
.tag--muted { --tag: #64748b; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill--new { background: #dcfce7; color: #15803d; }
:root[data-theme="dark"] .pill--new { background: #0f3b27; color: #86efac; }
.pill--new .pulse-dot { width: 6px; height: 6px; background: #22c55e; }
.deadline { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.deadline .icon { width: 15px; height: 15px; }
.deadline--urgent { color: var(--warn); font-weight: 600; }

/* ---------- Pipeline ---------- */
.pipeline-section { position: relative; overflow: hidden; }
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.pipeline::before {
	content: ""; position: absolute; top: 58px; inset-inline: 10%; height: 2px;
	background: linear-gradient(90deg, transparent, var(--brand-100) 10%, var(--brand-100) 90%, transparent);
}
.pipeline::after {
	content: ""; position: absolute; top: 55px; inset-inline-start: 10%; width: 8px; height: 8px; border-radius: 50%;
	background: var(--brand); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 20%, transparent), 0 0 20px var(--brand);
	animation: travel 5s linear infinite;
}
@keyframes travel { from { inset-inline-start: 10%; } to { inset-inline-start: 90%; } }
.pipeline__step { position: relative; text-align: center; padding: 22px 16px 24px; }
.pipeline__num { position: absolute; top: 10px; inset-inline-end: 22%; font-size: 12px; font-weight: 700; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; z-index: 2; }
.pipeline__icon {
	position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px;
	border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--brand);
	box-shadow: var(--shadow);
	transition: transform .4s var(--ease);
}
.pipeline__step:hover .pipeline__icon { transform: translateY(-4px) rotate(-4deg); }
.pipeline__icon .icon { width: 30px; height: 30px; }
.pipeline__step h3 { font-size: 18px; margin-bottom: 6px; }
.pipeline__step p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- Cities ---------- */
.city-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.city {
	display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line);
	transition: all .3s var(--ease);
}
.city:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.city__pin { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); margin-bottom: 10px; transition: all .3s; }
.city:hover .city__pin { background: var(--brand); color: #fff; }
.city__pin .icon { width: 18px; height: 18px; }
.city__name { font-weight: 600; font-family: var(--font-display); }
.city__count { font-size: 13px; color: var(--muted); }

/* ---------- Split: specialties + companies ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.company-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.company-list a {
	display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px;
	background: var(--surface); border: 1px solid var(--line); transition: all .25s var(--ease);
}
.company-list a:hover { border-color: var(--brand); transform: translateX(-4px); }
.company-list span:not(.avatar) { font-weight: 600; flex: 1; }
.company-list small { color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px;
	padding: 56px; border-radius: 32px; color: #eafff7;
	background: radial-gradient(600px 300px at 10% 110%, rgba(34,158,217,.35), transparent 60%), linear-gradient(140deg, #04352b, #021a15);
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M24 6l4.5 13.5L42 24l-13.5 4.5L24 42l-4.5-13.5L6 24l13.5-4.5z' fill='none' stroke='%23fff' stroke-opacity='.05'/%3E%3C/svg%3E"); }
.cta h2 { font-size: clamp(26px, 3.2vw, 40px); color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(234,255,247,.75); margin-bottom: 28px; max-width: 520px; font-size: 17px; }
.cta__phone { display: flex; justify-content: center; }
.phone {
	width: 290px; padding: 14px; border-radius: 36px; background: #0b1512;
	border: 6px solid #1c2d28; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
	transform: rotate(-4deg);
	background-image: radial-gradient(circle at 20% 20%, rgba(52,211,153,.08), transparent 50%);
}
.phone__bar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 12px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 10px; }
.phone__bar b { font-size: 14px; } .phone__bar small { color: rgba(234,255,247,.5); font-size: 11px; margin-inline-start: auto; }
.bubble {
	display: flex; flex-direction: column; gap: 1px; margin-bottom: 8px; padding: 10px 12px;
	border-radius: 14px 14px 4px 14px; background: #1b2b27; font-size: 12px; line-height: 1.6;
}
.js .cta .bubble { opacity: 0; }
.js .cta.is-in .bubble { animation: bubble .6s var(--ease) both; animation-delay: calc(.5s + var(--d) * .7s); }
.bubble b { font-size: 12.5px; color: #fff; } .bubble span { color: rgba(234,255,247,.75); } .bubble i { font-style: normal; color: #6cc6ef; }
@keyframes bubble { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Page hero ---------- */
.page-hero {
	position: relative; isolation: isolate; overflow: hidden; padding: 36px 0 40px;
	background: linear-gradient(180deg, var(--bg-tint), var(--bg));
	border-bottom: 1px solid var(--line);
}
.page-hero .blob--1 { opacity: .16; width: 420px; height: 420px; top: -220px; }
.page-hero .blob--2 { opacity: .1; }
.page-hero__row { display: flex; align-items: center; gap: 18px; }
.page-hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-top: 10px; }
.page-hero__lead { color: var(--muted); margin-top: 8px; font-size: 17px; max-width: 720px; }
.page-hero--simple { padding-bottom: 48px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump .chip--glass { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.jump .chip--glass:hover { border-color: var(--brand); color: var(--brand-600); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "‹"; margin-inline-start: 6px; opacity: .6; }
.crumbs a:hover { color: var(--brand-600); }
.crumbs [aria-current] { color: var(--ink-2); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }

/* ---------- City × specialty links ---------- */
.combo-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.combo-cta { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); font-weight: 600; transition: transform .2s var(--ease); }
.combo-cta:hover { transform: translateY(-2px); }
.combo-cta .icon:last-child { margin-inline-start: auto; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 290px 1fr; gap: 28px; padding-block: 32px 80px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); }
.filters form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters__head h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.filters__group { border: 0; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); }
.filters__group legend { font-weight: 600; font-size: 14px; margin-bottom: 10px; padding: 0; float: left; width: 100%; }
[dir="rtl"] .filters__group legend { float: right; }
.filters__group > :not(legend) { clear: both; }
.filters__actions { display: grid; gap: 8px; margin-top: 16px; }

.radio-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.radio-pills label { position: relative; cursor: pointer; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span {
	display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
	font-size: 13px; color: var(--ink-2); transition: all .15s;
}
.radio-pills label:hover span { border-color: var(--brand); }
.radio-pills input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.radio-pills input:focus-visible + span { box-shadow: var(--ring); }

.select { position: relative; display: block; }
.select select {
	width: 100%; height: 44px; padding-inline: 14px 38px; border-radius: 12px; border: 1px solid var(--line);
	background: var(--surface-2); appearance: none; -webkit-appearance: none; cursor: pointer; font-size: 14.5px;
}
.select select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.select > .icon { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.select--sm select { height: 38px; font-size: 14px; }

.results__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.results__count { color: var(--muted); }
.results__count strong { color: var(--ink); font-family: var(--font-display); font-size: 22px; }
.results__tools { display: flex; gap: 8px; align-items: center; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.job-list { display: grid; gap: 14px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager .page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px;
	border: 1px solid var(--line); background: var(--surface); font-weight: 600;
}
.pager .page-numbers:hover { border-color: var(--brand); color: var(--brand-600); }
.pager .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .dots { border: 0; background: none; }

.empty { text-align: center; padding: 60px 24px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-50); color: var(--brand); margin-bottom: 16px; }
.empty__icon .icon { width: 32px; height: 32px; }
.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }
.empty__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Ads ---------- */
.ad-slot { position: relative; margin: 16px 0; min-height: 90px; border-radius: var(--radius); overflow: hidden; }
.ad-slot__label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.ad-slot--placeholder {
	display: grid; place-items: center; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px;
	background: repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--line) 50%, transparent) 12px 13px);
}
.ad-slot--side.ad-slot--placeholder { min-height: 250px; }
.container > .ad-slot--top { margin-top: 0; }

/* ---------- Job page ---------- */
.job-hero { position: relative; isolation: isolate; overflow: hidden; padding: 32px 0 40px; background: linear-gradient(180deg, var(--bg-tint), var(--bg)); border-bottom: 1px solid var(--line); }
.job-hero .blob--1 { opacity: .16; top: -260px; }
.job-hero .blob--2 { opacity: .08; }
.job-hero__main { display: flex; gap: 24px; align-items: flex-start; margin-top: 20px; }
.job-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.job-hero__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; }
.job-hero__company { margin-top: 6px; font-size: 18px; font-weight: 500; }
.job-hero__company a { color: var(--brand-600); }
.job-hero__company a:hover { text-decoration: underline; text-underline-offset: 4px; }
.job-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 14px 0 0; color: var(--ink-2); }
.job-hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-hero__meta .icon { color: var(--brand); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); margin-top: 18px; }
.notice--expired { background: color-mix(in srgb, var(--danger) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--danger) 25%, transparent); color: var(--ink); }
.notice--expired .icon { color: var(--danger); margin-top: 3px; }
.notice a { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.job-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding-block: 32px 72px; align-items: start; }
.job-content { display: grid; gap: 20px; min-width: 0; }
.job-aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 20px; }
.card__title .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }

.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; }
.fact { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.fact:nth-child(odd) { padding-inline-end: 16px; }
.fact:nth-child(even) { padding-inline-start: 16px; border-inline-start: 1px dashed var(--line); }
.fact__icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-tint); color: var(--brand-600); }
.fact__icon .icon { width: 20px; height: 20px; }
.fact dt { font-size: 13px; color: var(--muted); }
.fact dd { margin: 0; font-weight: 600; line-height: 1.5; }
.fact dd a { color: var(--brand-600); }
.fact dd a:hover { text-decoration: underline; }

.prose { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2:not(.card__title), .prose h3 { color: var(--ink); font-size: 1.2em; margin-top: 1.6em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-block: .35em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.prose--checks ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose--checks li { position: relative; padding-inline-start: 34px; margin: 0; }
.prose--checks li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 7px;
	background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8a6a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.prose--page { margin-block: -24px 72px; position: relative; padding: 40px; }
.prose--page h2 { font-size: 1.35em; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 44px; color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; }
.warning { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); font-size: 14.5px; }
.warning .icon { color: #b7791f; width: 22px; height: 22px; margin-top: 3px; }

.job-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); color: var(--muted); }
.share { display: flex; gap: 8px; }
.share__btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: all .2s; }
.share__btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; background: var(--brand); }
.share__btn--whatsapp:hover { background: #25d366; } .share__btn--telegram:hover { background: var(--tg); }
.share__btn--x-logo:hover { background: #111; } .share__btn--linkedin:hover { background: #0a66c2; }
.share__done { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--ink); color: var(--bg); font-size: 12px; padding: 3px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .2s; }
.share__btn.is-copied .share__done { opacity: 1; transform: translateX(-50%); }

.apply-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.apply-card__status { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-600); margin-bottom: 16px; }
.apply-card__status--closed { color: var(--danger); }
.apply-card__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
.apply-card__list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.apply-card__list .icon { color: var(--muted); width: 18px; height: 18px; }
.apply-card__list span { color: var(--muted); }
.apply-card__list b { margin-inline-start: auto; font-weight: 600; }
.apply-card__list a { color: var(--brand-600); }

.countdown { margin-bottom: 18px; }
.countdown__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 10px; }
.countdown__row span { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-600); }
.countdown__row small { color: var(--muted); font-weight: 400; }
.countdown__bar { height: 8px; border-radius: 99px; background: var(--bg-tint); overflow: hidden; }
.countdown__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--brand)); transform-origin: right; animation: grow 1.2s var(--ease) both; }
[dir="ltr"] .countdown__bar span { transform-origin: left; }
.countdown--urgent .countdown__row span { color: var(--warn); }
.countdown--urgent .countdown__bar span { background: linear-gradient(90deg, #fbbf24, #ea580c); }
@keyframes grow { from { transform: scaleX(0); } }

.tg-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #229ed9, #1c7fc0); color: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.tg-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(34,158,217,.8); }
.tg-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.18); flex: none; }
.tg-card b { display: block; } .tg-card small { opacity: .85; }
.tg-card > .icon { margin-inline-start: auto; }

.mobile-apply { display: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding-block: 32px 80px; align-items: start; }
.contact__cards { display: grid; gap: 14px; }
.info-card { display: block; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: all .25s var(--ease); }
.info-card h2 { font-size: 17px; margin: 12px 0 4px; }
.info-card p { color: var(--muted); font-size: 14.5px; }
.info-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.info-card--tg:hover { border-color: var(--tg); transform: translateY(-2px); }
.info-card--tg .info-card__icon { background: color-mix(in srgb, var(--tg) 14%, transparent); color: var(--tg); }
.form { display: grid; gap: 16px; }
.form .card__title { margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: 14.5px; }
.field input, .field textarea {
	width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 15px;
	transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 140px; }
.form > .btn { justify-self: start; }
.hp { position: absolute; inset-inline-start: -9999px; }
.alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.alert--success { background: #dcfce7; color: #166534; }
.alert--error { background: #fee2e2; color: #991b1b; }

/* ---------- Browse ---------- */
.browse { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-block: 32px 80px; }
.browse__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; }
.browse__list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.browse__list a:hover { background: var(--brand-50); color: var(--brand-700); }
.browse__list small { color: var(--muted); font-variant-numeric: tabular-nums; background: var(--bg-tint); border-radius: 99px; padding: 0 8px; }

/* ---------- 404 ---------- */
.page-hero--404 { padding: 80px 0 100px; }
.page-hero--404 .search { margin-inline: auto; }
.big-404 { font-family: var(--font-display); font-size: clamp(90px, 16vw, 160px); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--mint), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: #041612; color: #b9cdc6; padding: 72px 0 28px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: rgba(185,205,198,.6); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__about p { margin: 18px 0 20px; max-width: 360px; font-size: 14.5px; line-height: 1.9; }
.site-footer__title { font-size: 15px; color: #fff; margin-bottom: 16px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer__links a:hover { color: #6ee7b7; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); transition: all .2s; }
.socials a:hover { background: var(--brand); color: #fff; }
.site-footer__note { display: flex; gap: 12px; align-items: flex-start; margin-top: 48px; padding: 16px 20px; border-radius: 16px; background: rgba(245,181,68,.08); border: 1px solid rgba(245,181,68,.18); font-size: 14px; }
.site-footer__note .icon { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.site-footer__note strong { color: #fde68a; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: rgba(185,205,198,.7); }
.site-footer__bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav__list a { padding: 8px 9px; font-size: 14.5px; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { display: none; }
	.bento { grid-template-columns: repeat(3, 1fr); }
	.city-grid { grid-template-columns: repeat(4, 1fr); }
	.job-grid { grid-template-columns: repeat(2, 1fr); }
	.pipeline { grid-template-columns: repeat(3, 1fr); }
	.pipeline::before, .pipeline::after { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.hide-md { display: none !important; }
	.show-md { display: inline-flex !important; }
	.listing { grid-template-columns: 1fr; }
	.filters {
		position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 90; width: min(360px, 88vw);
		overflow-y: auto; background: var(--bg); padding: 12px;
		transform: translateX(100%); transition: transform .35s var(--ease);
	}
	[dir="ltr"] .filters { transform: translateX(-100%); }
	.filters.is-open { transform: none; }
	.filters form { border: 0; }
	.filters-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(2, 16, 13, .5); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .3s; }
	.filters-backdrop.is-open { opacity: 1; pointer-events: auto; }
	.job-layout { grid-template-columns: 1fr; }
	.job-aside { position: static; }
	.split, .contact { grid-template-columns: 1fr; }
	.browse { grid-template-columns: 1fr; }
	.cta { grid-template-columns: 1fr; padding: 40px 28px; }
	.cta__phone { display: none; }
	.mobile-apply {
		position: fixed; bottom: 0; inset-inline: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent);
		backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -10px rgba(0,0,0,.15);
		transform: translateY(110%); transition: transform .35s var(--ease);
	}
	.mobile-apply.is-visible { transform: none; }
	.mobile-apply b { display: block; font-size: 14.5px; }
	.mobile-apply small { color: var(--muted); font-size: 12.5px; }
	.single-job .site-footer { padding-bottom: 100px; }
}

@media (max-width: 860px) {
	.show-sm { display: inline-flex !important; }
	.hide-sm { display: none !important; }
	.nav {
		position: fixed; top: var(--header-h); inset-inline: 0; z-index: 49; padding: 12px 20px 24px;
		background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .25s var(--ease);
	}
	.nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 12px; font-size: 16px; }
	.home .site-header:not(.is-scrolled) .nav__list a { color: var(--ink-2); }
	.home .site-header:not(.is-scrolled) .nav__list a:hover { color: var(--brand-600); background: var(--brand-50); }
	.search { flex-direction: column; }
	.search__field--select { flex-basis: auto; border-inline-start: 0; border-top: 1px solid var(--line); }
	.search .btn { width: 100%; }
	.search--compact { flex-direction: row; }
	.search--compact .btn { width: auto; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats__item:nth-child(3) { border-inline-start: 0; }
	.stats__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 640px) {
	.container { padding-inline: 16px; }
	.section { padding: 60px 0; }
	.hero { padding-top: calc(var(--header-h) + 36px); }
	.bento { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.bento__item { min-height: 140px; padding: 16px; }
	.bento__item--wide { grid-column: span 2; }
	.bento__go { display: none; }
	.city-grid { grid-template-columns: repeat(2, 1fr); }
	.job-grid { grid-template-columns: 1fr; }
	.pipeline { grid-template-columns: 1fr 1fr; }
	.pipeline__step:last-child { grid-column: span 2; }
	.job-card--row .job-card__meta, .job-card--row .job-card__foot { padding-inline-start: 0; }
	.facts__grid { grid-template-columns: 1fr; }
	.fact:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
	.job-hero__main { flex-direction: column; gap: 14px; }
	.avatar--xl { width: 64px; height: 64px; font-size: 26px; border-radius: 18px; }
	.card { padding: 20px; }
	.prose--page { padding: 24px; }
	.form__row { grid-template-columns: 1fr; }
	.browse__list { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.tabs { width: 100%; overflow-x: auto; }
	.tabs button { flex: 1; white-space: nowrap; }
	.results__bar { flex-wrap: wrap; }
	.job-share { flex-direction: column; align-items: flex-start; }
	.brand__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}
