/* ═══════════════════════════════════════════════════════════
   FUSCO TRANSPORTATION — style.css
   Design System: FedEx Purple + Orange · Inter · 2026
   ═══════════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── CSS VARIABLES ────────────────────────────────────── */
:root {
  /* Brand */
  --purple:        #4D148C;
  --purple-dark:   #3a0f6e;
  --purple-deeper: #280a4d;
  --orange:        #FF6200;
  --orange-dark:   #d95200;
  --white:         #ffffff;
  --off-white:     #f9f9fb;

  /* Grays */
  --gray-100: #f3f3f6;
  --gray-200: #e8e8ee;
  --gray-300: #d0d0db;
  --gray-400: #a8a8b8;
  --gray-500: #787890;
  --gray-600: #555568;
  --gray-700: #353545;
  --gray-800: #1e1e2e;
  --gray-900: #12101e;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow:    0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.16);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.22);

  /* Transitions */
  --t:      0.22s ease;
  --t-slow: 0.38s ease;

  /* Layout */
  --nav-h:     68px;
  --container: 1160px;
}

/* ─── RESET ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: var(--font); cursor: pointer; border: none; background: none; }

input, select, textarea { font-family: var(--font); font-size: 1rem; }

/* ─── SCROLL MARGIN ────────────────────────────────────── */
[id] {
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

/* ─── CONTAINER ────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -.018em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5 { font-size: .95rem; font-weight: 700; }
p  { line-height: 1.7; color: var(--gray-600); }
strong { font-weight: 700; color: var(--gray-800); }

em {
  font-style: normal;
  color: var(--orange);
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.4rem;
  border-radius: var(--r);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t), border-color var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 6px 24px rgba(255,98,0,.35);
  transform: translateY(-1px);
}

.btn--purple {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn--purple:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  box-shadow: 0 6px 24px rgba(77,20,140,.35);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn--outline-dark:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--lg {
  padding: .85rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--r-lg);
}

.btn--sm {
  padding: .4rem .9rem;
  font-size: .82rem;
  border-radius: 6px;
}

/* ─── BADGES ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
}

.badge--orange {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(255,98,0,.08);
}

.badge--purple {
  color: var(--purple);
  border-color: var(--purple);
  background: rgba(77,20,140,.08);
}

.badge--green {
  color: #1a8a4a;
  border-color: #1a8a4a;
  background: rgba(26,138,74,.08);
}

.badge--filled {
  color: var(--gray-500);
  border-color: var(--gray-300);
  background: var(--gray-100);
}

.badge--teal {
  color: #0e7a6e;
  border-color: #0e7a6e;
  background: rgba(14,122,110,.08);
}

.badge--gray {
  color: var(--gray-600);
  border-color: var(--gray-300);
  background: var(--gray-100);
}

/* ─── NAVIGATION ────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200), var(--shadow-sm);
  height: var(--nav-h);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--purple);
  text-decoration: none;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav__logo-text {
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.nav__logo-name {
  font-weight: 800;
  font-size: .98rem;
  color: var(--purple);
}

.nav__logo-sub {
  font-weight: 500;
  font-size: .72rem;
  color: var(--gray-500);
  letter-spacing: .04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--r);
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  background: var(--gray-100);
  color: var(--purple);
}

/* Dropdown arrow */
.nav__item--dropdown > .nav__link::after {
  content: '▾';
  font-size: .7rem;
  margin-left: .1rem;
  transition: transform var(--t);
  display: inline-block;
}

.nav__item--dropdown:hover > .nav__link::after,
.nav__item--dropdown.open > .nav__link::after {
  transform: rotate(-180deg);
}

/* Dropdown panel */
.nav__dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-width: 200px;
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  pointer-events: none;
  z-index: 10;
}

.nav__item--dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__dropdown a {
  display: block;
  padding: .55rem .85rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: 6px;
  transition: background var(--t), color var(--t);
}

.nav__dropdown a:hover {
  background: var(--gray-100);
  color: var(--purple);
}

/* CTA button in nav */
.nav__cta {
  margin-left: .75rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--t);
  margin-left: auto;
}

.nav__hamburger:hover { background: var(--gray-100); }

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t), width var(--t);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav overlay backdrop */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 799;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow), visibility var(--t-slow);
}

