/* ============================================================
   SLV-PRO — main stylesheet
   ============================================================ */
:root {
  --font-title: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --bg-darker: #05070a;
  --bg-primary: #0a0d14;
  --bg-secondary: #121722;
  --bg-tertiary: #1a2030;

  --accent: #f97316;
  --accent-rgb: 249, 115, 22;
  --accent-dark: #ea580c;
  --gold: #e2b04c;
  --gold-rgb: 226, 176, 76;
  --green: #10b981;
  --green-rgb: 16, 185, 129;
  --wa: #25d366;
  --tg: #229ed9;
  --viber: #7360f2;
  --fb: #1877f2;

  --text: #f3f4f6;
  --text-2: #a3abb8;
  --text-3: #6b7280;

  --glass: rgba(18, 23, 34, 0.72);
  --glass-hover: rgba(26, 32, 48, 0.9);
  --line: rgba(255, 255, 255, 0.07);
  --line-hover: rgba(249, 115, 22, 0.35);

  --header-h: 76px;
  --max-w: 1200px;
  --r-lg: 20px;
  --r-md: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: all 0.4s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg-darker);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(var(--accent-rgb), 0.10), transparent 70%),
    radial-gradient(900px 700px at -10% 45%, rgba(var(--green-rgb), 0.05), transparent 70%),
    radial-gradient(800px 700px at 110% 85%, rgba(var(--accent-rgb), 0.06), transparent 70%),
    var(--bg-darker);
}
body.menu-open { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; }
svg use { pointer-events: none; }

::selection { background: rgba(var(--accent-rgb), 0.35); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
p { line-height: 1.65; color: var(--text-2); }
strong { color: var(--text); font-weight: 700; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.container.narrow { max-width: 860px; }
.section { padding: 110px 0; position: relative; }

.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-md);
  font-family: var(--font-title); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: var(--t); white-space: nowrap;
}
.btn .i { width: 20px; height: 20px; }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.35);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.5); }
.btn-primary:disabled { opacity: 0.7; cursor: wait; transform: none; }
.btn-secondary { background: var(--glass); border-color: var(--line); color: var(--text); backdrop-filter: blur(10px); }
.btn-secondary:hover { border-color: var(--line-hover); color: var(--accent); transform: translateY(-2px); }

