/* ============================================================
   All Care Roles UK — Main Stylesheet
   Palette: Deep Purple #6B21A8 · Teal #0891B2 · Cyan #00D4FF
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --purple-900: #3B0764;
  --purple-800: #4B0082;
  --purple-700: #6B21A8;
  --purple-600: #7C3AED;
  --purple-100: #F3E8FF;
  --teal-700:   #0E7490;
  --teal-600:   #0891B2;
  --teal-400:   #22D3EE;
  --cyan:       #00D4FF;
  --dark:       #1E1B4B;
  --gray-900:   #111827;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-300:   #D1D5DB;
  --gray-100:   #F9FAFB;
  --white:      #FFFFFF;
  --success:    #10B981;
  --warning:    #F59E0B;
  --error:      #EF4444;

  --gradient-main: linear-gradient(135deg, var(--purple-700), var(--teal-600));
  --gradient-hero: linear-gradient(135deg, #3B0764 0%, #4B0082 40%, #0E7490 100%);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 40px rgba(0,0,0,.15);
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;
  --transition: 0.2s ease;
  --header-h:   72px;
  --font-sans:  'Poppins', 'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { color: var(--gray-900); line-height: 1.25; font-weight: 700; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Accessibility ─────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; max-width: 100%; overflow-x: hidden; }
.alt-section { background: var(--gray-100); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(107,33,168,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107,33,168,.4);
}
.btn-outline {
  border: 2px solid var(--purple-700);
  color: var(--purple-700);
  background: transparent;
}
.btn-outline:hover { background: var(--purple-100); }
.btn-ghost { color: var(--gray-500); background: transparent; }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-700); }
.btn-white {
  background: var(--white);
  color: var(--purple-700);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.btn-outline-white:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }
.w-full { width: 100%; justify-content: center; }

.btn-primary-sm, .btn-outline-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 13px; transition: all var(--transition);
}
.btn-primary-sm {
  background: var(--gradient-main); color: var(--white);
  box-shadow: 0 3px 10px rgba(107,33,168,.3);
}
.btn-primary-sm:hover { transform: translateY(-1px); }
.btn-outline-sm { border: 1.5px solid var(--purple-700); color: var(--purple-700); }
.btn-outline-sm:hover { background: var(--purple-100); }

/* ── Typography Helpers ────────────────────────────────── */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-bg { background: var(--gradient-main); color: var(--white); }

/* ── Section Headers ───────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  background: var(--purple-100);
  color: var(--purple-700);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-badge.light {
  background: rgba(255,255,255,.2);
  color: var(--white);
}
.section-title { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.section-desc  { color: var(--gray-500); font-size: 16px; max-width: 560px; margin: 0 auto; }
.section-cta   { text-align: center; margin-top: 48px; }

/* ── Navigation ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-logo { width: 44px; height: 44px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 17px; font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-sub { font-size: 11px; font-weight: 600; color: var(--teal-600); letter-spacing: 2px; text-transform: uppercase; }
.nav-menu {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: var(--purple-100);
  color: var(--purple-700);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius-sm);
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: all .3s;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero { display: flex; flex-direction: column; }
.hero-split {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: calc(100vh - var(--header-h));
}
.hero-left {
  background: var(--gradient-hero);
  padding: 72px 64px 72px 44px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { max-width: 560px; position: relative; z-index: 1; }

.hero-right {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
}
/* Gradient fade that visually merges the image into the left panel */
.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    #3B0764 0%,
    rgba(59, 7, 100, 0.82) 14%,
    rgba(75, 0, 130, 0.35) 32%,
    rgba(14, 116, 144, 0.08) 52%,
    transparent 70%
  );
  z-index: 2;
  pointer-events: none;
}

/* ── Image Slider ───────────────────────────────────────── */
.hero-slider { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease-in-out; }
.slide.active { opacity: 1; z-index: 1; }
.slide-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.slide-caption {
  position: absolute; bottom: 80px; left: 20px; right: 20px; z-index: 2;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
.slide-indicator {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.slide-caption-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.slide-caption-text span { font-size: 12px; color: var(--gray-500); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 10; color: var(--gray-700);
}
.slider-arrow:hover { background: var(--white); box-shadow: var(--shadow-xl); transform: translateY(-50%) scale(1.08); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.55);
  border: none; cursor: pointer;
  transition: all 0.35s ease;
}
.slider-dot.active { width: 26px; background: var(--white); }

/* Hero text elements */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white); padding: 6px 16px;
  border-radius: var(--radius-full); font-size: 13px; font-weight: 500;
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .7; }
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 16px; color: rgba(255,255,255,.85);
  margin-bottom: 36px; line-height: 1.7;
}