.nav__overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav__hamburger { display: flex; }
  .nav__cta { display: none; }

  .nav__overlay { display: block; }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 100vw);
    background: var(--white);
    box-shadow: -8px 0 32px rgba(0,0,0,.18);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--nav-h) + 1rem) 1rem 2rem;
    transform: translateX(100%);
    transition: transform var(--t-slow);
    overflow-y: auto;
    z-index: 800;
    margin-left: 0;
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__item { width: 100%; }

  .nav__link {
    padding: .75rem 1rem;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
  }

  .nav__link:hover, .nav__link.active { background: var(--gray-100); }

  /* Mobile dropdown becomes accordion */
  .nav__item--dropdown > .nav__link::after {
    font-size: .85rem;
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--gray-100);
    padding: .25rem .5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow);
    pointer-events: auto;
    display: none;
  }

  .nav__item--dropdown.open .nav__dropdown {
    display: block;
    max-height: 400px;
  }
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer__logo-text {}

.footer__logo-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.footer__logo-sub {
  font-size: .7rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: .04em;
}

.footer__tagline {
  font-size: .88rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.footer__location-block {
  margin-bottom: 1.2rem;
}

.footer__location-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
  margin-bottom: .35rem;
}

.footer__location-addr {
  font-size: .82rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer__col-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer__col ul a {
  font-size: .875rem;
  color: var(--gray-400);
  transition: color var(--t);
}

.footer__col ul a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: .8rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.footer__bottom a { color: var(--gray-400); transition: color var(--t); }
.footer__bottom a:hover { color: var(--orange); }

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ─── SECTION PRIMITIVES ────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section--light {
  background: var(--off-white);
}

.section--purple {
  background: var(--purple);
  color: var(--white);
}

.section--purple p { color: rgba(255,255,255,.8); }

.section--dark {
  background: var(--gray-900);
  color: var(--white);
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: .85rem;
}

.section--purple .section-tag { color: rgba(255,255,255,.7); }

.section-title {
  margin-bottom: 1rem;
  color: inherit;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.section--purple .section-intro { color: rgba(255,255,255,.75); }

.section-header {
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-intro {
  margin-inline: auto;
}

/* ─── HERO (Homepage) ───────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 60%, var(--purple-dark) 100%);
  overflow: hidden;
  padding: 6rem 0 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Animated road line */
.hero__road-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero__road-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 40px,
    rgba(255,255,255,.07) 40px,
    rgba(255,255,255,.07) 80px
  );
  animation: roadLines 2s linear infinite;
}

@keyframes roadLines {
  0%   { transform: translateY(0); }
  100% { transform: translateY(50%); }
}

/* Orange glow */
.hero__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,98,0,.18) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .35rem 1rem .35rem .6rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

.hero__title {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}

.hero__stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -.02em;
}

.hero__stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .25rem;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__truck-card {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-xl);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.hero__truck-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.hero__truck-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.hero__truck-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.hero__truck-card-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: .15rem;
}

.hero__perks {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.hero__perk {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.08);
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.1);
}

.hero__perk-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.hero__perk-text {
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.hero__perk-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  margin-top: .1rem;
}

.hero__count-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--orange);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  padding: .2rem .65rem;
  border-radius: 999px;
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { justify-content: flex-start; }
  .hero__truck-card { max-width: 100%; }
  .hero__desc { max-width: 100%; }
}

/* ─── PAGE HERO (inner pages) ───────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 70%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero__glow {
  position: absolute;
  top: -100px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,98,0,.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .section-tag { color: rgba(255,255,255,.7); }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 700px;
}

.page-hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 580px;
}

/* ─── PREVIEW JOB CARDS (homepage) ─────────────────────── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.preview-job-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.preview-job-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.preview-job-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}

.preview-job-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-800);
}

.preview-job-card__meta {
  font-size: .82rem;
  color: var(--gray-500);
}

.preview-job-card__chips {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.preview-job-card__summary {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.preview-job-card__action {
  margin-top: auto;
}

/* ─── BENEFITS GRID ─────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.benefit-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.benefit-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,98,0,.1);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.benefit-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-800);
}

.benefit-card__desc {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── WHY US (purple section) ───────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-item__num {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
  margin-top: .1rem;
}

.why-item__text h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: .25rem;
}

.why-item__text p {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
}

.why-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-xl);
  padding: 2rem;
}

.why-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.why-card__rows {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.why-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem .75rem;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  font-size: .875rem;
}

.why-card__row-label {
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.why-card__row-val {
  color: var(--white);
  font-weight: 800;
}

.why-card__row-val--orange {
  color: var(--orange);
}

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-left: 4px solid var(--orange);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial__body {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial__name {
  font-size: .9rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.2;
}

.testimonial__role {
  font-size: .78rem;
  color: var(--gray-500);
  margin-top: .1rem;
}

/* ─── CTA BANNER ────────────────────────────────────────── */
.cta-banner {
  background: var(--orange);
  padding: 4rem 0;
}