/* ---------- Build progress (top) ---------- */
.build-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200;
  display: flex; gap: 2px; pointer-events: none;
}
.build-progress i { flex: 1; background: transparent; transition: background 0.25s, transform 0.25s; transform: scaleY(0.4); transform-origin: top; }
.build-progress i.on { background: var(--accent); transform: scaleY(1); }
.build-progress i.on:nth-child(3n) { background: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h); z-index: 100;
  background: rgba(5, 7, 10, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); transition: var(--t);
}
.site-header.scrolled { background: rgba(5, 7, 10, 0.92); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.header-container {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  height: 100%; padding: 0 24px; max-width: var(--max-w); margin: 0 auto;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { width: 44px; height: 44px; border-radius: 10px; background: #fff; object-fit: contain; padding: 3px; }
.logo-text { font-family: var(--font-title); font-weight: 900; font-size: 1.4rem; letter-spacing: 0.5px; color: #fff; }
.logo-text span { color: var(--accent); }

.main-nav ul { display: flex; list-style: none; gap: 26px; }
.main-nav a {
  text-decoration: none; color: var(--text-2); font-weight: 600; font-size: 0.93rem;
  position: relative; padding: 6px 0; transition: color 0.3s;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.4s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-controls { display: flex; align-items: center; gap: 14px; }
.lang-selector { position: relative; }
.lang-btn {
  background: var(--glass); border: 1px solid var(--line); color: var(--text);
  padding: 8px 12px; border-radius: var(--r-md); font-family: var(--font-title);
  font-weight: 700; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 4px;
  transition: var(--t);
}
.lang-btn:hover { border-color: var(--line-hover); }
.lang-btn svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.3s; }
.lang-selector.open .lang-btn svg { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px; z-index: 110;
  background: var(--bg-secondary); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55); display: none; flex-direction: column; overflow: hidden;
}
.lang-selector.open .lang-dropdown { display: flex; animation: slideDown 0.3s var(--ease); }
.lang-option {
  padding: 11px 16px; color: var(--text-2); text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.lang-option:hover { background: rgba(var(--accent-rgb), 0.14); color: var(--accent); }
.lang-option.active { color: var(--accent); background: rgba(var(--accent-rgb), 0.07); }

.header-phone-btn {
  display: flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap;
  color: #fff; font-weight: 700; font-size: 0.92rem;
  background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 9px 14px; border-radius: var(--r-md); transition: var(--t);
}
.header-phone-btn:hover { background: rgba(var(--accent-rgb), 0.25); border-color: var(--accent); }

.mobile-menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 24px; position: relative; }
.mobile-menu-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); transition: var(--t);
}
.mobile-menu-toggle span:nth-child(1) { top: 3px; }
.mobile-menu-toggle span:nth-child(2) { top: 11px; }
.mobile-menu-toggle span:nth-child(3) { top: 19px; }
.mobile-menu-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 70px) 0 70px; position: relative; }
.hero-wrapper { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; }
.hero-badge, .urgent-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: #ffb27a; padding: 8px 16px; border-radius: 100px; text-decoration: none;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 24px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); position: relative; flex-shrink: 0; }
.pulse-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent);
  animation: ping 1.6s ease-out infinite;
}
.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.7rem); font-weight: 900; line-height: 1.08; margin-bottom: 22px;
  background: linear-gradient(135deg, #fff 45%, #ffd3b0 75%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 1.14rem; max-width: 620px; margin-bottom: 24px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 34px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: var(--text); }
.hero-trust svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(var(--green-rgb), 0.16); color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-phone-sub { font-size: 0.86rem; color: var(--text-3); margin-top: 12px; }

.hero-visual { position: relative; }
.map-container {
  aspect-ratio: 400 / 360; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); overflow: hidden; backdrop-filter: blur(10px);
}
.map-svg { width: 100%; height: 100%; overflow: visible; }
.map-grid path { stroke: rgba(255,255,255,0.04); stroke-width: 1; }
.route { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 5; animation: dash 6s linear infinite; }
.route.in { stroke: rgba(var(--gold-rgb), 0.7); }
.route.out { stroke: var(--accent); stroke-width: 2.5; }
.origin rect { fill: var(--bg-darker); stroke: var(--gold); stroke-width: 2; }
.dest rect { fill: var(--green); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 8px rgba(var(--green-rgb), 0.7)); }
.hub { fill: var(--accent); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 12px var(--accent)); }
.pulse { fill: rgba(var(--accent-rgb), 0.25); transform-origin: 262px 236px; animation: pulseNode 2s infinite; }
.map-svg text { font-family: var(--font-title); font-size: 10.5px; font-weight: 700; fill: var(--text-2); text-anchor: middle; letter-spacing: 0.04em; }
.map-svg .hub-label { fill: #fff; font-size: 11.5px; font-weight: 800; }
.map-svg .dest text { fill: #9ff0d0; }

.hero-salary-card {
  position: absolute; left: -28px; bottom: -26px;
  background: rgba(14, 18, 27, 0.94); border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 16px; padding: 16px 22px; display: flex; flex-direction: column;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5); animation: float 4s ease-in-out infinite;
}
.salary-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); font-weight: 700; }
.salary-value { font-family: var(--font-title); font-size: 1.9rem; font-weight: 900; color: #fff; line-height: 1.15; }
.salary-note { font-size: 0.8rem; font-weight: 800; color: var(--green); letter-spacing: 0.05em; }

/* ---------- Hot vacancies (from Telegram) ---------- */
.hot { padding: 40px 0 70px; }
.hot[hidden] { display: none; }
.hot-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.hot-head .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hot-head p { max-width: 640px; }
.hot-head .section-title { margin-bottom: 8px; }
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.hot-card {
  background: linear-gradient(180deg, rgba(26, 32, 48, 0.95), rgba(14, 18, 27, 0.95));
  border: 1px solid rgba(var(--accent-rgb), 0.28); border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.45); transition: var(--t);
}
.hot-card:hover { border-color: rgba(var(--accent-rgb), 0.6); transform: translateY(-4px); }
.hot-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hot-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.hot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hot-urgent {
  background: var(--accent); color: #fff; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 100px;
}
.hot-loc { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 700; color: var(--text-2); }
.hot-title { font-size: 1.22rem; color: #fff; line-height: 1.3; }
.hot-salary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border-radius: 12px;
  background: rgba(var(--green-rgb), 0.08); border: 1px solid rgba(var(--green-rgb), 0.28);
}
.hot-salary strong { font-family: var(--font-title); font-size: 1.45rem; font-weight: 900; }
.hot-salary span { font-size: 0.8rem; font-weight: 800; color: var(--green); letter-spacing: 0.04em; }
.hot-hours { display: flex; gap: 8px; align-items: flex-start; font-size: 0.92rem; color: var(--text); }
.hot-hours svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.hot-perks { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.hot-perks li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-2); line-height: 1.45; }
.hot-perk-ic { width: 22px; text-align: center; flex-shrink: 0; }
.hot-desc {
  font-size: 0.9rem; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hot-desc.open { display: block; }
.hot-more {
  align-self: flex-start; background: none; border: 0; color: var(--accent); font-weight: 700;
  font-family: var(--font-body); font-size: 0.88rem; cursor: pointer; padding: 0;
}
.hot-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.hot-date { font-size: 0.82rem; color: var(--text-3); font-weight: 600; }
.hot-actions { display: flex; gap: 8px; align-items: center; }
.hot-tg {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(34, 158, 217, 0.14); color: var(--tg); transition: var(--t);
}
.hot-tg svg { width: 20px; height: 20px; }
.hot-tg:hover { background: var(--tg); color: #fff; }

/* ---------- Stats ---------- */
.stats { padding: 30px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat strong { font-family: var(--font-title); font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1.1; }
.stat span { color: var(--text-2); font-size: 0.92rem; font-weight: 600; }

/* ---------- Section header ---------- */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.7rem); font-weight: 900; margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-title.left { text-align: left; }
.section-subtitle { font-size: 1.08rem; }
.subhead { font-size: 1.35rem; margin: 64px 0 24px; color: #fff; }

/* ---------- Featured vacancy ---------- */
.featured-job {
  position: relative; border-radius: 24px; padding: 44px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(var(--accent-rgb), 0.16), transparent 70%),
    linear-gradient(180deg, rgba(26, 32, 48, 0.95), rgba(14, 18, 27, 0.95));
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--accent-rgb), 0.05) inset;
}
.fj-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.fj-head .urgent-badge { margin-bottom: 0; background: var(--accent); color: #fff; border-color: var(--accent); }
.fj-head .urgent-badge .pulse-dot { background: #fff; }
.fj-head .urgent-badge .pulse-dot::after { border-color: #fff; }
.fj-location { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-2); font-size: 0.95rem; }
.fj-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 900; margin: 18px 0 12px; color: #fff; }
.fj-lead { font-size: 1.08rem; max-width: 780px; }
.fj-salary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 28px 0 32px;
  padding: 22px 26px; border-radius: 16px;
  background: rgba(var(--green-rgb), 0.08); border: 1px solid rgba(var(--green-rgb), 0.3);
}
.fj-salary-value { display: block; font-family: var(--font-title); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: #fff; line-height: 1.1; }
.fj-salary-unit { display: block; font-weight: 800; color: var(--green); letter-spacing: 0.06em; font-size: 0.9rem; margin-top: 4px; }
.fj-salary-note { flex: 1; min-width: 220px; color: var(--text); font-weight: 600; font-size: 0.98rem; }
.fj-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fj-columns h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 16px; }
.fj-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.fj-list li { display: flex; gap: 14px; align-items: flex-start; }
.fj-list p { color: var(--text-2); }
.fj-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(var(--accent-rgb), 0.12); color: var(--accent);
}
.fj-ic svg { width: 20px; height: 20px; }
.fj-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0 28px; }
.fj-role {
  display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 16px 18px;
  border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); transition: var(--t);
}
.fj-role:hover { border-color: var(--line-hover); background: rgba(var(--accent-rgb), 0.06); transform: translateY(-2px); }
.fj-role-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; flex-shrink: 0; }
.fj-role-ic svg { width: 22px; height: 22px; }
.fj-role strong { display: block; font-family: var(--font-title); font-size: 1.1rem; }
.fj-role small { color: var(--text-3); font-weight: 600; }
.fj-role .arr { width: 20px; height: 20px; margin-left: auto; color: var(--accent); transition: transform 0.3s; }
.fj-role:hover .arr { transform: translateX(4px); }
.fj-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.fj-limited { color: var(--text); font-weight: 600; font-size: 0.97rem; flex-basis: 100%; margin-top: 6px; }
.fj-limited a { color: var(--accent); font-weight: 800; text-decoration: none; white-space: nowrap; }
.fj-limited.center { text-align: center; margin-top: 36px; }

