/* =====================================================
   VAGAS SP — Main Stylesheet
   Optimized for PageSpeed, mobile-first, SEO-ready
   ===================================================== */

/* ---- Custom Properties ---- */
:root {
  --red: #E30613;
  --red-dark: #b8040f;
  --red-light: #ff1a2a;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --blue: #1d4ed8;
  --text: #1a1a2e;
  --text-soft: #4b5563;
  --text-muted: #9ca3af;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.15), 0 8px 20px rgba(0,0,0,.10);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Barlow Condensed', 'Arial Black', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --container: min(1240px, 94%);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ---- Container ---- */
.container { width: var(--container); margin-inline: auto; }

/* ---- Skip Link (Accessibility) ---- */
.skip-link {
  position: absolute; top: -999px; left: 0; z-index: 9999;
  background: var(--red); color: #fff; padding: 10px 20px;
  border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ======================================================
   HEADER & NAVIGATION
   ====================================================== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 20px rgba(0,0,0,.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0;
  height: 68px;
}

.logo {
  display: flex; align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img { height: 44px; width: auto; }

/* Nav main */
.nav-main {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}

.nav-main > a, .nav-dropdown > .nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-main > a:hover, .nav-dropdown:hover > .nav-link {
  background: #fef2f2; color: var(--red);
}

.nav-main > a.active { color: var(--red); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .chevron { width: 14px; height: 14px; transition: var(--transition); }
.nav-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500;
  color: var(--text-soft);
  transition: var(--transition);
}
.dropdown-menu a:hover { background: #fef2f2; color: var(--red); }
.dropdown-menu a svg { width: 16px; height: 16px; color: var(--red); }

/* Header actions */
.header-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

.btn-login {
  padding: 8px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .88rem;
  color: var(--text); background: transparent;
  cursor: pointer; transition: var(--transition);
}
.btn-login:hover { border-color: var(--red); color: var(--red); }

.btn-post {
  padding: 9px 20px;
  background: var(--red);
  color: #fff; border: none;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: .88rem;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.btn-post:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(227,6,19,.35); }

/* Mobile hamburger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
  border-radius: var(--radius-sm);
}
.burger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--text); border-radius: 99px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ======================================================
   HERO SECTION
   ====================================================== */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(227,6,19,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(29,78,216,.2) 0%, transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Geometric pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative; z-index: 1;
  padding: 80px 0;
  width: var(--container); margin-inline: auto;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,6,19,.15);
  border: 1px solid rgba(227,6,19,.3);
  color: #ff6b77;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: pulse 1.5s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--red); }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.7);
  max-width: 580px;
  margin-bottom: 40px;
}

/* Stats bar */
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 36px;
}
.stat-item { color: #fff; }
.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.stat-item span { font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---- Search Box ---- */
.search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex; gap: 8px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  max-width: 820px;
  margin-bottom: 16px;
}

.search-field {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.search-field:focus-within {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227,6,19,.08);
}

.search-field svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }

.search-field input {
  border: none; outline: none; background: transparent;
  font-size: .95rem; color: var(--text); width: 100%;
}
.search-field input::placeholder { color: var(--text-muted); }

.btn-search {
  padding: 14px 28px;
  background: var(--red); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-search:hover { background: var(--red-dark); transform: translateY(-1px); }

.search-tags {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.search-tag-label { font-size: .82rem; color: rgba(255,255,255,.5); }
.search-tag {
  padding: 5px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  border-radius: 99px;
  font-size: .8rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.search-tag:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ======================================================
   SECTION UTILITIES
   ====================================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label::before, .section-label::after {
  content: ''; flex: 1; height: 1.5px; background: var(--red); opacity: .3;
  width: 30px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ======================================================
   CATEGORY PILLS
   ====================================================== */
.categories-section { padding: 64px 0; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.cat-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.cat-icon {
  width: 52px; height: 52px;
  background: #fef2f2;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cat-card:hover .cat-icon { background: var(--red); }
.cat-card:hover .cat-icon svg { color: #fff; }
.cat-icon svg { width: 26px; height: 26px; color: var(--red); transition: var(--transition); }

.cat-name {
  font-weight: 600; font-size: .88rem;
  color: var(--text); text-align: center;
  transition: var(--transition);
}
.cat-count {
  font-size: .78rem; color: var(--text-muted);
  background: var(--bg);
  padding: 2px 10px; border-radius: 99px;
}

/* ======================================================
   JOB LISTINGS
   ====================================================== */
.jobs-section { padding: 0 0 80px; }

.jobs-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 16px;
}

.jobs-count {
  font-size: .9rem; color: var(--text-soft);
}
.jobs-count strong { color: var(--text); }

.jobs-sort {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

.sort-btn {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  font-size: .82rem; font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-card);
  cursor: pointer; transition: var(--transition);
}
.sort-btn.active, .sort-btn:hover {
  border-color: var(--red); color: var(--red); background: #fef2f2;
}

/* Job Card */
.job-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--red);
  transform: scaleY(0); transition: var(--transition);
  transform-origin: bottom;
}

.job-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.job-card:hover::before { transform: scaleY(1); }

.company-logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.1rem;
  color: var(--red);
  flex-shrink: 0;
  overflow: hidden;
}
.company-logo img { width: 100%; height: 100%; object-fit: contain; }

.job-info { min-width: 0; }

.job-title {
  font-weight: 700; font-size: 1.02rem;
  color: var(--text); line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.job-company {
  font-size: .87rem; color: var(--text-soft);
  margin-bottom: 8px;
}

.job-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

.job-tag {
  display: flex; align-items: center; gap: 5px;
  font-size: .78rem; color: var(--text-muted);
  font-weight: 500;
}
.job-tag svg { width: 13px; height: 13px; }

.job-badges {
  display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0;
}

.badge {
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}

.badge-urgente { background: #fef2f2; color: var(--red); border: 1px solid rgba(227,6,19,.2); }
.badge-novo { background: #f0fdf4; color: #16a34a; border: 1px solid rgba(22,163,74,.2); }
.badge-home { background: #eff6ff; color: #1d4ed8; border: 1px solid rgba(29,78,216,.2); }
.badge-efetivo { background: #fefce8; color: #ca8a04; border: 1px solid rgba(202,138,4,.2); }
.badge-pcd { background: #f5f3ff; color: #7c3aed; border: 1px solid rgba(124,58,237,.2); }

.job-time {
  font-size: .78rem; color: var(--text-muted);
  margin-top: 6px;
}

.jobs-list { display: flex; flex-direction: column; gap: 10px; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 48px;
}

.page-btn {
  min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-card);
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active {
  border-color: var(--red); color: var(--red); background: #fef2f2;
}
.page-btn.active { background: var(--red); color: #fff; }

/* ======================================================
   SIDEBAR FILTERS
   ====================================================== */
.jobs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar {
  position: sticky; top: 88px;
}

.filter-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.filter-title {
  font-weight: 700; font-size: .9rem;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.filter-clear {
  font-size: .75rem; color: var(--red); cursor: pointer;
  font-weight: 600; border: none; background: none;
}

.filter-group { margin-bottom: 10px; }

.filter-check {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; cursor: pointer;
  transition: var(--transition);
}
.filter-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--red);
  cursor: pointer;
}
.filter-check label {
  font-size: .87rem; color: var(--text-soft);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 8px;
}
.filter-check label span {
  font-size: .75rem; color: var(--text-muted);
  background: var(--bg); padding: 1px 8px; border-radius: 99px;
}

.filter-search {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--text);
  outline: none; transition: var(--transition);
  background: var(--bg);
}
.filter-search:focus { border-color: var(--red); background: #fff; }

/* Salary range */
.salary-range {
  display: flex; gap: 10px; align-items: center;
  margin-top: 10px;
}
.salary-range input[type="range"] {
  width: 100%; accent-color: var(--red);
}

/* ======================================================
   FEATURED EMPLOYERS
   ====================================================== */
.employers-section { padding: 80px 0; background: var(--navy); }
.employers-section .section-title { color: #fff; }
.employers-section .section-desc { color: rgba(255,255,255,.6); }
.employers-section .section-label { color: rgba(255,255,255,.7); }

.employers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.employer-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.employer-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-3px);
}

.employer-logo {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.1);
  border-radius: 14px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.4rem;
  color: #fff;
}
.employer-name { font-weight: 700; color: #fff; font-size: .9rem; margin-bottom: 4px; }
.employer-vagas { font-size: .8rem; color: rgba(255,255,255,.5); }
.employer-vagas strong { color: var(--red-light); }

/* ======================================================
   ALERT SIGNUP
   ====================================================== */
.alert-section { padding: 80px 0; }

.alert-box {
  background: linear-gradient(135deg, var(--red) 0%, #b8040f 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: flex; align-items: center;
  gap: 48px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}

.alert-box::before {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.alert-box::after {
  content: '';
  position: absolute; right: 40px; bottom: -60px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}

.alert-text { flex: 1; min-width: 240px; position: relative; z-index: 1; }
.alert-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800; color: #fff;
  line-height: 1.15; margin-bottom: 12px;
}
.alert-text p { color: rgba(255,255,255,.8); font-size: 1.05rem; }

.alert-form {
  display: flex; gap: 10px; flex-wrap: wrap;
  flex: 1; min-width: 280px; max-width: 520px;
  position: relative; z-index: 1;
}
.alert-form input {
  flex: 1; min-width: 200px; padding: 14px 18px;
  border: none; border-radius: var(--radius-sm);
  font-size: .95rem; outline: none;
  background: rgba(255,255,255,.95);
}
.alert-form button {
  padding: 14px 24px;
  background: var(--navy); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-weight: 700; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.alert-form button:hover { background: #0a0f1c; }

/* ======================================================
   HOW IT WORKS
   ====================================================== */
.how-section { padding: 80px 0; background: var(--bg-card); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute; top: 32px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0, var(--red) 8px, transparent 8px, transparent 18px);
  display: none;
}

.step-card { text-align: center; padding: 16px; }

.step-num {
  width: 64px; height: 64px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.5rem;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 8px 24px rgba(227,6,19,.35);
}
.step-num::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(227,6,19,.3);
}

.step-card h3 {
  font-weight: 700; font-size: 1.05rem;
  color: var(--text); margin-bottom: 8px;
}
.step-card p { font-size: .9rem; color: var(--text-soft); }

/* ======================================================
   BLOG SECTION
   ====================================================== */
.blog-section { padding: 80px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
}
.blog-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-img {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  overflow: hidden; position: relative;
}
.blog-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 800;
  color: rgba(227,6,19,.25);
  letter-spacing: -1px;
}

.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  font-size: .75rem; font-weight: 700;
  color: var(--red); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 10px;
}
.blog-card h3 {
  font-weight: 700; font-size: 1.02rem;
  line-height: 1.4; margin-bottom: 10px;
}
.blog-card p { font-size: .88rem; color: var(--text-soft); line-height: 1.6; flex: 1; }
.blog-meta {
  margin-top: 16px; font-size: .78rem; color: var(--text-muted);
  display: flex; gap: 12px;
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-brand p {
  margin-top: 16px; color: rgba(255,255,255,.5);
  font-size: .88rem; line-height: 1.7; max-width: 280px;
}

.footer-social {
  display: flex; gap: 10px; margin-top: 20px;
}
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
  color: rgba(255,255,255,.6);
}
.social-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social-btn svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-weight: 700; font-size: .9rem;
  color: #fff; margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col a {
  display: block; color: rgba(255,255,255,.5);
  font-size: .87rem; margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: rgba(255,255,255,.9); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p {
  color: rgba(255,255,255,.35); font-size: .82rem;
}
.footer-badges { display: flex; gap: 10px; align-items: center; }
.safe-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px;
  font-size: .75rem; color: rgba(255,255,255,.4);
}
.safe-badge svg { width: 13px; height: 13px; color: #4ade80; }

/* ======================================================
   MOBILE MENU OVERLAY
   ====================================================== */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 999;
  display: flex; flex-direction: column;
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-menu-close {
  width: 40px; height: 40px;
  border: none; background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close svg { width: 20px; height: 20px; }

.mobile-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 4px;
  color: rgba(255,255,255,.75);
  font-size: 1.1rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav a svg { width: 20px; height: 20px; color: var(--red); }

.mobile-actions {
  margin-top: 32px; display: flex; flex-direction: column; gap: 12px;
}
.mobile-actions a {
  display: flex; align-items: center; justify-content: center;
  padding: 14px; border-radius: var(--radius-sm);
  font-weight: 700; text-align: center; text-decoration: none;
}
.btn-mobile-login {
  border: 2px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.75);
  background: transparent;
}
.btn-mobile-post {
  background: var(--red); color: #fff;
}

/* ======================================================
   BACK TO TOP
   ====================================================== */
.back-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  background: var(--red); color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 16px rgba(227,6,19,.45);
  transition: var(--transition); z-index: 99;
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(227,6,19,.55); }
.back-top svg { width: 20px; height: 20px; }

/* ======================================================
   TOAST NOTIFICATION
   ====================================================== */
.toast {
  position: fixed; bottom: 80px; right: 24px; z-index: 9999;
  background: var(--navy); color: #fff;
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px); opacity: 0;
  transition: var(--transition);
  display: flex; align-items: center; gap: 10px;
  max-width: 300px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 18px; height: 18px; color: #4ade80; flex-shrink: 0; }

/* ======================================================
   UTILITY CLASSES
   ====================================================== */
.text-red { color: var(--red); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: .9rem;
  cursor: pointer; transition: var(--transition);
  border: none; text-decoration: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(227,6,19,.4); }
.btn-outline { border: 2px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.view-all {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-weight: 700; font-size: .9rem;
  text-decoration: none; transition: var(--transition);
}
.view-all svg { width: 16px; height: 16px; transition: var(--transition); }
.view-all:hover { gap: 12px; }

/* ======================================================
   RESPONSIVE — TABLET
   ====================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: 1 / -1; }
  .jobs-layout { grid-template-columns: 240px 1fr; gap: 24px; }
}

/* ======================================================
   RESPONSIVE — MOBILE
   ====================================================== */
@media (max-width: 768px) {
  .nav-main, .header-actions { display: none; }
  .burger { display: flex; }

  .hero { min-height: 480px; }
  .hero-content { padding: 60px 0; }
  .hero-stats { gap: 24px; }
  .stat-item strong { font-size: 1.4rem; }

  .search-box { gap: 10px; padding: 10px; }
  .search-field { min-width: 100%; }

  .jobs-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }

  .job-card { grid-template-columns: 44px 1fr; }
  .job-badges { grid-column: 1 / -1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > *:last-child { grid-column: auto; }

  .alert-box { padding: 36px 24px; }

  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .search-box { border-radius: var(--radius); }
  .hero-stats { flex-direction: column; gap: 16px; }
  .employers-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

/* ======================================================
   PRINT
   ====================================================== */
@media print {
  .header, .footer, .sidebar, .btn-post, .alert-section { display: none !important; }
  .jobs-layout { grid-template-columns: 1fr; }
  body { background: #fff; }
}

/* ======================================================
   REDUCED MOTION
   ====================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