.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.85); margin-bottom: 1.75rem; }

.cta-banner__actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

/* ─── LOCATIONS PAGE ────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.location-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  transition: box-shadow var(--t), transform var(--t);
}

.location-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.location-card__header {
  background: linear-gradient(135deg, var(--purple-deeper), var(--purple));
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.location-card__header-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,98,0,.2) 0%, transparent 70%);
  pointer-events: none;
}

.location-card__city {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.6);
  margin-bottom: .4rem;
}

.location-card__name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
}

.location-card__body {
  background: var(--white);
  padding: 1.75rem 2rem;
}

.location-card__detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
}

.location-card__detail:last-of-type { border-bottom: none; }

.location-card__detail-icon {
  font-size: 1rem;
  margin-top: .1rem;
  flex-shrink: 0;
}

.location-card__detail-text {
  color: var(--gray-600);
  line-height: 1.5;
}

.location-card__detail-text a {
  color: var(--purple);
  font-weight: 600;
  transition: color var(--t);
}

.location-card__detail-text a:hover { color: var(--orange); }

.location-card__action {
  margin-top: 1.25rem;
}

@media (max-width: 700px) {
  .locations-grid { grid-template-columns: 1fr; }
}

/* ─── HOW IT WORKS ──────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-card__num {
  width: 52px;
  height: 52px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 auto 1.25rem;
}

.step-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: .5rem;
}

.step-card__desc {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ─── CAREERS — HOW IT WORKS ────────────────────────────── */
.careers-how-it-works .step-card__num {
  background: var(--purple);
}

/* ─── CAREERS — YARD CARDS ──────────────────────────────── */
.yard-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.yard-card {
  display: block;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 1.75rem 2rem;
  text-decoration: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.yard-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.yard-card__label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: .35rem;
}

.yard-card__addr {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: .25rem;
}
.yard-card__desc {
  font-size: .85rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: .75rem;
}

.yard-card__stats {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.yard-card__stat {
  font-size: .9rem;
  color: var(--gray-600);
}

.yard-card__stat--open {
  color: var(--purple);
}

.yard-card__stat strong {
  color: inherit;
}

.yard-card__divider {
  color: var(--gray-300);
}

.yard-card__arrow {
  font-size: .875rem;
  font-weight: 700;
  color: var(--purple);
}

.yard-card__note {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: .25rem;
}

.yard-card--active {
  border-color: var(--purple);
  background: var(--purple-lightest, #f3f0ff);
  box-shadow: var(--shadow-lg);
}

.yard-filter-separator {
  border: none;
  border-top: 1.5px solid var(--gray-200);
  margin: 1.25rem 0;
}

.yard-reset-link {
  background: none;
  border: none;
  color: var(--purple);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.yard-reset-link:hover { color: var(--orange); }

/* ─── BENEFITS GRID VARIANT ─────────────────────────────── */
.benefits-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .benefits-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .benefits-grid--4 { grid-template-columns: 1fr; }
}

/* ─── ABOUT PAGE ────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.value-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-top: 4px solid var(--orange);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--t), transform var(--t);
}

.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.value-card__icon {
  font-size: 1.8rem;
  margin-bottom: .85rem;
}

.value-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: .4rem;
}

.value-card__desc {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── CONTACT PAGE ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-location-block {
  margin-bottom: 2rem;
}

.contact-location-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: .85rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
  font-size: .9rem;
}

.contact-detail__icon {
  font-size: 1rem;
  margin-top: .1rem;
  flex-shrink: 0;
}

.contact-detail__text {
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-detail__text a {
  color: var(--purple);
  font-weight: 600;
  transition: color var(--t);
}

.contact-detail__text a:hover { color: var(--orange); }

.contact-note {
  background: rgba(77,20,140,.06);
  border: 1.5px solid rgba(77,20,140,.15);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.contact-note__title {
  font-size: .85rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: .25rem;
}

.contact-note__text {
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin-bottom: .35rem;
  color: var(--gray-800);
}

.form-subtitle {
  font-size: .875rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { position: static; }
}

/* ─── CAREERS PAGE ──────────────────────────────────────── */
.careers-location-block {
  margin-bottom: 3.5rem;
}

.careers-location-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.careers-location-icon {
  width: 48px;
  height: 48px;
  background: var(--purple);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.careers-location-info {
  flex: 1;
}

.careers-location-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.2;
}

.careers-location-addr {
  font-size: .85rem;
  color: var(--gray-500);
  margin-top: .2rem;
}

.careers-location-count {
  display: inline-flex;
  align-items: center;
  padding: .3rem .85rem;
  background: var(--purple);
  color: var(--white);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

/* Job list */
.job-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.job-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.job-item:hover { border-color: var(--gray-300); }

.job-item.is-open {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(77,20,140,.08);
}

.job-item--filled {
  opacity: .75;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: var(--white);
  transition: background var(--t);
}

.job-card:hover { background: var(--gray-100); }

.job-item.is-open .job-card {
  background: var(--purple);
}

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

.job-card__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .45rem;
  flex-wrap: wrap;
}

.job-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.25;
  margin-bottom: .5rem;
}

.job-item.is-open .job-card__title { color: var(--white); }

.job-card__chips {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .6rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}

.job-item.is-open .chip {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
}

.job-card__summary {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-item.is-open .job-card__summary { color: rgba(255,255,255,.65); }

.job-card__toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--gray-600);
  transition: background var(--t), color var(--t), transform var(--t);
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.job-item.is-open .job-card__toggle {
  background: rgba(255,255,255,.2);
  color: var(--white);
  transform: rotate(180deg);
}

/* Expansion panel */
.job-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease;
}