/* Hero Search */
.hero-search { margin-bottom: 24px; }
.search-group {
  display: flex; align-items: center;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  overflow: hidden; padding: 6px 6px 6px 0;
}
.search-field {
  display: flex; align-items: center; flex: 1; position: relative;
  border-right: 1px solid var(--gray-300);
}
.search-field:last-of-type { border-right: none; }
.search-icon { position: absolute; left: 16px; color: var(--gray-500); pointer-events: none; }
.search-input {
  width: 100%; border: none; outline: none; background: none;
  padding: 12px 16px 12px 44px; font-size: 14px; color: var(--gray-900);
}
.search-input::placeholder { color: var(--gray-500); }
.search-select {
  flex: 0 0 auto; width: 150px; border: none; outline: none;
  background: none; padding: 12px 16px;
  font-size: 14px; color: var(--gray-700); cursor: pointer;
}
.search-btn { flex-shrink: 0; margin: 4px; border-radius: var(--radius-full) !important; }

/* Hero Tags */
.hero-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tags-label { color: rgba(255,255,255,.7); font-size: 13px; }
.hero-tag {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white); padding: 4px 14px;
  border-radius: var(--radius-full); font-size: 12px;
  transition: all var(--transition);
}
.hero-tag:hover { background: rgba(255,255,255,.25); }

/* Stats Bar */
.hero-stats {
  background: var(--dark);
  padding: 24px 0;
}
.stats-grid {
  display: flex; align-items: center;
  justify-content: center; gap: 0;
}
.stat-item { text-align: center; padding: 0 48px; }
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.2);
}
.stat-number { display: block; font-size: 32px; font-weight: 800; color: var(--cyan); }
.stat-label  { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--gradient-hero);
  padding: 64px 0 56px;
  text-align: center;
}
.gradient-hero { background: var(--gradient-hero); }
.page-hero-title { font-size: clamp(28px, 5vw, 44px); color: var(--white); margin-bottom: 12px; }
.page-hero-sub   { font-size: 17px; color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto; }
.page-hero-content { max-width: 700px; margin: 0 auto; }

