:root {
  --bg: #09090b;
  --surface: #121217;
  --surface-2: #181820;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e4e4e7;
  --muted: #a1a1aa;
  --faint: #71717a;
  --heading: #fafafa;
  --blue: #3870f9;
  --blue-hover: #2d5fd6;
  --red: #bf2e1a;
  --light-bg: #f7f8fb;
  --light-surface: #ffffff;
  --light-text: #151821;
  --light-muted: #596170;
  --light-border: #dfe3ec;
}

html {
  scroll-behavior: smooth;
}

body.theme-dark {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}

a {
  color: #8fb0ff;
}

a:hover {
  color: #b8ccff;
}

.btn {
  border-radius: 8px;
  font-weight: 700;
}

.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: var(--blue-hover);
  --bs-btn-hover-border-color: var(--blue-hover);
}

.btn-outline-light {
  --bs-btn-color: var(--text);
  --bs-btn-border-color: rgba(255, 255, 255, 0.2);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.32);
}

.recruiting-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 76px;
  background: rgba(9, 9, 11);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.recruiting-nav .container-fluid {
  max-width: 1180px;
}

.navbar-brand img {
  width: 210px;
  max-width: 52vw;
}

.page-shell {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.hero-section {
  min-height: 100vh;
  padding: 132px 0 70px;
  background:
    linear-gradient(120deg, rgba(56, 112, 249, 0.18), rgba(191, 46, 26, 0.08) 42%, rgba(9, 9, 11, 0) 70%),
    radial-gradient(circle at 82% 20%, rgba(56, 112, 249, 0.18), transparent 30%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8fb0ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--heading);
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.98;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 660px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.phone-callout {
  margin: 0 0 28px;
}

.phone-callout span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-callout a,
.big-phone {
  display: inline-block;
  color: var(--heading);
  font-size: clamp(1.65rem, 3.2vw, 2.8rem);
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
}

.phone-callout a:hover,
.big-phone:hover {
  color: #8fb0ff;
}

.light-callout span {
  color: var(--light-muted);
}

.light-callout a,
.big-phone {
  color: var(--light-text);
}

.light-callout a:hover,
.big-phone:hover {
  color: var(--blue);
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  margin-top: 34px;
}

.hero-points span {
  padding: 10px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.95rem;
}

.quick-apply-card,
.detail-panel,
.admin-table-wrap,
.qualification-card {
  background: rgba(18, 18, 23, 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.quick-apply-card {
  padding: 26px;
}

.quick-apply-card h2 {
  margin-bottom: 4px;
}

.quick-apply-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.form-label {
  color: var(--text);
  font-weight: 700;
}

.form-control,
.form-select {
  color: var(--heading);
  background-color: #0d0d12;
  border-color: rgba(255, 255, 255, 0.14);
}

.form-control:focus,
.form-select:focus {
  color: var(--heading);
  background-color: #0d0d12;
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(56, 112, 249, 0.22);
}

.form-control::placeholder {
  color: var(--faint);
}

.text-danger {
  color: #ff8b80 !important;
  font-size: 0.88rem;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin: 18px 0;
  color: var(--muted);
}

.stats-band {
  border-block: 1px solid var(--border);
  background: #0d0d12;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  padding: 28px 22px;
  border-right: 1px solid var(--border);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  color: var(--heading);
  font-size: 1.5rem;
}

.stats-grid span,
.qualification-card li,
.site-footer p {
  color: var(--muted);
}

.stats-grid a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.content-section {
  padding: 88px 0;
}

.content-section.light-section,
.content-section.split-light,
.content-section.photo-band {
  background: var(--light-bg);
  color: var(--light-text);
}

.content-section.light-section h2,
.content-section.split-light h2,
.content-section.photo-band h2,
.content-section.light-section h3,
.content-section.split-light h3,
.content-section.photo-band h3 {
  color: var(--light-text);
}

.content-section.light-section p,
.content-section.split-light p,
.content-section.photo-band p {
  color: var(--light-muted);
}

.content-section.light-section .eyebrow,
.content-section.split-light .eyebrow,
.content-section.photo-band .eyebrow {
  color: var(--blue);
}

.image-copy-section {
  border-bottom: 1px solid var(--light-border);
}

.image-copy-section .two-column {
  align-items: center;
}

.incentive-section {
  background: #ffffff !important;
  border-bottom: 1px solid var(--light-border);
}

.split-light {
  border-bottom: 1px solid var(--light-border);
}

.content-section.muted {
  background: #0d0d12;
  border-top: 1px solid var(--border);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: start;
}

.two-column h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 900;
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list div {
  padding: 18px 20px;
  color: var(--heading);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
}

.benefit-list div::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--red);
  border-radius: 50%;
}

.light-list div {
  color: var(--light-text);
  background: var(--light-surface);
  border-color: var(--light-border);
  box-shadow: 0 12px 30px rgba(22, 28, 45, 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  font-weight: 950;
}

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

.incentive-grid div {
  min-height: 220px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(22, 28, 45, 0.08);
}

.incentive-grid h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 900;
}

.media-frame {
  overflow: hidden;
  min-height: 600px;
  background: #dfe3ec;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(22, 28, 45, 0.14);
}

.image-copy-section .media-frame {
  min-height: 360px;
  max-height: none;
}

.truck-frame {
  aspect-ratio: 6 / 5;
  background: #dfe3ec;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.truck-frame img {
  object-fit: cover;
  object-position: center 46%;
}

.photo-band {
  background: #ffffff !important;
}

.photo-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 42px;
  align-items: center;
}

.photo-copy {
  max-width: 560px;
}

.qualification-card {
  padding: 28px;
}

.qualification-card ul {
  display: grid;
  gap: 14px;
  padding-left: 1.2rem;
  margin-bottom: 24px;
}

.simple-page,
.admin-page {
  min-height: 82vh;
  padding: 128px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(56, 112, 249, 0.18), transparent 28%),
    var(--bg);
}