.job-item.is-open .job-panel {
  max-height: 4000px;
}

.job-panel__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  padding: 2rem;
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
}

.job-detail {}

.job-stats-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r);
}

.job-stat {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 100px;
}

.job-stat__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
}

.job-stat__val {
  font-size: .95rem;
  font-weight: 800;
  color: var(--gray-800);
}

.job-detail__section {
  margin-bottom: 1.5rem;
}

.job-detail__section h4 {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: .75rem;
}

.job-detail__section p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.job-detail__section ul {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.job-detail__section ul li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.job-detail__section ul li::before {
  content: '✓';
  font-size: .75rem;
  font-weight: 800;
  color: var(--orange);
  margin-top: .15rem;
  flex-shrink: 0;
}

/* Form card inside panel */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  align-self: start;
  box-shadow: var(--shadow);
}

.form-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: .35rem;
}

.form-card__location-note {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.transfer-banner {
  background: rgba(77,20,140,.08);
  border: 1.5px solid rgba(77,20,140,.2);
  border-radius: var(--r);
  padding: .75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: .82rem;
  color: var(--purple);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ─── APPLICATION ENTRY SCREEN ─────────────────────────── */
.app-entry-screen {
  padding: 1.5rem 0 1rem;
}
.app-entry-screen__inner {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}
.app-entry-screen__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: .5rem;
}
.app-entry-screen__sub {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.app-entry-screen__buttons {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1rem;
}
.app-entry-screen__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 700;
  padding: .9rem 1.5rem;
  border-radius: var(--r);
  cursor: pointer;
  transition: all .2s ease;
  width: 100%;
}
.app-entry-screen__btn--primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  font-size: 1rem;
  padding: 1rem 1.5rem;
}
.app-entry-screen__btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,98,0,.25);
}
.app-entry-screen__btn--secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
  font-size: .9rem;
}
.app-entry-screen__btn--secondary:hover {
  border-color: var(--gray-400);
  background: var(--gray-100);
}
.app-entry-screen__manual {
  display: inline-block;
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--gray-500);
  text-decoration: underline;
  text-decoration-color: var(--gray-300);
  text-underline-offset: 2px;
  transition: color .2s;
}
.app-entry-screen__manual:hover {
  color: var(--purple);
  text-decoration-color: var(--purple);
}
.app-entry-indeed-msg {
  margin-top: .75rem;
  padding: .85rem 1rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--r);
  font-size: .82rem;
  color: #92400e;
  line-height: 1.5;
}

/* Loading state */
.app-entry-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.app-entry-loading__inner {
  text-align: center;
}
.app-entry-loading__spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: entry-spin .8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes entry-spin {
  to { transform: rotate(360deg); }
}
.app-entry-loading__text {
  font-size: .9rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Error state */
.app-entry-error {
  padding: .85rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r);
  font-size: .88rem;
  color: #991b1b;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Resume pre-fill banner */
.app-resume-banner {
  padding: .85rem 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--r);
  font-size: .85rem;
  color: #065f46;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Pre-filled field highlights */
.resume-prefilled {
  background-color: #f0fdf4 !important;
  border-color: #86efac !important;
  box-shadow: 0 0 0 2px rgba(134, 239, 172, .25) !important;
}
.resume-empty-required {
  background-color: #fefce8 !important;
  border-color: #fde047 !important;
  box-shadow: 0 0 0 2px rgba(253, 224, 71, .2) !important;
}

/* Mobile entry screen */
@media (max-width: 767px) {
  .app-entry-screen__inner {
    padding: .5rem 0;
  }
  .app-entry-screen__title {
    font-size: 1.1rem;
  }
  .app-entry-screen__btn {
    padding: 1rem 1rem;
    min-height: 54px;
  }
  .app-entry-screen__btn--primary {
    padding: 1.1rem 1rem;
    min-height: 58px;
    font-size: 1rem;
  }
}

/* Form elements */
.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1rem;
}

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