/* ── Job Categories ────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.category-card:hover {
  border-color: var(--purple-700);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.category-icon {
  width: 52px; height: 52px;
  background: var(--purple-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-700);
  transition: all var(--transition);
}
.category-card:hover .category-icon { background: var(--gradient-main); color: var(--white); }
.category-name { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.category-sub  { font-size: 12px; color: var(--gray-500); }
.category-arrow {
  margin-top: auto; padding-top: 12px;
  font-size: 18px; color: var(--purple-700);
  transition: transform var(--transition);
}
.category-card:hover .category-arrow { transform: translateX(4px); }

/* ── Job Cards ─────────────────────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.jobs-grid.compact { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-card {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all var(--transition);
}
.job-card:hover { border-color: var(--purple-600); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.job-card-header { display: flex; justify-content: space-between; align-items: center; }
.job-card-date   { font-size: 12px; color: var(--gray-500); }
.job-card-title  { font-size: 16px; font-weight: 700; }
.job-card-title a { color: var(--gray-900); transition: color var(--transition); }
.job-card-title a:hover { color: var(--purple-700); }
.job-card-meta {
  display: flex; flex-direction: column; gap: 4px;
}
.meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray-500);
}
.meta-salary { color: var(--teal-700); font-weight: 600; }
.job-card-excerpt { font-size: 13px; color: var(--gray-500); line-height: 1.6; flex: 1; }
.job-card-footer  { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-300); }

/* Job Type Badges */
.job-type-badge, .job-card-badge {
  display: inline-block;
  padding: 3px 12px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
}
.full-time    { background: #EDE9FE; color: #6D28D9; }
.part-time    { background: #D1FAE5; color: #065F46; }
.contract     { background: #FEF3C7; color: #92400E; }
.temporary    { background: #FCE7F3; color: #9D174D; }
.bank         { background: #DBEAFE; color: #1E40AF; }
.job-type-badge.sm { font-size: 10px; padding: 2px 9px; }

/* ── Job List Cards (listing page) ─────────────────────── */
.jobs-list { display: flex; flex-direction: column; gap: 20px; }
.job-list-card {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; align-items: center; gap: 24px;
  transition: all var(--transition);
}
.job-list-card:hover { border-color: var(--purple-600); box-shadow: var(--shadow-md); }
.jlc-left { flex: 1; min-width: 0; }
.jlc-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.jlc-title  { font-size: 18px; font-weight: 700; }
.jlc-title a { color: var(--gray-900); }
.jlc-title a:hover { color: var(--purple-700); }
.jlc-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.jlc-meta span {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--gray-500);
}
.jlc-excerpt { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.jlc-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* ── Search/Filter Bars ─────────────────────────────────── */
.search-bar-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  padding: 20px 0;
  position: sticky; top: var(--header-h); z-index: 100;
  box-shadow: var(--shadow-sm);
}
.filter-grid {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.filter-field { position: relative; flex: 1; min-width: 200px; }
.input-icon-wrap { position: relative; }
.input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--gray-500); pointer-events: none;
}
.filter-input {
  width: 100%; border: 1.5px solid var(--gray-300); border-radius: var(--radius-full);
  padding: 10px 14px 10px 36px; font-size: 14px;
  outline: none; transition: border-color var(--transition);
}
.filter-input:focus { border-color: var(--purple-600); }
.filter-select {
  width: 100%; border: 1.5px solid var(--gray-300); border-radius: var(--radius-full);
  padding: 10px 16px; font-size: 14px;
  outline: none; transition: border-color var(--transition); background: var(--white);
}
.filter-select:focus { border-color: var(--purple-600); }

/* ── Results Header ────────────────────────────────────── */
.results-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-300);
}
.results-count { font-size: 15px; color: var(--gray-700); }
.results-count strong { color: var(--purple-700); }
.results-page  { font-size: 13px; color: var(--gray-500); }

/* ── Pagination ────────────────────────────────────────── */
.pagination { margin-top: 40px; }
.pagination-inner { display: flex; align-items: center; justify-content: center; gap: 8px; }
.page-btn {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700); transition: all var(--transition);
}
.page-btn:hover { border-color: var(--purple-700); color: var(--purple-700); }
.page-numbers { display: flex; gap: 4px; }
.page-num {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full); font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--gray-300); color: var(--gray-700); transition: all var(--transition);
}
.page-num.active { background: var(--gradient-main); color: var(--white); border-color: transparent; }
.page-num:hover:not(.active) { border-color: var(--purple-700); color: var(--purple-700); }

/* ── Job Detail ─────────────────────────────────────────── */
.breadcrumb-bar { background: var(--gray-100); padding: 14px 0; border-bottom: 1px solid var(--gray-300); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500); }
.breadcrumb a:hover { color: var(--purple-700); }
.breadcrumb [aria-current] { color: var(--gray-900); font-weight: 600; }

.job-detail-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
  padding: 40px 0;
}
.job-detail-header { margin-bottom: 32px; }
.job-header-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.job-date { font-size: 13px; color: var(--gray-500); }
.job-detail-title { font-size: clamp(24px, 4vw, 36px); margin-bottom: 16px; }
.job-detail-meta  { display: flex; flex-wrap: wrap; gap: 12px; }
.meta-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-100); border-radius: var(--radius-full);
  padding: 6px 16px; font-size: 14px; font-weight: 500; color: var(--gray-700);
}
.meta-chip.salary { background: #D1FAE5; color: #065F46; }
.job-detail-body h2 { font-size: 20px; color: var(--purple-800); margin: 32px 0 16px; }
.job-detail-body h2:first-child { margin-top: 0; }
.rich-content { line-height: 1.8; color: var(--gray-700); }
.rich-content p  { margin-bottom: 16px; }
.rich-content ul, .rich-content ol { padding-left: 24px; margin-bottom: 16px; }
.rich-content li { margin-bottom: 8px; }
.rich-content h3 { font-size: 17px; color: var(--gray-900); margin: 20px 0 10px; }
.job-detail-apply { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--gray-300); }
.apply-note { margin-top: 12px; font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }

/* Sidebar */
.sidebar-card {
  background: var(--white); border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}
