:root {
  --blue-700: #0b4fa3;
  --blue-600: #145fc2;
  --green-600: #15935a;
  --green-500: #22a86d;
  --black-900: #101418;
  --black-700: #2a3138;
  --white: #ffffff;
  --gray-100: #f3f6f9;
  --gray-200: #e3e9ef;
  --gray-300: #cfd8e3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--black-900);
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 32%, #f8fbf9 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(20, 95, 194, 0.35);
  outline-offset: 2px;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--gray-200);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--black-900);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(145deg, var(--blue-700), var(--green-600));
  box-shadow: 0 8px 20px rgba(11, 79, 163, 0.28);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--black-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 72px 0 60px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}

.hero::before {
  top: -120px;
  left: -80px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(20, 95, 194, 0.18), transparent 72%);
}

.hero::after {
  right: -110px;
  top: 40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(21, 147, 90, 0.14), transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(20, 95, 194, 0.1);
  color: var(--blue-700);
  border: 1px solid rgba(20, 95, 194, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.2;
}

.hero p {
  margin: 0;
  font-size: 1.03rem;
  max-width: 60ch;
  color: #344050;
}

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

.hero-panel {
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(170deg, #f4f8ff 0%, #f0fbf6 100%);
  border: 1px solid var(--gray-200);
  box-shadow: 0 18px 40px rgba(16, 20, 24, 0.08);
}

.hero-panel h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
}

.hero-stat:last-child {
  border-bottom: 0;
}

.hero-stat strong {
  font-size: 1.35rem;
  color: var(--blue-700);
}

.section {
  padding: 34px 0;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.section-heading p {
  margin: 8px 0 0;
  color: #4a596c;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(10, 22, 34, 0.05);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  color: #4c5b6d;
}

.jobs-shell {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 34px rgba(7, 21, 34, 0.06);
}

.filters {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 0.9fr 0.9fr;
  gap: 10px;
  margin-bottom: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #33485f;
}

.field input,
.field select {
  height: 42px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--black-900);
  background: var(--white);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.job-card {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 22, 34, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 95, 194, 0.3);
  box-shadow: 0 18px 32px rgba(11, 79, 163, 0.12);
}

.job-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.job-title {
  margin: 0;
  font-size: 1.05rem;
}

.job-meta {
  margin: 0;
  color: #516172;
  font-size: 0.92rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(21, 147, 90, 0.12);
  border: 1px solid rgba(21, 147, 90, 0.28);
  color: #0f7445;
  font-weight: 700;
  font-size: 0.75rem;
}

.job-details {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.job-details li {
  font-size: 0.88rem;
  color: #3b4d61;
}

.job-summary {
  margin: 0;
  color: #445567;
  font-size: 0.92rem;
}

.job-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.empty-state {
  text-align: center;
  border: 1px dashed var(--gray-300);
  border-radius: 14px;
  padding: 28px 18px;
  background: #fafcff;
}

.empty-state h3 {
  margin: 0;
}

.empty-state p {
  color: #4f5e6f;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  justify-content: center;
}

.pager-link {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--gray-300);
  text-decoration: none;
  color: var(--black-700);
  font-weight: 600;
  background: #fff;
}

.pager-link.is-active {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}

.pager-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(140deg, var(--blue-700), var(--blue-600));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(20, 95, 194, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-outline {
  background: var(--white);
  border-color: var(--gray-300);
  color: var(--black-700);
}

.btn-outline:hover {
  border-color: rgba(20, 95, 194, 0.45);
  color: var(--blue-700);
}

.btn-success {
  background: linear-gradient(145deg, var(--green-600), var(--green-500));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(21, 147, 90, 0.22);
}

.btn-small {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.88rem;
}

.detail-shell {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 34px rgba(7, 21, 34, 0.06);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--blue-700);
  text-decoration: none;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.detail-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.detail-sub {
  margin: 0;
  color: #4c5a6c;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.meta-item {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 12px;
  background: #fbfcff;
}

.meta-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #5a6e84;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.meta-item span {
  font-weight: 600;
  color: #27394d;
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.content-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.content-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.content-card p {
  margin: 0;
  color: #3b4f65;
}

.apply-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #4d5c6d;
}

.site-footer {
  margin-top: 38px;
  border-top: 1px solid var(--gray-200);
  background: #f9fbfd;
}

.footer-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #4f5f72;
  font-size: 0.9rem;
}

.footer-copy p {
  margin: 0;
}

.footer-credit {
  margin-top: 6px !important;
  color: #5a6a7e;
}

.footer-credit a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #3f556f;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .hero-grid,
  .jobs-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .hero {
    padding: 56px 0 42px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel {
    padding: 18px;
  }

  .jobs-shell {
    padding: 14px;
  }

  .detail-shell {
    padding: 16px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .job-details {
    grid-template-columns: 1fr;
  }

  .job-actions {
    flex-direction: column;
  }

  .detail-header {
    flex-direction: column;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1140px, 94%);
  }

  .kicker {
    font-size: 0.72rem;
    padding: 3px 10px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 8.2vw, 2rem);
  }

  .hero p,
  .section-heading p {
    font-size: 0.96rem;
  }

  .job-card {
    padding: 14px;
  }

  .job-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-badge {
    margin-top: 2px;
  }

  .pager {
    gap: 6px;
  }

  .pager-link {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.85rem;
  }

  .meta-item {
    padding: 10px;
  }
}