label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-600);
  margin-bottom: .35rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(77,20,140,.12);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23787890' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit-btn {
  width: 100%;
  padding: .85rem;
  border-radius: var(--r);
  background: var(--orange);
  color: var(--white);
  font-size: .95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  margin-top: .5rem;
}

.form-submit-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,98,0,.3);
}

.form-submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success__icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.form-success__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: .35rem;
}

.form-success__msg {
  font-size: .875rem;
  color: var(--gray-500);
}

.form-error-msg {
  display: none;
  background: rgba(220,38,38,.08);
  border: 1.5px solid rgba(220,38,38,.2);
  border-radius: var(--r);
  padding: .65rem .85rem;
  font-size: .82rem;
  color: #b91c1c;
  margin-top: .75rem;
}

@media (max-width: 1000px) {
  .job-panel__inner { grid-template-columns: 1fr; }
  .form-card { position: static; }
}

@media (max-width: 600px) {
  .job-card { grid-template-columns: 1fr; }
  .job-card__toggle { display: none; }
  .job-panel__inner { padding: 1.25rem; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
}

/* ─── EMPLOYEES PAGE ────────────────────────────────────── */
.employees-hero {
  background: linear-gradient(135deg, var(--purple-deeper), var(--purple));
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.employees-hero__glow {
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,98,0,.15) 0%, transparent 70%);
  pointer-events: none;
}

.employees-hero .container { position: relative; z-index: 1; }

.employees-hero h1 { color: var(--white); margin-bottom: .75rem; }
.employees-hero p { color: rgba(255,255,255,.75); font-size: 1rem; }

#gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 3rem 1.5rem;
}

.gate-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
}

.gate-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.gate-card h2 {
  margin-bottom: .5rem;
  color: var(--gray-800);
}

.gate-card > p {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.gate-input-row {
  display: flex;
  gap: .65rem;
}

.gate-input-row input { flex: 1; }

.gate-fields {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.gate-fields input {
  width: 100%;
}

.gate-error {
  display: none;
  font-size: .82rem;
  color: #b91c1c;
  margin-top: .65rem;
  font-weight: 600;
}

#portal {
  display: none;
}

.portal-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
  margin-bottom: 2rem;
}

.portal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.portal-header h2 {
  font-size: 1.3rem;
  color: var(--gray-800);
  margin-bottom: .15rem;
}

.portal-header p {
  font-size: .85rem;
  color: var(--gray-500);
}

/* ─── FORM EXTRAS ────────────────────────────────────────── */
.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-400);
  font-size: .78rem;
}

.form-notice {
  background: rgba(77,20,140,.06);
  border: 1.5px solid rgba(77,20,140,.15);
  border-radius: var(--r);
  padding: .85rem 1rem;
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.form-notice strong {
  color: var(--purple);
}

.form-validation-error {
  background: rgba(220,38,38,.08);
  border: 1.5px solid rgba(220,38,38,.2);
  border-radius: var(--r);
  padding: .65rem .85rem;
  font-size: .82rem;
  color: #b91c1c;
  font-weight: 600;
  margin-bottom: .75rem;
}

.conditional-block {
  background: var(--gray-100);
  border-radius: var(--r);
  padding: 1rem;
  margin-bottom: 1rem;
}

.employer-block {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r);
  padding: 1rem;
  margin-bottom: .75rem;
  background: var(--white);
}

.employer-block__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--purple);
  margin-bottom: .75rem;
}

.employer-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.employer-block__remove {
  font-size: .75rem;
  font-weight: 600;
  color: #b91c1c;
  background: none;
  border: none;
  cursor: pointer;
  padding: .15rem .35rem;
  border-radius: 4px;
  transition: background var(--t);
}

.employer-block__remove:hover {
  background: rgba(220,38,38,.08);
}

.btn-add-employer {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--purple);
  background: rgba(77,20,140,.06);
  border: 1.5px dashed rgba(77,20,140,.3);
  border-radius: var(--r);
  padding: .55rem 1rem;
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: background var(--t), border-color var(--t);
}

.btn-add-employer:hover {
  background: rgba(77,20,140,.1);
  border-color: rgba(77,20,140,.5);
}