.sidebar-card.gradient-bg { border-color: transparent; }
.sidebar-card h3, .sidebar-card-title {
  font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--gray-900);
}
.sidebar-card.gradient-bg h3 { color: var(--white); }
.sidebar-card.gradient-bg p { color: rgba(255,255,255,.9); }
.sidebar-card-text { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }
.summary-list { display: flex; flex-direction: column; gap: 12px; }
.summary-list li { display: flex; align-items: flex-start; gap: 10px; }
.summary-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--purple-700); }
.summary-list li span { font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.summary-list li span strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-500); margin-bottom: 2px; }
.cta-card { text-align: center; }
.share-links { display: flex; gap: 10px; }
.share-btn {
  flex: 1; text-align: center; padding: 9px;
  border-radius: var(--radius-md); font-size: 13px; font-weight: 600;
  transition: all var(--transition);
}
.share-btn.email   { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-300); }
.share-btn.linkedin{ background: #0077B5; color: var(--white); }
.share-btn:hover   { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.related-jobs { margin-top: 64px; }
.related-title { font-size: 24px; margin-bottom: 24px; }

/* ── Apply Page ─────────────────────────────────────────── */
.apply-section { padding: 40px 0 80px; }
.apply-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
  align-items: start;
}
.form-card {
  background: var(--white); border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-xl); overflow: hidden;
}
.form-card-header {
  padding: 32px; text-align: center;
}
.apply-badge { display: inline-block; font-size: 12px; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.apply-title { font-size: clamp(20px, 3vw, 28px); color: var(--white); margin-bottom: 10px; }
.apply-meta  { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,.85); }
.apply-form  { padding: 32px; }
.apply-sidebar .sidebar-card { position: sticky; top: calc(var(--header-h) + 20px); }

/* Process List */
.process-list { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.process-list li {
  display: flex; align-items: flex-start; gap: 12px;
}
.process-num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--gradient-main); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.process-list strong { display: block; font-size: 14px; margin-bottom: 2px; }
.process-list p { font-size: 12px; color: var(--gray-500); margin: 0; }
.tips-card .sidebar-card-title { color: var(--gray-900); }
.tips-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tips-list li {
  font-size: 13px; color: var(--gray-600);
  padding-left: 16px; position: relative;
}
.tips-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--success); font-weight: 700;
}

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-label.required::after { content: ' *'; color: var(--error); }
.optional { font-weight: 400; color: var(--gray-500); }
.form-control {
  width: 100%; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md); padding: 10px 14px;
  font-size: 14px; color: var(--gray-900); background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--purple-600); box-shadow: 0 0 0 3px rgba(107,33,168,.1); }
.form-control.textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 5px; }
.form-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.col-span-2 { grid-column: span 2; }
.char-counter { font-size: 12px; color: var(--gray-500); text-align: right; margin-top: 4px; }

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--gray-300); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; cursor: pointer;
  transition: all var(--transition); position: relative;
  background: var(--gray-100);
}
.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: var(--purple-600);
  background: var(--purple-100);
}
.file-upload-area.has-file { border-style: solid; border-color: var(--success); background: #F0FDF4; }
.file-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.upload-icon { font-size: 40px; margin-bottom: 10px; }
.upload-text { font-size: 14px; color: var(--gray-700); margin-bottom: 4px; }
.upload-sub  { font-size: 12px; color: var(--gray-500); }
.file-selected {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 14px; color: var(--success); font-weight: 600;
}
.file-remove {
  background: none; border: 1px solid var(--error); color: var(--error);
  border-radius: var(--radius-full); padding: 3px 10px; font-size: 12px;
  cursor: pointer; transition: all var(--transition);
}
.file-remove:hover { background: var(--error); color: var(--white); }

/* Checkbox */
.privacy-group { padding: 16px; background: var(--gray-100); border-radius: var(--radius-md); }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: 13px; color: var(--gray-600);
}
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--purple-700); }
.checkbox-label a { color: var(--purple-700); text-decoration: underline; }