.auth-page {
  flex: 1 0 auto;
  padding: 116px 0 32px;
  background:
    radial-gradient(circle at top right, rgba(56, 112, 249, 0.18), transparent 28%),
    var(--bg);
  display: flex;
  align-items: center;
}

.auth-container {
  display: flex;
  justify-content: center;
}

.auth-panel {
  width: min(100%, 520px);
  padding: 30px;
  background: rgba(18, 18, 23, 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.auth-panel h1 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 900;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-check {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.narrow {
  max-width: 720px;
}

.simple-page h1,
.admin-page h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 900;
}

.simple-page p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

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

.admin-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px auto;
  gap: 12px;
  margin-bottom: 22px;
}

.admin-table {
  margin: 0;
  color: var(--text);
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  border-color: var(--border);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td {
  border-color: var(--border);
}

.admin-table td small {
  display: block;
  color: var(--faint);
  margin-top: 3px;
}

.empty-state {
  color: var(--muted);
  text-align: center;
  padding: 42px !important;
}

.status-pill {
  display: inline-flex;
  padding: 6px 10px;
  color: #cfe0ff;
  background: rgba(56, 112, 249, 0.14);
  border: 1px solid rgba(56, 112, 249, 0.24);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 22px;
}

.detail-panel {
  padding: 24px;
}

.detail-panel h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.detail-panel h3 {
  margin-top: 24px;
  font-size: 1rem;
}

.detail-panel dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 18px;
  margin: 0;
}

.detail-panel dt {
  color: var(--faint);
}

.detail-panel dd {
  margin: 0;
  color: var(--text);
}

.detail-panel .note-value {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.detail-panel textarea.form-control {
  min-height: 180px;
  color: var(--text);
  background-color: #0d0d12;
}

.metadata-grid {
  grid-template-columns: 170px minmax(0, 1fr) !important;
}

.site-footer {
  flex-shrink: 0;
  padding: 34px 0;
  background: #070709;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-inner img {
  width: 180px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 750;
}

.footer-links a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
  .hero-grid,
  .two-column,
  .details-grid,
  .photo-band-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .hero-section,
  .simple-page,
  .admin-page {
    padding-top: 112px;
  }

  .auth-page {
    padding-top: 132px;
  }

  .quick-apply-card {
    padding: 20px;
  }

  .form-grid,
  .stats-grid,
  .admin-filter,
  .incentive-grid {
    grid-template-columns: 1fr;
  }

  .nav-phone {
    padding: 0.52rem 0.72rem;
    font-size: 0.9rem;
  }

  .media-frame {
    min-height: 280px;
  }

  .image-copy-section .media-frame {
    min-height: 300px;
    max-height: none;
  }

  .image-copy-section .truck-frame {
    min-height: 0;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .admin-header,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-page {
    align-items: flex-start;
  }

  .auth-panel {
    padding: 22px;
  }

  .admin-table-wrap {
    overflow-x: auto;
  }

  .admin-table {
    min-width: 860px;
  }

  .detail-panel dl,
  .metadata-grid {
    grid-template-columns: 1fr !important;
  }
}