/* ─── SPINNER ────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── UTILITIES ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.flex-gap {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ═══════════════════════════════════════════
   HERO BANNER (homepage)
═══════════════════════════════════════════ */
.hero-banner {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-banner__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-banner__scene--photo {
  background-image: url('../images/hero-truck.jpg');
  background-size: cover;
  background-position: center 40%;
}
.hero-scene-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,2,28,0.85) 0%,
    rgba(20,5,50,0.7) 40%,
    rgba(10,2,28,0.1) 70%,
    transparent 100%
  );
  pointer-events: none;
}
.hero-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-banner__text {
  max-width: 560px;
}
.hero-eyebrow {
  display: inline-flex;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: rgba(255,98,0,0.12);
  border: 1px solid rgba(255,98,0,0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.hero-banner__text h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  color: white;
  line-height: 1.08;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.hero-banner__text h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  font-weight: 500;
}
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 460px;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .hero-banner {
    height: 90vh;
    align-items: flex-end;
    padding-bottom: 3rem;
  }
  .hero-banner__overlay {
    background: linear-gradient(
      to top,
      rgba(10,2,28,0.95) 0%,
      rgba(10,2,28,0.75) 50%,
      rgba(10,2,28,0.3) 100%
    );
  }
  .hero-banner__text {
    max-width: 100%;
  }
}

/* ─── PAY CALLOUT BOX ────────────────────────────────────── */
.pay-callout {
  background: var(--purple);
  color: #ffffff;
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin: 0 auto 2.5rem;
  max-width: 860px;
}
.pay-callout__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.85rem;
}
.pay-callout__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #ffffff;
  margin: 0 0 0.75rem;
}
.pay-callout__highlight {
  color: #FF8C35;
  font-weight: 800;
}
.pay-callout__disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ─── EARNINGS SUMMARY ───────────────────────────────────── */
.earnings-summary {
  max-width: 860px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50, #fafafa);
}
.earnings-summary p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 0.5rem;
  color: var(--gray-800);
}
.earnings-summary p:last-child {
  margin-bottom: 0;
}
.earnings-summary__disclaimer {
  font-size: 0.78rem !important;
  color: var(--gray-400) !important;
}

@media (max-width: 640px) {
  .pay-callout {
    padding: 1.5rem 1.25rem;
  }
  .earnings-summary {
    padding: 1.25rem 1rem;
  }
}

/* ─── FORM SECTION LABEL ─────────────────────────────────── */
.form-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  border-bottom: 2px solid var(--purple);
  padding-bottom: 0.4rem;
  margin: 1.75rem 0 1.25rem;
}
.form-hint {
  font-size: 0.83rem;
  color: var(--gray-500);
  margin: 0.2rem 0 0.6rem;
  line-height: 1.4;
}