/* Submit button loader */
.spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Form Errors */
.form-errors {
  background: #FEE2E2; border: 1px solid #FCA5A5;
  border-radius: var(--radius-md); padding: 16px;
  margin-bottom: 20px;
}
.form-errors-header {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; color: #991B1B; margin-bottom: 8px;
}
.error-list { padding-left: 20px; }
.error-list li { font-size: 13px; color: #991B1B; margin-bottom: 4px; }

/* Alert Banner */
.alert-banner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 24px;
}
.alert-banner.success { background: #D1FAE5; color: #065F46; }
.alert-banner strong  { display: block; font-weight: 700; }
.alert-banner span    { font-size: 14px; }

/* Toast */
.toast {
  position: fixed; top: calc(var(--header-h) + 16px); right: 16px;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; z-index: 9999;
  box-shadow: var(--shadow-xl); animation: slideIn .35s ease;
}
.toast-success { background: var(--success); color: var(--white); }
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

/* ── Why Section ────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.why-content .section-badge { margin-bottom: 12px; }
.why-content p { color: var(--gray-600); margin-bottom: 14px; }
.why-features { margin: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.why-feature  { display: flex; align-items: flex-start; gap: 14px; }
.why-icon {
  width: 48px; height: 48px;
  background: var(--purple-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-700);
  flex-shrink: 0;
}
.why-feature h3 { font-size: 15px; margin-bottom: 4px; }
.why-feature p  { font-size: 13px; color: var(--gray-500); margin: 0; }
.why-visual { position: relative; }
.why-image-wrap { position: relative; }
.why-photo {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: block;
}
.why-photo-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  min-width: 130px;
}
.why-photo-badge strong { display: block; font-size: 22px; color: var(--purple-700); font-weight: 800; }
.why-photo-badge span   { font-size: 12px; color: var(--gray-500); display: block; }
.why-photo-badge.badge-tr { top: 28px; right: -24px; }
.why-photo-badge.badge-bl { bottom: 36px; left: -24px; }
.why-photo-badge.badge-bm { bottom: 36px; right: 32px; }

/* ── How It Works ───────────────────────────────────────── */
.how-section { background: var(--gray-100); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card  {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient-main);
}
.step-number { font-size: 48px; font-weight: 900; color: var(--gray-300); line-height: 1; margin-bottom: 8px; }
.step-icon {
  width: 60px; height: 60px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin: 0 auto 16px;
}
.step-title  { font-size: 18px; margin-bottom: 10px; }
.step-desc   { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── CTA Section ────────────────────────────────────────── */
.cta-section { background: var(--gradient-hero); padding: 80px 0; }
.cta-inner   { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-text h2 { font-size: clamp(24px, 4vw, 36px); color: var(--white); margin-bottom: 12px; }
.cta-text p  { font-size: 16px; color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; gap: 16px; flex-shrink: 0; }

/* ── About Page ─────────────────────────────────────────── */
.about-mission-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.mission-photo-wrap { position: relative; max-width: 100%; }
.mission-photo {
  width: 100%; height: 440px;
  object-fit: cover; object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.mission-photo-badge {
  position: absolute; bottom: -20px; left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 12px;
  color: var(--purple-700);
}
.mission-photo-badge strong { display: block; font-size: 20px; font-weight: 800; color: var(--purple-700); }
.mission-photo-badge span   { font-size: 12px; color: var(--gray-500); }
.mission-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 0;
}
.mission-content p { color: var(--gray-600); margin-bottom: 14px; }
.mission-stats {
  display: flex; gap: 0; margin-top: 32px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-lg); overflow: hidden;
}
.mstat {
  flex: 1; padding: 20px; text-align: center; border-right: 1px solid var(--gray-300);
}
.mstat:last-child { border-right: none; }
.mstat strong { display: block; font-size: 26px; color: var(--purple-700); font-weight: 800; }
.mstat span   { font-size: 12px; color: var(--gray-500); }
.mission-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-card { background: var(--white); border: 1.5px solid var(--gray-300); border-radius: var(--radius-lg); padding: 24px; transition: all var(--transition); }
.value-card:hover { border-color: var(--purple-600); box-shadow: var(--shadow-md); }
.value-icon {
  width: 52px; height: 52px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); margin-bottom: 14px;
}
.value-card h3 { font-size: 16px; margin-bottom: 6px; }
.value-card p  { font-size: 13px; color: var(--gray-500); margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1.5px solid var(--gray-300); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition); }
.service-card:hover { border-color: var(--purple-600); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--purple-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-700); margin-bottom: 16px;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--gradient-main); color: var(--white); }
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p  { font-size: 14px; color: var(--gray-500); margin: 0; }
.accreditations-section { background: var(--gray-100); }
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compliance-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.compliance-check {
  width: 52px; height: 52px;
  background: #D1FAE5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--success); margin: 0 auto 14px;
}
.compliance-card h3 { font-size: 15px; margin-bottom: 6px; }
.compliance-card p  { font-size: 13px; color: var(--gray-500); margin: 0; }