/* ---------- Other vacancies ---------- */
.vacancies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vacancy-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px;
  display: flex; flex-direction: column; transition: var(--t);
}
.vacancy-card:hover { transform: translateY(-4px); border-color: var(--line-hover); background: var(--glass-hover); }
.vacancy-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.2); color: var(--accent);
  transition: var(--t);
}
.vacancy-icon svg { width: 26px; height: 26px; }
.vacancy-card:hover .vacancy-icon { background: var(--accent); color: #fff; }
.vacancy-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.vacancy-card p { font-size: 0.94rem; margin-bottom: 22px; flex-grow: 1; }
.vacancy-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none;
  font-family: var(--font-title); font-weight: 700; font-size: 0.95rem;
}
.vacancy-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.vacancy-link:hover svg { transform: translateX(4px); }

/* ---------- Guarantees ---------- */
.guarantees { background: linear-gradient(180deg, transparent, rgba(var(--green-rgb), 0.03) 30%, transparent); }
.pledge {
  display: flex; gap: 28px; align-items: center; padding: 36px 40px; margin-bottom: 28px;
  border-radius: 22px; border: 1px solid rgba(var(--green-rgb), 0.35);
  background: linear-gradient(135deg, rgba(var(--green-rgb), 0.12), rgba(18, 23, 34, 0.9) 60%);
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}
.pledge-seal {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--green-rgb), 0.15); color: var(--green); border: 2px dashed rgba(var(--green-rgb), 0.5);
}
.pledge-seal svg { width: 42px; height: 42px; }
.pledge-text { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--text); line-height: 1.55; font-weight: 500; }
.pledge-text strong { color: #7ff0c6; }
.pledge-sign { margin-top: 10px; font-style: italic; color: var(--text-3); font-weight: 600; }

.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.guarantee-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px;
  transition: var(--t);
}
.guarantee-card:hover { border-color: rgba(var(--green-rgb), 0.4); transform: translateY(-4px); }
.g-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(var(--green-rgb), 0.12); color: var(--green);
}
.g-icon svg { width: 26px; height: 26px; }
.guarantee-card h3 { font-size: 1.12rem; margin-bottom: 10px; color: #fff; }
.guarantee-card p { font-size: 0.93rem; }
.guarantee-card:nth-child(-n+2) { border-color: rgba(var(--green-rgb), 0.3); }

.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.benefit-block {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.benefit-block h3, .benefit-block h2 {
  font-size: 1.4rem; margin-bottom: 24px; padding-bottom: 16px; color: #fff; border-bottom: 1px solid var(--line);
}
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.benefit-list li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-list p { color: var(--text); font-size: 0.97rem; }
.b-check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
  background: rgba(var(--green-rgb), 0.14); color: var(--green);
}
.b-check svg { width: 15px; height: 15px; }
.benefit-list.provision .b-check { background: rgba(var(--gold-rgb), 0.14); color: var(--gold); border-radius: 8px; }
.benefit-note { display: block; margin-top: 20px; font-size: 0.86rem; color: var(--text-3); }

/* ---------- Countries ---------- */
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr) 60px repeat(2, 1fr); gap: 14px; align-items: stretch; }
.country {
  background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 22px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.flag { display: inline-block; width: 46px; height: 32px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 4px 10px rgba(0,0,0,0.35); flex-shrink: 0; }
.flag.sm { width: 24px; height: 16px; border-radius: 3px; }
.flag-sk { background: linear-gradient(#fff 0 33.3%, #0b4ea2 33.3% 66.6%, #ee1c25 66.6%); }
.flag-hu { background: linear-gradient(#ce2939 0 33.3%, #fff 33.3% 66.6%, #477050 66.6%); }
.flag-pl { background: linear-gradient(#fff 0 50%, #dc143c 50%); }
.flag-de { background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flag-be { background: linear-gradient(90deg, #000 0 33.3%, #fdda24 33.3% 66.6%, #ef3340 66.6%); }
.flag-cis { display: grid; place-items: center; background: rgba(var(--gold-rgb), 0.15); color: var(--gold); }
.flag-cis svg { width: 22px; height: 22px; }
.country strong { font-family: var(--font-title); font-size: 0.98rem; }
.country.dest { border-color: rgba(var(--green-rgb), 0.4); background: rgba(var(--green-rgb), 0.07); }
.country.arrow-to { background: none; border: 0; justify-content: center; color: var(--accent); padding: 0; }
.country.arrow-to svg { width: 34px; height: 34px; }

/* ---------- Timeline ---------- */
.timeline-wrapper { list-style: none; position: relative; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.timeline-wrapper::before {
  content: ''; position: absolute; left: 37px; top: 20px; bottom: 20px; width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--gold), var(--green)); opacity: 0.4; border-radius: 3px;
}
.timeline-step { display: grid; grid-template-columns: 78px 1fr; gap: 22px; align-items: center; position: relative; }
.timeline-node {
  width: 78px; height: 78px; border-radius: 18px; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--bg-tertiary); border: 2px solid var(--accent); color: var(--accent);
  font-family: var(--font-title); font-size: 1.4rem; font-weight: 900;
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.25);
}
.timeline-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 32px; }
.timeline-card h3 { font-size: 1.25rem; margin-bottom: 8px; color: #fff; }
.timeline-card p { font-size: 0.96rem; }

/* ---------- Community ---------- */
.community-box {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: 26px; border: 1px solid rgba(var(--accent-rgb), 0.25);
  background:
    radial-gradient(500px 300px at 0% 100%, rgba(37, 211, 102, 0.10), transparent 70%),
    radial-gradient(500px 300px at 100% 0%, rgba(24, 119, 242, 0.12), transparent 70%),
    var(--bg-secondary);
}
.community-text > p { font-size: 1.05rem; margin-bottom: 22px; }
.comm-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.comm-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--text); }
.comm-points svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.community-actions { display: flex; flex-direction: column; gap: 14px; }
.group-btn {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; text-decoration: none;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03); transition: var(--t);
}
.group-btn:hover { transform: translateY(-3px); }
.group-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.group-icon svg { width: 26px; height: 26px; }
.group-btn.wa .group-icon { background: var(--wa); }
.group-btn.fb .group-icon { background: var(--fb); }
.group-btn.tg .group-icon { background: var(--tg); }
.group-btn.wa:hover { border-color: var(--wa); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2); }
.group-btn.fb:hover { border-color: var(--fb); box-shadow: 0 10px 30px rgba(24, 119, 242, 0.2); }
.group-btn.tg:hover { border-color: var(--tg); box-shadow: 0 10px 30px rgba(34, 158, 217, 0.2); }
.group-label strong { display: block; font-family: var(--font-title); font-size: 1.08rem; }
.group-label small { color: var(--text-3); font-weight: 600; font-size: 0.86rem; }
.group-arrow { width: 20px; height: 20px; margin-left: auto; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.3s; }
.faq-item[open] { border-color: rgba(var(--accent-rgb), 0.35); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative;
  font-family: var(--font-title); font-weight: 700; font-size: 1.06rem; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(var(--accent-rgb), 0.12); color: var(--accent); font-size: 1.3rem; font-weight: 700; transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-a { padding: 0 26px 22px; color: var(--text-2); line-height: 1.65; }

/* ---------- Contact & form ---------- */
.contact-wrapper { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.contact-card, .form-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px;
  position: relative; box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}
.contact-card h3, .form-title-block h3 { font-size: 1.45rem; color: #fff; margin-bottom: 20px; }
.form-title-block h3 { margin-bottom: 6px; }
.form-title-block { margin-bottom: 26px; }
.contact-methods { display: flex; flex-direction: column; gap: 10px; }
.contact-method {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-md);
  text-decoration: none; border: 1px solid transparent; background: rgba(255,255,255,0.025); transition: var(--t);
}
.contact-method:hover { border-color: var(--line-hover); background: var(--glass-hover); transform: translateX(4px); }
.contact-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(var(--accent-rgb), 0.12); color: var(--accent);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-icon.ic-wa { background: rgba(37, 211, 102, 0.12); color: var(--wa); }
.contact-icon.ic-viber { background: rgba(115, 96, 242, 0.14); color: #9d8fff; }
.contact-icon.ic-tg { background: rgba(34, 158, 217, 0.12); color: var(--tg); }
.contact-details { display: flex; flex-direction: column; min-width: 0; }
.contact-label { font-size: 0.76rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.contact-value { font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; color: var(--text); overflow-wrap: anywhere; }

.form-group { margin-bottom: 18px; }
.form-group > label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-input-wrapper { position: relative; }
.form-control {
  width: 100%; padding: 14px 16px 14px 44px; border-radius: var(--r-md);
  background: rgba(5, 7, 10, 0.55); border: 1px solid var(--line); color: #fff;
  font-family: var(--font-body); font-size: 1rem; transition: var(--t);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18); }
.form-control::placeholder { color: var(--text-3); }
.form-control.invalid { border-color: #ef4444; }
select.form-control { appearance: none; cursor: pointer; padding-right: 40px; }
select.form-control option { background: var(--bg-secondary); }
.form-icon-left { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }
.form-control:focus ~ .form-icon-left { color: var(--accent); }
.select-arrow { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-3); pointer-events: none; }
.messenger-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.messenger-choice label { cursor: pointer; }
.messenger-choice input { position: absolute; opacity: 0; pointer-events: none; }
.messenger-choice span {
  display: inline-block; padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.5); color: var(--text-2); font-weight: 700; font-size: 0.9rem; transition: var(--t);
}
.messenger-choice input:checked + span { border-color: var(--accent); color: #fff; background: rgba(var(--accent-rgb), 0.18); }
.messenger-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--text-2); margin: 6px 0 20px; cursor: pointer; line-height: 1.5; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.consent.invalid { color: #fca5a5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit-btn { width: 100%; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 0.92rem; background: rgba(239, 68, 68, 0.12); color: #fecaca; border: 1px solid rgba(239, 68, 68, 0.35); }
.form-status a { color: #fff; font-weight: 700; }
.spinner { width: 18px; height: 18px; border: 2px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }

.form-success {
  position: absolute; inset: 0; z-index: 10; border-radius: var(--r-lg); background: var(--bg-secondary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 36px; gap: 12px;
  animation: fadeIn 0.4s ease-out;
}
.form-success[hidden] { display: none; }
.success-icon {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: rgba(var(--green-rgb), 0.14); color: var(--green); box-shadow: 0 0 30px rgba(var(--green-rgb), 0.25);
}
.success-icon svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.5rem; color: #fff; }

/* ---------- Job page ---------- */
.job-hero { padding: calc(var(--header-h) + 36px) 0 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--text-3); margin-bottom: 28px; }
.breadcrumbs a { color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.job-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.job-title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.job-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 10px; }
.job-facts div { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.job-facts span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-3); font-weight: 700; }
.job-facts strong { font-family: var(--font-title); font-size: 1.05rem; }
.job-apply {
  position: sticky; top: calc(var(--header-h) + 20px);
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(26, 32, 48, 0.96), rgba(14, 18, 27, 0.96));
  border: 1px solid rgba(var(--accent-rgb), 0.35); box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.js .job-apply.build { position: sticky; }
.job-apply .fj-salary-value { font-size: 2.05rem; white-space: nowrap; }
.job-apply .fj-salary-note { font-size: 0.9rem; margin-bottom: 8px; }
.job-apply .btn { width: 100%; }
.job-apply-phone { text-align: center; font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; color: #fff; text-decoration: none; margin-top: 6px; }
.job-apply small { text-align: center; color: var(--text-3); font-weight: 600; }
.job-details { padding-top: 40px; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- Legal ---------- */
.legal { padding-top: calc(var(--header-h) + 60px); }
.legal-body { margin: 10px 0 40px; }
.legal-body h2 { font-size: 1.25rem; margin: 28px 0 10px; color: #fff; }
.legal-body p { margin-bottom: 10px; }
.legal-body a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-darker); border-top: 1px solid var(--line); padding: 60px 0 30px; position: relative; z-index: 2; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-desc { max-width: 380px; font-size: 0.92rem; margin-top: 16px; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav-col h4 { font-size: 1rem; color: #fff; margin-bottom: 16px; }
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a { text-decoration: none; color: var(--text-2); font-size: 0.9rem; transition: color 0.3s; }
.footer-nav-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 0.86rem; color: var(--text-3); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line); color: var(--text); transition: var(--t);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px;
  background: var(--bg-secondary); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6); display: flex; flex-direction: column; gap: 12px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.9rem; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ============================================================
   BUILD-FROM-BLOCKS scroll effect
   ============================================================ */
.js .build { position: relative; }
.js .build:not(.built) {
  background: transparent !important; border-color: transparent !important;
  box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.js .build:not(.built) > :not(.bricks) { opacity: 0; }
.js .build.built > :not(.bricks) { animation: contentIn 0.55s var(--ease) both; }

.bricks {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  display: flex; flex-direction: column; gap: 3px; border-radius: inherit; overflow: hidden;
}
.brick-row { flex: 1; display: flex; gap: 3px; }
.brick {
  flex: 2 1 0; border-radius: 3px; background: var(--c, #1f2738);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -2px 0 rgba(0,0,0,0.25);
  opacity: 0; transform: translateY(-34px) scale(0.92);
}
.brick.half { flex: 1 1 0; }
.building .brick { animation: brickIn 0.42s cubic-bezier(0.25, 1.3, 0.5, 1) forwards; animation-delay: var(--d, 0ms); }
.built .bricks { opacity: 0; transition: opacity 0.5s ease 0.05s; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.active { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes brickIn { to { opacity: 1; transform: none; } }
@keyframes contentIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -110; } }
@keyframes pulseNode { 0% { transform: scale(0.8); opacity: 0.8; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .bricks { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .main-nav ul { gap: 18px; }
  .header-phone-btn span { display: none; }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .country-grid { grid-template-columns: repeat(4, 1fr); }
  .country.arrow-to { grid-column: 1 / -1; transform: rotate(90deg); height: 40px; }
  .country.dest { grid-column: span 2; }
}

@media (max-width: 960px) {
  .hero-wrapper { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-salary-card { left: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .vacancies-grid { grid-template-columns: 1fr; }
  .benefits-grid, .job-cols { grid-template-columns: 1fr; }
  .community-box { grid-template-columns: 1fr; padding: 36px; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .job-layout { grid-template-columns: 1fr; }
  .job-apply, .js .job-apply.build { position: relative; top: 0; }

  .mobile-menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h));
    background: rgba(10, 13, 20, 0.98); padding: 40px 24px; transform: translateX(-100%);
    transition: transform 0.45s var(--ease); z-index: 101; border-top: 1px solid var(--line);
  }
  .main-nav.active { transform: none; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 28px; }
  .main-nav a { font-size: 1.3rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .section { padding: 76px 0; }
  .container, .header-container { padding: 0 16px; }
  .logo-text { font-size: 1.2rem; }
  .logo-img { width: 38px; height: 38px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-actions .btn { width: 100%; }
  .featured-job { padding: 26px 20px; }
  .fj-salary { padding: 18px; }
  .fj-columns, .fj-roles { grid-template-columns: 1fr; }
  .fj-cta .btn { width: 100%; }
  .pledge { flex-direction: column; text-align: center; padding: 28px 22px; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .benefit-block, .contact-card, .form-card { padding: 26px 20px; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .country.dest { grid-column: span 1; }
  .timeline-wrapper::before { left: 27px; }
  .timeline-step { grid-template-columns: 58px 1fr; gap: 14px; }
  .timeline-node { width: 58px; height: 58px; font-size: 1.1rem; border-radius: 14px; }
  .timeline-card { padding: 20px; }
  .community-box { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hot-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 16px; scrollbar-width: none;
  }
  .hot-grid::-webkit-scrollbar { display: none; }
  .hot-card { scroll-snap-align: center; }
  .job-facts { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; }
  .stat strong { font-size: 1.6rem; }

  body { padding-bottom: 72px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 7, 10, 0.95); border-top: 1px solid var(--line); backdrop-filter: blur(12px);
  }
  .mobile-cta-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px;
    text-decoration: none; font-family: var(--font-title); font-weight: 800; color: #fff;
  }
  .mobile-cta-btn svg { width: 20px; height: 20px; }
  .mobile-cta-btn.call { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
  .mobile-cta-btn.wa { background: var(--wa); color: #06331a; }
  .cookie-banner { bottom: 84px; }
}

@media (max-width: 420px) {
  .header-controls { gap: 10px; }
  .hero-salary-card { position: relative; left: 0; bottom: 0; margin-top: -30px; margin-left: 12px; width: max-content; }
  .job-facts { grid-template-columns: 1fr; }
}

/* hot section heading: icon outside the gradient text */
.hot-h2 { display: flex; align-items: center; gap: 14px; background: none; -webkit-text-fill-color: initial; }
.hot-h2 span {
  background: linear-gradient(135deg, #fff 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hot-fire { width: 1.1em; height: 1.1em; color: var(--accent); flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.6)); animation: flicker 1.6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.08) rotate(2deg); } }

/* hot cards: language-neutral chips and original-text marker */
.hot-lang {
  display: inline-block; margin-left: 8px; vertical-align: middle; font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; padding: 3px 7px; border-radius: 6px;
  background: rgba(255,255,255,0.08); color: var(--text-2); border: 1px solid var(--line);
}
.hot-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hot-chip {
  font-size: 0.84rem; font-weight: 600; color: var(--text); padding: 6px 10px; border-radius: 100px;
  background: rgba(var(--gold-rgb), 0.1); border: 1px solid rgba(var(--gold-rgb), 0.25);
}
.hot-desc-orig { display: none; }
.hot-desc-orig.open { display: block; }

.hot-grid .hot-extra { display: none; }
.hot-grid.show-all .hot-extra { display: block; }
.hot-more-wrap { text-align: center; margin-top: 28px; }
.hot-more-wrap[hidden] { display: none; }
@media (max-width: 720px) {
  .hot-grid .hot-extra { display: block; }
  .hot-more-wrap { display: none; }
}

/* equal-height cards per row, actions pinned to the bottom */
.hot-grid { align-items: stretch; }
.hot-card { display: flex; flex-direction: column; }
.hot-body { flex: 1; }
.hot-foot { margin-top: auto; }
.hot-grid .hot-extra { display: none; }
.hot-grid.show-all .hot-extra { display: flex; }
@media (max-width: 720px) { .hot-grid .hot-extra { display: flex; } }