/* ─── PORTAL NOTIFICATION CENTER ────────────────────────── */
.portal-notify-header {
  margin-bottom: 1.5rem;
}
.portal-notify-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0.25rem 0 0.4rem;
}
.portal-notify-subtitle {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin: 0;
}
#portal-notify-center {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.portal-notify-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
}
.portal-notify-card__info {
  flex: 1;
  min-width: 0;
}
.portal-notify-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.15rem;
}
.portal-notify-card__meta {
  font-size: 0.82rem;
  color: var(--gray-500);
}
@media (max-width: 540px) {
  .portal-notify-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── POSITION WAITLIST PORTAL ──────────────────────────── */
.portal-waitlist-card {
  background: #fff;
  border: 2px solid var(--amber-200, #fde68a);
  border-radius: var(--r-xl, 16px);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.portal-waitlist-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.portal-waitlist-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
}
.portal-waitlist-card__meta {
  font-size: .85rem;
  color: var(--gray-600);
  margin-top: .125rem;
}
.portal-waitlist-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .5rem;
}
.portal-waitlist-chip {
  background: var(--gray-100);
  border-radius: 100px;
  padding: .25rem .75rem;
  font-size: .8rem;
  color: var(--gray-700);
}
.portal-waitlist-card__status {
  margin-top: .5rem;
  min-height: 1.25rem;
}
.portal-waitlist-card__clear {
  background: var(--gray-50, #f9fafb);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md, 8px);
  padding: .75rem 1rem;
  margin-top: .75rem;
}
.portal-waitlist-snippet {
  display: block;
  background: var(--gray-900);
  color: #86efac;
  border-radius: var(--r-sm, 6px);
  padding: .5rem .875rem;
  font-size: .85rem;
  margin-top: .5rem;
  font-family: ui-monospace, 'Cascadia Code', monospace;
  user-select: all;
}
.btn--orange {
  background: #FF6200;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full, 100px);
  font-weight: 600;
  font-size: .875rem;
  padding: .5rem 1.25rem;
  transition: background .15s;
  white-space: nowrap;
}
.btn--orange:hover { background: #e05500; }
.btn--orange:disabled { opacity: .6; cursor: default; }

/* ─── INLINE NOTIFY ME (filled job cards on careers page) ── */
.notify-inline {
  margin-top: 1rem;
}
.notify-inline__fields {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.notify-inline__fields input[type="text"],
.notify-inline__fields input[type="email"] {
  flex: 1 1 140px;
  min-width: 0;
  padding: .5rem .75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-full, 100px);
  font-size: .9rem;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-900);
  outline: none;
  transition: border-color .15s;
}
.notify-inline__fields input:focus {
  border-color: var(--purple-500, #7c3aed);
}
.notify-inline__privacy {
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.45;
}
.notify-inline__success {
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--gray-700);
}
.notify-inline__success p {
  margin: 0;
}
@media (max-width: 480px) {
  .notify-inline__fields {
    flex-direction: column;
    align-items: stretch;
  }
  .notify-inline__fields input[type="text"],
  .notify-inline__fields input[type="email"] {
    width: 100%;
  }
}

/* ═══ CHECKBOX GROUP ═══ */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-top: .25rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .9rem;
  color: var(--gray-700);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

/* ═══ INCIDENT BLOCK ═══ */
.incident-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* ═══ FORM ROW 2-COL ═══ */
.form-row--2 {
  display: flex;
  gap: 1rem;
}
.form-row--2 > .form-group {
  flex: 1;
}

/* ═══ FORM PROGRESS (MOBILE STEP INDICATOR) ═══ */
.form-progress {
  display: none;
}
.form-progress__step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 600;
  transition: all .2s;
}
.form-progress__step--active {
  background: var(--purple);
  color: #fff;
}
.form-progress__step--done {
  background: #16a34a;
  color: #fff;
}

/* ═══ FORM STEP NAV (Next/Back buttons) ═══ */
.form-step__nav {
  display: none;
}

/* ═══ MOBILE FORM OPTIMIZATIONS ═══ */
@media (max-width: 767px) {
  /* Show step progress indicator */
  .form-progress {
    display: flex;
    justify-content: center;
    gap: .75rem;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-bottom: 1px solid var(--gray-200);
    margin: -1rem -1rem 1rem -1rem;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
  }

  /* Show step navigation */
  .form-step__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
  }

  /* Full-width form rows */
  .form-row,
  .form-row--2,
  .form-row--3 {
    flex-direction: column;
    gap: 0;
  }
  .form-row > .form-group,
  .form-row--2 > .form-group,
  .form-row--3 > .form-group {
    flex: none;
    width: 100%;
  }

  /* Comfortable tap targets */
  form input,
  form select,
  form textarea,
  form button {
    min-height: 48px;
    font-size: 16px;
  }
  form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
  }

  /* Large add buttons */
  .btn-add-employer,
  [data-add-accident-btn],
  [data-add-violation-btn] {
    min-height: 48px;
    font-size: 16px;
    width: 100%;
  }

  /* Submit button full width */
  .form-submit-btn {
    width: 100%;
    min-height: 52px;
    font-size: 17px;
  }

  /* Checkbox tap targets */
  .checkbox-label {
    min-height: 44px;
    padding: .25rem 0;
  }
  .checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }

  /* DQ modal mobile fix */
  #dq-modal > div {
    max-width: 92vw;
    margin: 1rem;
  }
  #dq-modal button {
    min-height: 48px;
    min-width: 160px;
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GATE TABS — Employee / Admin toggle
   ═══════════════════════════════════════════════════════════════ */