/* ── Contact Page ───────────────────────────────────────── */
.contact-section { padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.form-card-title { font-size: 22px; margin-bottom: 8px; }
.form-card-sub   { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
.contact-form-wrap .form-card { padding: 36px; }
.contact-form { padding-top: 0; }
.info-card { background: var(--white); border: 1.5px solid var(--gray-300); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.info-card.gradient-bg { border-color: transparent; }
.info-card h3 { font-size: 16px; margin-bottom: 14px; }
.info-card.gradient-bg h3 { color: var(--white); }
.info-card.gradient-bg p { color: rgba(255,255,255,.9); margin-bottom: 16px; }
.info-items { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; align-items: flex-start; gap: 12px; }
.info-icon { font-size: 22px; flex-shrink: 0; }
.info-icon-svg {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--purple-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-700);
}
.success-icon-wrap { margin-bottom: 20px; display: flex; justify-content: center; }
.info-item strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-500); margin-bottom: 2px; }
.info-item a, .info-item span { font-size: 14px; color: var(--gray-700); }
.info-item a:hover { color: var(--purple-700); }
.info-note { font-size: 13px; color: var(--gray-600); margin: 0; }
.success-panel { text-align: center; padding: 48px 24px; }
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-panel h2 { font-size: 28px; color: var(--success); margin-bottom: 12px; }
.success-panel p  { font-size: 15px; color: var(--gray-600); margin-bottom: 24px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo-link { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.footer-brand-name { display: block; font-size: 18px; font-weight: 800; color: var(--white); }
.footer-brand-tag  { font-size: 12px; color: var(--cyan); }
.footer-desc  { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; background: rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: all var(--transition);
}
.social-link:hover { background: var(--gradient-main); color: var(--white); transform: translateY(-2px); }
.footer-heading { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-contact-list a { color: rgba(255,255,255,.6); }
.footer-contact-list a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--cyan); }
.footer-admin-link { color: rgba(255,255,255,.3) !important; }

/* ── Error Pages ────────────────────────────────────────── */
.error-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-hero); padding: 40px;
}
.error-container { text-align: center; }
.error-code  { font-size: 120px; font-weight: 900; line-height: 1; margin-bottom: 16px; color: var(--white); }
.error-title { font-size: 32px; color: var(--white); margin-bottom: 12px; }
.error-desc  { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.error-actions { display: flex; justify-content: center; gap: 16px; }

/* ── Empty States ───────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state.large { padding: 80px 24px; }
.empty-icon { font-size: 56px; margin-bottom: 16px; }
.empty-state h2 { font-size: 22px; margin-bottom: 8px; }
.empty-state p  { font-size: 15px; color: var(--gray-500); }
.empty-state a  { color: var(--purple-700); text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-split         { grid-template-columns: 1fr; }
  .hero-right         { display: none; }
  .hero-left          { padding: 64px 48px; min-height: 78vh; }
  .categories-grid    { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid          { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .why-grid           { grid-template-columns: 1fr; }
  .why-visual         { display: none; }
  .about-mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .mission-photo-wrap { padding-bottom: 28px; }  /* space for the protruding badge */
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }

  /* ── Nav ───────────────────────────────────────────────── */
  .nav-menu  { display: none; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); padding: 16px 20px 24px; box-shadow: var(--shadow-xl); gap: 4px; z-index: 999; }
  .nav-menu.open { display: flex; }
  .nav-link  { padding: 12px 16px; border-radius: var(--radius-md); font-size: 15px; }
  .nav-cta   { text-align: center; margin-top: 8px; }
  .nav-toggle{ display: flex; }

  /* ── Hero ──────────────────────────────────────────────── */
  .hero-left    { padding: 44px 24px 36px; min-height: 0; }
  .hero-title   { font-size: clamp(26px, 7vw, 38px); }
  .hero-subtitle{ font-size: 14px; margin-bottom: 28px; }
  .hero-badge   { font-size: 12px; padding: 5px 12px; margin-bottom: 18px; }
  .hero-tags    { display: none; }

  /* ── Hero Search ───────────────────────────────────────── */
  .search-group  { flex-direction: column; align-items: stretch; background: none; box-shadow: none; padding: 0; gap: 10px; overflow: visible; border-radius: 0; }
  .search-field  { background: var(--white); border-radius: var(--radius-full); box-shadow: var(--shadow-md); border-right: none; }
  .search-select { width: 100%; height: 48px; background: var(--white); border-radius: var(--radius-full); padding: 0 16px; box-shadow: var(--shadow-md); }
  .search-btn    { width: 100%; justify-content: center; border-radius: var(--radius-full) !important; padding: 13px 24px; }

  /* ── Stats bar ─────────────────────────────────────────── */
  .stats-grid   { flex-wrap: wrap; }
  .stat-item    { padding: 16px 20px; width: 50%; }
  .stat-divider { display: none; }
  .stat-number  { font-size: 26px; }

  /* ── Categories (job types) ────────────────────────────── */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card   { padding: 18px 14px; gap: 5px; }
  .category-icon   { width: 40px; height: 40px; }
  .category-name   { font-size: 13px; }
  .category-sub    { font-size: 11px; }

  /* ── About page ────────────────────────────────────────── */
  .page-hero           { padding: 40px 0 32px; }
  .page-hero-title     { font-size: clamp(22px, 6vw, 34px); }
  .page-hero-sub       { font-size: 15px; }
  .about-mission-grid  { gap: 28px; }
  .mission-photo       { height: 240px; }
  .mission-photo-badge { bottom: -4px; left: 16px; padding: 10px 14px; }
  .mission-photo-badge strong { font-size: 16px; }
  .mission-stats       { flex-wrap: wrap; }
  .mstat               { flex: 0 0 50%; padding: 14px 10px; }
  .mstat:last-child    { flex: 1 0 100%; border-right: none; border-top: 1px solid var(--gray-300); }
  .mstat strong        { font-size: 20px; }
  .mission-values      { grid-template-columns: 1fr; }
  .compliance-grid     { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .services-grid       { grid-template-columns: 1fr; }

  /* ── General layout ────────────────────────────────────── */
  .jobs-grid           { grid-template-columns: 1fr; }
  .job-list-card       { flex-direction: column; }
  .jlc-actions         { flex-direction: row; }
  .job-detail-grid     { grid-template-columns: 1fr; }
  .job-detail-sidebar  { display: contents; }
  .apply-grid          { grid-template-columns: 1fr; }
  .apply-sidebar       { display: contents; }
  .contact-grid        { grid-template-columns: 1fr; }
  .form-grid-2         { grid-template-columns: 1fr; }
  .col-span-2          { grid-column: span 1; }
  .steps-grid          { grid-template-columns: 1fr; }
  .cta-section         { padding: 56px 0; }
  .cta-inner           { flex-direction: column; text-align: center; }
  .cta-actions         { flex-direction: column; width: 100%; }
  .footer-grid         { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom       { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .filter-grid         { flex-direction: column; }
  .filter-field        { min-width: unset; width: 100%; }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }

  /* ── Hero ──────────────────────────────────────────────── */
  .hero-left    { padding: 36px 20px; }
  .hero-title   { font-size: clamp(24px, 8vw, 32px); }

  /* ── Stats bar ─────────────────────────────────────────── */
  .stat-item    { padding: 14px 12px; }
  .stat-number  { font-size: 22px; }
  .stat-label   { font-size: 11px; }

  /* ── Categories ────────────────────────────────────────── */
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card   { padding: 14px 12px; gap: 4px; }
  .category-icon   { width: 36px; height: 36px; }
  .category-icon svg { width: 18px; height: 18px; }
  .category-name   { font-size: 12px; }
  .category-sub    { font-size: 10px; }
  .category-arrow  { padding-top: 6px; }

  /* ── About page ────────────────────────────────────────── */
  .mission-photo  { height: 200px; }
  .mission-stats  { flex-direction: column; }
  .mstat          { flex: none; width: 100%; border-right: none; border-bottom: 1px solid var(--gray-300); padding: 14px 16px; }
  .mstat:last-child { border-bottom: none; border-top: none; }
  .mission-photo-badge { position: static; margin-top: 12px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
  .mission-photo-wrap  { padding-bottom: 0; }
  .compliance-grid { grid-template-columns: 1fr; }

  /* ── Typography ────────────────────────────────────────── */
  .section-title  { font-size: clamp(20px, 6vw, 28px); }
  .section-desc   { font-size: 14px; }

  /* ── Misc ──────────────────────────────────────────────── */
  .share-links    { flex-direction: column; }
  .error-code     { font-size: 80px; }
  .step-number    { font-size: 36px; }
  .step-icon      { width: 48px; height: 48px; }
}