.gate-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--purple);
}
.gate-tab {
  flex: 1;
  padding: .65rem .5rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: #fff;
  color: var(--purple);
  transition: background .2s, color .2s;
}
.gate-tab--active {
  background: var(--purple);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN LAYOUT — Sidebar + Main
   ═══════════════════════════════════════════════════════════════ */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 72px);
}
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--gray-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
  z-index: 100;
}
.admin-sidebar__header {
  padding: 1.25rem 1.25rem .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-sidebar__title {
  font-weight: 700;
  font-size: 1rem;
}
.admin-sidebar__close {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  padding: .5rem .75rem;
  gap: .25rem;
  flex: 1;
}
.admin-nav-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  text-align: left;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.admin-nav-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav-btn--active { background: var(--purple); color: #fff; }
.admin-sidebar__footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.admin-main {
  flex: 1;
  min-width: 0;
  background: var(--gray-50, #f9fafb);
}
.admin-topbar {
  background: #fff;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: .75rem;
  position: sticky;
  top: 72px;
  z-index: 50;
}
.admin-topbar__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}
.admin-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: .35rem .6rem;
  font-size: 1.2rem;
  cursor: pointer;
}
.admin-content {
  padding: 1.5rem;
}

/* ─── Admin cards ─── */
.admin-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.admin-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.admin-card__subtitle {
  font-size: .85rem;
  color: var(--gray-500);
  margin: .25rem 0 0;
}
.admin-card__meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.admin-card__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* ─── Toggle switch ─── */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch__slider {
  position: absolute;
  inset: 0;
  background: var(--gray-300);
  border-radius: 26px;
  cursor: pointer;
  transition: background .3s;
}
.toggle-switch__slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .3s;
}
.toggle-switch input:checked + .toggle-switch__slider {
  background: var(--green-500, #22c55e);
}
.toggle-switch input:checked + .toggle-switch__slider::before {
  transform: translateX(22px);
}

/* ─── Status badges ─── */
.admin-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.admin-badge--green { background: #dcfce7; color: #166534; }
.admin-badge--red { background: #fee2e2; color: #991b1b; }
.admin-badge--yellow { background: #fef9c3; color: #854d0e; }
.admin-badge--gray { background: var(--gray-100); color: var(--gray-600); }
.admin-badge--purple { background: #ede9fe; color: #5b21b6; }

/* ─── Admin table ─── */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: #fff;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.admin-table th {
  text-align: left;
  padding: .75rem 1rem;
  background: var(--gray-50, #f9fafb);
  font-weight: 600;
  color: var(--gray-600);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.admin-table th:hover { color: var(--gray-900); }
.admin-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50, #f9fafb); }
.admin-table tr.admin-table__expandable { cursor: pointer; }
.admin-table__expanded-row td {
  padding: 0;
  background: var(--gray-50, #f9fafb);
}
.admin-table__expanded-content {
  padding: 1.25rem;
}

/* ─── Admin filters ─── */
.admin-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  align-items: center;
}
.admin-filter-input {
  padding: .5rem .75rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: .875rem;
  background: #fff;
  min-width: 160px;
}
.admin-filter-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
select.admin-filter-input {
  cursor: pointer;
}

/* ─── Admin buttons ─── */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, color .2s;
}
.admin-btn--primary {
  background: var(--purple);
  color: #fff;
}
.admin-btn--primary:hover { background: var(--purple-dark, #6d28d9); }
.admin-btn--outline {
  background: #fff;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.admin-btn--outline:hover { background: var(--gray-50, #f9fafb); }
.admin-btn--danger {
  background: #fff;
  color: #dc2626;
  border-color: #fca5a5;
}
.admin-btn--danger:hover { background: #fef2f2; }
.admin-btn--sm { padding: .3rem .6rem; font-size: .75rem; }

/* ─── Admin section headings ─── */
.admin-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.admin-section-subtitle {
  font-size: .875rem;
  color: var(--gray-500);
  margin: -.75rem 0 1rem;
}

/* ─── Admin modal ─── */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.admin-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.admin-modal__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.admin-modal__footer {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* ─── Admin form groups ─── */
.admin-form-group {
  margin-bottom: 1rem;
}
.admin-form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .35rem;
}
.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: .875rem;
}
.admin-form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}

/* ─── Notification subtabs ─── */
.admin-subtabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 1.25rem;
}
.admin-subtab {
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: var(--gray-500);
  transition: color .2s, border-color .2s;
}
.admin-subtab:hover { color: var(--gray-700); }
.admin-subtab--active { color: var(--purple); border-bottom-color: var(--purple); }

/* ─── Admin stats row ─── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-stat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
.admin-stat-card__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
}
.admin-stat-card__label {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: .15rem;
}

/* ─── Edit job inline ─── */
.admin-edit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

/* ─── Empty state ─── */
.admin-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--gray-400);
  font-size: .9rem;
}

/* ─── Scorecard embed in admin ─── */
.admin-scorecard-wrap {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.admin-scorecard-wrap iframe {
  width: 100%;
  border: none;
  min-height: 600px;
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN RESPONSIVE — Mobile
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .admin-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100vh;
    width: 280px;
    transition: left .3s ease;
    z-index: 1000;
  }
  .admin-sidebar.is-open {
    left: 0;
  }
  .admin-sidebar__close {
    display: block;
  }
  .admin-menu-btn {
    display: block;
  }
  .admin-content {
    padding: 1rem;
  }
  .admin-edit-row {
    grid-template-columns: 1fr;
  }
  .admin-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-filters {
    flex-direction: column;
  }
  .admin-filter-input {
    width: 100%;
    min-width: 0;
  }
}
