:root {
  --bg: #fdfcfa;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --line: rgba(0, 0, 0, 0.08);
  --text: #1a1f2e;
  --muted: #64748b;
  --electric: #ffc107;
  --cyan: #0ea5e9;
  --hot: #f43f5e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 193, 7, 0.1), transparent 34rem),
    radial-gradient(circle at 90% 20%, rgba(14, 165, 233, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gm-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.gm-nav.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  background: rgba(255, 255, 255, .98);
  border-bottom-color: rgba(0, 0, 0, .08);
}

.navbar .nav-link {
  color: #475569;
  font-weight: 800;
  font-size: .9rem;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover {
  color: var(--text);
}

.gm-menu-toggle {
  border: 1px solid rgba(0, 0, 0, .1);
  background: rgba(0, 0, 0, .05);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .02);
}

.gm-menu-toggle:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
}

.gm-menu-toggle .navbar-toggler-icon {
  filter: brightness(0);
  opacity: .7;
}

.gm-nav-actions {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: .45rem;
}

.gm-nav-actions .btn,
.gm-nav-actions .nav-link {
  text-align: center;
}

@media (max-width: 991px) {
  .gm-nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    padding: .75rem 0;
  }
}

.brand-mark {
  color: var(--text);
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
}

.brand-mark::before {
  content: "▧";
  color: var(--electric);
  margin-right: .55rem;
}

.btn-electric {
  color: #111827;
  border: 0;
  background: var(--electric);
  box-shadow: 0 12px 30px rgba(255, 193, 7, .3);
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-electric:hover,
.btn-electric:focus {
  color: #111827;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 193, 7, .45);
  outline: none;
}

/* Light form controls (Global) */
.form-control,
.form-select {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  color: #0f172a;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  background: #fff;
  color: #0f172a;
  border-color: var(--cyan);
  box-shadow: 0 0 0 .25rem rgba(14, 165, 233, .15);
  outline: none;
}

.form-label {
  color: #475569;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .4rem;
}

.hero-section {
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.home-hero-compact {
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
}

.quick-job-search {
  margin-top: 1.5rem;
}

.quick-job-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
}

.quick-job-form .form-control {
  min-height: 58px;
  padding-left: 3.25rem;
  border-radius: 16px;
}

.quick-job-form .btn {
  border-radius: 16px;
  padding-inline: 1.5rem;
}

.quick-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 29px;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 1.15rem;
}

.quick-job-status {
  min-height: 1.5rem;
  margin: .65rem 0;
  color: var(--muted);
  font-size: .82rem;
}

.quick-job-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.quick-job-card {
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  text-decoration: none;
  transition: .2s ease;
}

.quick-job-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.quick-job-card strong,
.quick-job-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-job-card strong {
  font-size: .93rem;
}

.quick-job-card span {
  margin-top: .3rem;
  color: var(--muted);
  font-size: .75rem;
}

.quick-job-empty {
  grid-column: 1 / -1;
  padding: 1rem;
  color: var(--muted);
  text-align: center;
}

.eyebrow {
  color: var(--cyan);
  display: inline-block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-section h1,
.dash-header h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 950;
  line-height: .98;
  max-width: 14ch;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.hero-actions .btn {
  min-width: 220px;
}

.hero-console {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(21, 29, 41, .96), rgba(8, 11, 16, .96)),
    repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(255, 255, 255, .03) 23px);
  padding: 1rem;
  position: relative;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}

.console-top {
  height: 220px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(109, 140, 255, .24), rgba(255, 47, 125, .1)), #05070b;
}

.match-card {
  background: white;
  color: #0c1220;
  border-radius: 8px;
  margin: -70px 1.2rem 1rem;
  padding: 1.4rem;
  position: relative;
}

.match-card span {
  color: #5a6a80;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .75rem;
}

.match-card strong {
  display: block;
  font-size: 4rem;
  line-height: 1;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}

.metric-grid div,
.feature,
.job-card {
  background: rgba(16, 22, 31, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-grid div:hover,
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}

.metric-grid div {
  padding: 1rem;
}

.metric-grid b {
  display: block;
  font-size: 1.45rem;
  color: var(--text);
}

.metric-grid small,
.feature p,
.job-card p,
.auth-card p,
.feed-row p,
.empty-state {
  color: var(--muted);
  line-height: 1.6;
}

.section-band {
  padding: 4rem 0 6rem;
}

.home-jobs {
  padding-top: 1rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
}

.feature {
  min-height: 230px;
  padding: 1.5rem;
}

.feature span {
  color: var(--electric);
  font-weight: 950;
}

.feature h3 {
  margin-top: 3rem;
  font-weight: 900;
}

.gm-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 2rem 0;
  background: #05070a;
}

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.auth-shell {
  width: min(460px, 100%);
}

.auth-shell.wide {
  width: min(820px, 100%);
}

.panel {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .04);
}

.panel h2 {
  font-weight: 950;
  color: #0f172a;
}

.auth-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .03);
}

.auth-card h1 {
  font-weight: 950;
  color: #0f172a;
}

.small-link {
  display: inline-block;
  color: var(--cyan);
  margin-top: 1rem;
  text-decoration: none;
  font-weight: 700;
}

.small-link:hover {
  color: #0284c7;
}

.role-switch {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 12px;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(2, 1fr);
  padding: .45rem;
}

.role-switch a {
  border-radius: 8px;
  color: #64748b;
  font-weight: 800;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: .2s ease;
}

.role-switch a:hover {
  color: #0f172a;
}

.role-switch a.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .05);
}

.role-hint {
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: .85rem 1rem;
}

.role-hint.is-warning {
  background: rgba(255, 193, 7, .1);
  border: 1px solid rgba(255, 193, 7, .2);
  color: #b48600;
}

.role-hint.is-ok {
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .2);
  color: #059669;
}

.account-fields {
  border: 0;
  margin: 0;
  padding: 0;
}

.account-fields:disabled {
  opacity: .45;
}

.form-feedback {
  color: var(--muted);
  font-weight: 700;
}

.form-feedback.is-ok {
  color: #40ffaa;
}

.form-feedback.is-error {
  color: #ff6b8f;
}

.auth-card .form-feedback.is-ok,
.home-page .form-feedback.is-ok {
  color: #059669;
}

.auth-card .form-feedback.is-error,
.home-page .form-feedback.is-error {
  color: #e11d48;
}

.form-hint {
  color: var(--muted);
  display: inline-block;
  margin-top: .35rem;
}

.dashboard {
  min-height: 80vh;
}

.dash-header {
  margin-bottom: 2rem;
}

.dash-header h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.dashboard-note {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 1rem;
}

.dashboard-tabs {
  border-bottom: 1px solid var(--line);
  gap: .5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.dashboard-tabs .nav-link {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  color: var(--muted);
  font-weight: 850;
  padding: .8rem 1rem;
}

.dashboard-tabs .nav-link:hover {
  color: var(--text);
  border-color: rgba(109, 140, 255, .35);
}

.dashboard-tabs .nav-link.active {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: inset 0 3px 0 var(--cyan);
}

.tab-content>.panel {
  border-top-left-radius: 0;
}

.panel-intro {
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 62ch;
}

.job-filter {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: end;
}

.job-filter label {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
}

.job-filter label span {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.home-job-filter {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .04);
}

.jobs-search-hero {
  background:
    radial-gradient(circle at 25% -20%, rgba(14, 165, 233, .1), transparent 25rem),
    #fdfcfa;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  padding: 5rem 0 3.5rem;
}

.jobs-search-copy {
  margin-bottom: 2rem;
}

.jobs-search-copy h1 {
  max-width: none;
  text-transform: capitalize;
  color: #0f172a;
}

.job-filter-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .04);
  margin-bottom: 0;
}

.job-filter-hero .form-control,
.job-filter-hero .form-select,
.home-job-filter .form-control,
.home-job-filter .form-select {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, .1);
  color: #0f172a;
  font-weight: 600;
  min-height: 54px;
  padding: 0 1.25rem;
  border-radius: 8px;
}

.job-filter-hero .form-select,
.home-job-filter .form-select {
  cursor: pointer;
}

.job-filter-hero .form-control:focus,
.job-filter-hero .form-select:focus,
.home-job-filter .form-control:focus,
.home-job-filter .form-select:focus {
  border-color: var(--cyan);
  background: #ffffff;
  box-shadow: 0 0 0 .25rem rgba(14, 165, 233, .15);
  outline: none;
}

.job-filter-hero .form-control::placeholder,
.home-job-filter .form-control::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.job-filter-hero .btn {
  border-radius: 8px;
  min-height: 54px;
  padding: 0 2rem;
}

.jobs-results {
  padding-bottom: 5rem;
  padding-top: 2rem;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.job-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-decoration: none;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .4);
  border-color: rgba(109, 140, 255, .4);
}

.home-job-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-job-card {
  color: var(--text);
  gap: .65rem;
  padding: 1.2rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: rgba(16, 22, 31, .7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.home-job-card:hover {
  border-color: rgba(0, 229, 255, .5);
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.home-job-card .job-image {
  aspect-ratio: 4 / 3;
}

.home-job-card p {
  font-size: .9rem;
  margin-bottom: 0;
}

.job-card-link {
  color: var(--cyan);
  font-size: .82rem;
  font-weight: 900;
}

.job-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(109, 140, 255, .28), rgba(255, 47, 125, .16));
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  font-weight: 950;
  object-fit: cover;
  place-items: center;
  width: 100%;
}

.job-card span {
  color: var(--cyan);
  font-weight: 900;
  font-size: .8rem;
}

.job-card h2,
.job-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chips b,
.feed-row span {
  background: rgba(109, 140, 255, .14);
  color: #cfd8ff;
  border: 1px solid rgba(109, 140, 255, .25);
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .8rem;
}

.feed-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.feed-row small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.empty-state {
  padding: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .home-hero-compact {
    padding-top: 1.5rem;
  }

  .quick-job-form {
    grid-template-columns: 1fr;
  }

  .quick-job-form .btn {
    min-height: 52px;
  }

  .quick-job-cards {
    grid-template-columns: 1fr 1fr;
  }

  .quick-job-search {
    margin-top: 1.25rem;
  }

  .hero-section {
    padding-top: 4rem;
  }

  .hero-section.home-hero-compact {
    padding-top: 1.5rem;
  }

  .hero-section h1 {
    font-size: 2.65rem;
  }

  .hero-console {
    min-height: auto;
  }

  .metric-grid,
  .feed-row,
  .job-filter,
  .job-filter-hero {
    grid-template-columns: 1fr;
  }

  .job-filter,
  .job-filter-hero {
    align-items: stretch;
    gap: 1.25rem;
  }

  .job-filter-hero .btn,
  .job-filter .btn {
    min-height: 54px;
    width: 100%;
  }

  .jobs-search-hero {
    padding: 4rem 0 2rem;
  }

  .panel {
    padding: 1.25rem;
  }

  .auth-card {
    padding: 1.5rem;
    border-radius: 20px;
  }
}

.admin-stat {
  min-height: 120px;
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin-stat strong {
  font-size: 2rem;
  line-height: 1;
  color: #0f172a;
}

.admin-stat span {
  margin-top: .55rem;
  color: #64748b;
  font-weight: 600;
}

.admin-table {
  color: inherit;
  vertical-align: middle;
}

.admin-table th {
  white-space: nowrap;
  color: #0f172a;
  font-weight: 800;
}

.admin-table td {
  color: #475569;
}

.admin-table small {
  color: #64748b;
}

.dashboard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
  font-weight: 700;
}

.dashboard-nav-actions .btn {
  min-width: 74px;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}

.admin-actions form {
  display: inline;
  margin: 0;
}

.application-summary {
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.application-summary strong,
.application-summary span,
.application-summary small {
  display: block;
}

.application-summary strong {
  color: #0f172a;
  font-size: 1rem;
}

.application-summary span {
  margin-top: .25rem;
  color: #334155;
  font-weight: 700;
}

.application-summary small {
  margin-top: .2rem;
  color: #64748b;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto auto;
  gap: .55rem;
  align-items: center;
}

.admin-create-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
  gap: .65rem;
}

.admin-create-form .form-feedback {
  grid-column: 1 / -1;
}

.admin-inline-form .form-feedback {
  grid-column: 1 / -1;
}

.candidate-applications {
  display: grid;
  gap: 1rem;
}

.application-detail {
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  background: #f8fafc;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.application-detail h3 {
  margin: .35rem 0;
  color: #0f172a;
}

.application-company {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.application-company a {
  color: var(--cyan);
  font-weight: 600;
}

.application-company small {
  color: #64748b;
}

.application-detail .chips {
  grid-column: 1 / -1;
}

/* Clean home */
.home-page {
  background: var(--bg);
}

.home-page .gm-nav {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.home-page .gm-nav .container {
  min-height: 70px;
  display: flex;
  align-items: center;
}

.home-page .gm-nav-actions {
  flex-direction: row !important;
  align-items: center !important;
  gap: .6rem;
  min-width: auto;
  padding: 0;
}

.home-page .gm-nav-actions .btn {
  padding: .62rem 1.1rem;
  border-radius: 10px;
}

.home-page .gm-nav-actions .nav-link {
  padding: .62rem .9rem;
}

.home-hero {
  min-height: 620px;
  padding: 7.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.home-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .45;
}

.home-orb-one {
  width: 580px;
  height: 580px;
  top: -100px;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.3), transparent 68%);
}

.home-orb-two {
  width: 450px;
  height: 450px;
  right: -50px;
  bottom: 0px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 68%);
}

.home-hero-copy {
  text-align: center;
  margin: 0 auto;
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #475569;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 12px var(--electric);
}

.home-hero h1 {
  margin: 1.2rem auto 1.35rem;
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 950;
  color: #0f172a;
}

.home-hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.home-hero-copy>p {
  margin: 0 auto;
  max-width: 650px;
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.7;
}

.home-search {
  margin: 2.5rem auto 1.1rem;
  max-width: 930px;
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: .5rem;
  align-items: stretch;
  padding: .65rem;
  background: #fff;
  border-radius: 99px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, .05);
}

.home-search-field {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .5rem 1.5rem;
  color: #0f172a;
  border-right: 1px solid #e2e8f0;
  cursor: text;
}

.home-search-field>span:last-child {
  min-width: 0;
  width: 100%;
}

.home-search-field small {
  display: block;
  color: #64748b;
  font-size: .75rem;
  font-weight: 700;
}

/* Override Bootstrap and global dark styles for home search inputs */
.home-search-field input,
.home-search-field input:focus,
.home-page .home-search-field input {
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  padding: .25rem 0 0;
  background: transparent !important;
  color: #0f172a !important;
  font-weight: 700;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.home-search-field input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.home-icon {
  color: var(--electric);
  font-size: 1.6rem;
  font-weight: bold;
  flex-shrink: 0;
}

.home-search .btn {
  min-width: 190px;
  border-radius: 99px;
  font-size: 1.05rem;
  align-self: center;
}

.home-search .btn span {
  margin-left: .4rem;
}

.home-popular {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  color: #64748b;
  font-size: .8rem;
  position: relative;
  z-index: 2;
  font-weight: 600;
  align-items: center;
}

.home-popular a {
  color: #475569;
  text-decoration: none;
  padding: .3rem .8rem;
  border: 1px solid rgba(0, 0, 0, .1);
  background: #fff;
  border-radius: 999px;
  transition: 0.2s;
}

.home-popular a:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, .2);
}

.home-proof {
  max-width: 670px;
  margin: 3.4rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  position: relative;
  z-index: 2;
}

.home-proof div+div {
  border-left: 1px solid rgba(0, 0, 0, .1);
}

.home-proof strong,
.home-proof span {
  display: block;
}

.home-proof strong {
  font-size: 1.5rem;
  color: #0f172a;
}

.home-proof span {
  color: #64748b;
  font-size: .8rem;
  font-weight: 600;
}

.home-section {
  padding: 6.5rem 0;
}

.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.3rem;
}

.home-section-head h2,
.home-how h2,
.home-cta h2 {
  margin: .7rem 0 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -.04em;
  font-weight: 950;
}

.home-section-head>a {
  color: var(--text);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.home-section-head>a span,
.category-card b span {
  color: var(--cyan);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.category-card {
  min-height: 220px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  transition: .25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .02);
}

.category-card:hover {
  color: var(--text);
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, .3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .06);
}

.category-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(14, 165, 233, .1);
}

.category-icon::after {
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 900;
}

.category-code::after {
  content: '</>';
}

.category-palette::after {
  content: '✦';
}

.category-chart::after {
  content: '↗';
}

.category-headset::after {
  content: '◖◗';
}

.category-briefcase::after {
  content: '▣';
}

.category-globe::after {
  content: '◎';
}

.category-card strong {
  margin: 1.2rem 0 .25rem;
  font-size: 1.1rem;
  color: #0f172a;
}

.category-card small {
  color: #64748b;
}

.category-card b {
  margin-top: auto;
  font-size: .78rem;
  font-weight: 700;
  color: #475569;
}

.home-featured {
  background: #f8fafc;
  border-block: 1px solid rgba(0, 0, 0, .05);
}

.home-job-grid-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.home-job-clean {
  min-height: 280px;
  padding: 1.4rem;
  position: relative;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  transition: .25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .02);
}

.home-job-clean:hover {
  color: var(--text);
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, .3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .06);
}

.job-company-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--cyan), var(--electric));
}

.job-mode {
  position: absolute;
  top: 1.5rem;
  right: 1.4rem;
  padding: .3rem .65rem;
  color: #0ea5e9;
  background: rgba(14, 165, 233, .1);
  border-radius: 99px;
  font-size: .65rem;
  font-weight: 800;
  text-transform: capitalize;
}

.home-job-clean h3 {
  margin: 1.3rem 0 .3rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
}

.home-job-clean p {
  color: #64748b;
  font-size: .85rem;
  font-weight: 600;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  color: #64748b;
  font-size: .75rem;
  font-weight: 500;
}

.job-card-bottom {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, .06);
  padding-top: 1rem;
  align-items: center;
}

.job-card-bottom small {
  color: #94a3b8;
  font-weight: 500;
}

.job-card-bottom b {
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 700;
}

.home-empty {
  grid-column: 1/-1;
  padding: 3rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(0, 0, 0, .1);
  border-radius: 18px;
}

.home-how-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 6rem;
  align-items: center;
  padding: 4rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .03);
}

.home-how-copy h2 {
  color: #0f172a;
}

.home-how-copy p {
  color: #475569;
  max-width: 35ch;
  line-height: 1.7;
  font-size: 1.05rem;
}

.home-steps {
  display: grid;
  gap: 1rem;
}

.home-steps>div {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.home-steps b {
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 900;
  background: rgba(14, 165, 233, .1);
  padding: .3rem .6rem;
  border-radius: 8px;
}

.home-steps span span,
.home-steps strong,
.home-steps small {
  display: block;
}

.home-steps strong {
  margin-bottom: .35rem;
  color: #0f172a;
  font-size: 1.1rem;
}

.home-steps small {
  color: #64748b;
  line-height: 1.5;
  font-size: .9rem;
}

.home-cta-section {
  padding-top: 0;
}

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem;
  border-radius: 28px;
  background: linear-gradient(120deg, #0f172a, #1e293b);
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 30px 60px rgba(15, 23, 42, .2);
}

.home-cta p {
  color: #cbd5e1;
  margin: .8rem 0 0;
}

.home-cta h2 {
  color: #fff;
}

.home-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.home-cta-actions .btn {
  border-radius: 99px;
  padding-inline: 2rem;
}

.home-cta-actions>a:not(.btn) {
  color: #f8fafc;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s;
}

.home-cta-actions>a:not(.btn):hover {
  color: #fff;
  opacity: 0.8;
}

.home-footer {
  background: #fdfcfa;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: #64748b;
}

.home-footer .container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.home-footer strong {
  color: #0f172a;
}

.home-footer small {
  margin-left: auto;
}

@media (max-width: 991px) {

  .category-grid,
  .home-job-grid-clean {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-how-shell {
    gap: 2rem;
    padding: 2.5rem;
  }

  .home-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  /* Keep home nav horizontal on tablet — collapse only on mobile */
  .home-page .gm-nav-actions {
    flex-direction: row !important;
    align-items: center !important;
  }
}

@media (max-width: 767px) {

  /* Mobile: collapse home nav */
  .home-page .navbar-collapse .gm-nav-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

@media (max-width: 700px) {
  .home-hero {
    padding: 5rem 0 3rem;
    min-height: auto;
  }

  .home-hero h1 {
    font-size: 2.8rem;
  }

  .home-search {
    grid-template-columns: 1fr;
    padding: .65rem;
    border-radius: 24px;
  }

  .home-search-field {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid #e7eaf0;
    padding: .5rem 1rem;
  }

  .home-search .btn {
    min-height: 58px;
    border-radius: 16px;
    width: 100%;
  }

  .home-proof {
    margin-top: 2.5rem;
  }

  .home-section {
    padding: 4.5rem 0;
  }

  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .home-job-grid-clean,
  .home-how-shell {
    grid-template-columns: 1fr;
  }

  .home-how-shell,
  .home-cta {
    padding: 1.6rem;
  }

  .admin-create-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
    gap: .65rem;
  }

  .admin-create-form .form-feedback {
    grid-column: 1 / -1;
  }

  .admin-inline-form .form-feedback {
    grid-column: 1 / -1;
  }

  .candidate-applications {
    display: grid;
    gap: 1rem;
  }

  .application-detail {
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    background: #f8fafc;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
  }

  .application-detail h3 {
    margin: .35rem 0;
    color: #0f172a;
  }

  .application-company {
    display: flex;
    flex-direction: column;
    gap: .3rem;
  }

  .application-company a {
    color: var(--cyan);
    font-weight: 600;
  }

  .application-company small {
    color: #64748b;
  }

  .application-detail .chips {
    grid-column: 1 / -1;
  }

  /* Clean home */
  .home-page {
    background: var(--bg);
  }

  .home-page .gm-nav {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .home-page .gm-nav .container {
    min-height: 70px;
    display: flex;
    align-items: center;
  }

  .home-page .gm-nav-actions {
    flex-direction: row !important;
    align-items: center !important;
    gap: .6rem;
    min-width: auto;
    padding: 0;
  }

  .home-page .gm-nav-actions .btn {
    padding: .62rem 1.1rem;
    border-radius: 10px;
  }

  .home-page .gm-nav-actions .nav-link {
    padding: .62rem .9rem;
  }

  .home-hero {
    min-height: 620px;
    padding: 7.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }

  .home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .03) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
  }

  .home-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: .45;
  }

  .home-orb-one {
    width: 580px;
    height: 580px;
    top: -100px;
    left: 10%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3), transparent 68%);
  }

  .home-orb-two {
    width: 450px;
    height: 450px;
    right: -50px;
    bottom: 0px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 68%);
  }

  .home-hero-copy {
    text-align: center;
    margin: 0 auto;
    max-width: 850px;
    position: relative;
    z-index: 2;
  }

  .home-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #475569;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .home-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--electric);
    box-shadow: 0 0 12px var(--electric);
  }

  .home-hero h1 {
    margin: 1.2rem auto 1.35rem;
    max-width: 15ch;
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 950;
    color: #0f172a;
  }

  .home-hero h1 em {
    color: var(--cyan);
    font-style: normal;
  }

  .home-hero-copy>p {
    margin: 0 auto;
    max-width: 650px;
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.7;
  }

  .home-search {
    margin: 2.5rem auto 1.1rem;
    max-width: 930px;
    min-height: 86px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: .5rem;
    align-items: stretch;
    padding: .65rem;
    background: #fff;
    border-radius: 99px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, .05);
  }

  .home-search-field {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .5rem 1.5rem;
    color: #0f172a;
    border-right: 1px solid #e2e8f0;
    cursor: text;
  }

  .home-search-field>span:last-child {
    min-width: 0;
    width: 100%;
  }

  .home-search-field small {
    display: block;
    color: #64748b;
    font-size: .75rem;
    font-weight: 700;
  }

  /* Override Bootstrap and global dark styles for home search inputs */
  .home-search-field input,
  .home-search-field input:focus,
  .home-page .home-search-field input {
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    padding: .25rem 0 0;
    background: transparent !important;
    color: #0f172a !important;
    font-weight: 700;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .home-search-field input::placeholder {
    color: #94a3b8;
    font-weight: 500;
  }

  .home-icon {
    color: var(--electric);
    font-size: 1.6rem;
    font-weight: bold;
    flex-shrink: 0;
  }

  .home-search .btn {
    min-width: 190px;
    border-radius: 99px;
    font-size: 1.05rem;
    align-self: center;
  }

  .home-search .btn span {
    margin-left: .4rem;
  }

  .home-popular {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .6rem;
    color: #64748b;
    font-size: .8rem;
    position: relative;
    z-index: 2;
    font-weight: 600;
    align-items: center;
  }

  .home-popular a {
    color: #475569;
    text-decoration: none;
    padding: .3rem .8rem;
    border: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    border-radius: 999px;
    transition: 0.2s;
  }

  .home-popular a:hover {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, .2);
  }

  .home-proof {
    max-width: 670px;
    margin: 3.4rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .home-proof div+div {
    border-left: 1px solid rgba(0, 0, 0, .1);
  }

  .home-proof strong,
  .home-proof span {
    display: block;
  }

  .home-proof strong {
    font-size: 1.5rem;
    color: #0f172a;
  }

  .home-proof span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 600;
  }

  .home-section {
    padding: 6.5rem 0;
  }

  .home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2.3rem;
  }

  .home-section-head h2,
  .home-how h2,
  .home-cta h2 {
    margin: .7rem 0 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    letter-spacing: -.04em;
    font-weight: 950;
  }

  .home-section-head>a {
    color: var(--text);
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }

  .home-section-head>a span,
  .category-card b span {
    color: var(--cyan);
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .category-card {
    min-height: 220px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    color: var(--text);
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 18px;
    transition: .25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .02);
  }

  .category-card:hover {
    color: var(--text);
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, .3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .06);
  }

  .category-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(14, 165, 233, .1);
  }

  .category-icon::after {
    color: var(--cyan);
    font-size: 1.25rem;
    font-weight: 900;
  }

  .category-code::after {
    content: '</>';
  }

  .category-palette::after {
    content: '✦';
  }

  .category-chart::after {
    content: '↗';
  }

  .category-headset::after {
    content: '◖◗';
  }

  .category-briefcase::after {
    content: '▣';
  }

  .category-globe::after {
    content: '◎';
  }

  .category-card strong {
    margin: 1.2rem 0 .25rem;
    font-size: 1.1rem;
    color: #0f172a;
  }

  .category-card small {
    color: #64748b;
  }

  .category-card b {
    margin-top: auto;
    font-size: .78rem;
    font-weight: 700;
    color: #475569;
  }

  .home-featured {
    background: #f8fafc;
    border-block: 1px solid rgba(0, 0, 0, .05);
  }

  .home-job-grid-clean {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .home-job-clean {
    min-height: 280px;
    padding: 1.4rem;
    position: relative;
    color: var(--text);
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 18px;
    transition: .25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .02);
  }

  .home-job-clean:hover {
    color: var(--text);
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, .3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .06);
  }

  .job-company-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, var(--cyan), var(--electric));
  }

  .job-mode {
    position: absolute;
    top: 1.5rem;
    right: 1.4rem;
    padding: .3rem .65rem;
    color: #0ea5e9;
    background: rgba(14, 165, 233, .1);
    border-radius: 99px;
    font-size: .65rem;
    font-weight: 800;
    text-transform: capitalize;
  }

  .home-job-clean h3 {
    margin: 1.3rem 0 .3rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
  }

  .home-job-clean p {
    color: #64748b;
    font-size: .85rem;
    font-weight: 600;
  }

  .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    color: #64748b;
    font-size: .75rem;
    font-weight: 500;
  }

  .job-card-bottom {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.3rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, .06);
    padding-top: 1rem;
    align-items: center;
  }

  .job-card-bottom small {
    color: #94a3b8;
    font-weight: 500;
  }

  .job-card-bottom b {
    color: var(--cyan);
    font-size: .8rem;
    font-weight: 700;
  }

  .home-empty {
    grid-column: 1/-1;
    padding: 3rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(0, 0, 0, .1);
    border-radius: 18px;
  }

  .home-how-shell {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 6rem;
    align-items: center;
    padding: 4rem;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .03);
  }

  .home-how-copy h2 {
    color: #0f172a;
  }

  .home-how-copy p {
    color: #475569;
    max-width: 35ch;
    line-height: 1.7;
    font-size: 1.05rem;
  }

  .home-steps {
    display: grid;
    gap: 1rem;
  }

  .home-steps>div {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
  }

  .home-steps b {
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 900;
    background: rgba(14, 165, 233, .1);
    padding: .3rem .6rem;
    border-radius: 8px;
  }

  .home-steps span span,
  .home-steps strong,
  .home-steps small {
    display: block;
  }

  .home-steps strong {
    margin-bottom: .35rem;
    color: #0f172a;
    font-size: 1.1rem;
  }

  .home-steps small {
    color: #64748b;
    line-height: 1.5;
    font-size: .9rem;
  }

  .home-cta-section {
    padding-top: 0;
  }

  .home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem;
    border-radius: 28px;
    background: linear-gradient(120deg, #0f172a, #1e293b);
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 30px 60px rgba(15, 23, 42, .2);
  }

  .home-cta p {
    color: #cbd5e1;
    margin: .8rem 0 0;
  }

  .home-cta h2 {
    color: #fff;
  }

  .home-cta-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
  }

  .home-cta-actions .btn {
    border-radius: 99px;
    padding-inline: 2rem;
  }

  .home-cta-actions>a:not(.btn) {
    color: #f8fafc;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s;
  }

  .home-cta-actions>a:not(.btn):hover {
    color: #fff;
    opacity: 0.8;
  }

  .home-footer {
    background: #fdfcfa;
    border-top: 1px solid rgba(0, 0, 0, .08);
    color: #64748b;
  }

  .home-footer .container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .home-footer strong {
    color: #0f172a;
  }

  .home-footer small {
    margin-left: auto;
  }

  @media (max-width: 991px) {

    .category-grid,
    .home-job-grid-clean {
      grid-template-columns: repeat(2, 1fr);
    }

    .home-how-shell {
      gap: 2rem;
      padding: 2.5rem;
    }

    .home-cta {
      align-items: flex-start;
      flex-direction: column;
    }

    /* Keep home nav horizontal on tablet — collapse only on mobile */
    .home-page .gm-nav-actions {
      flex-direction: row !important;
      align-items: center !important;
    }
  }

  @media (max-width: 767px) {

    /* Mobile: collapse home nav */
    .home-page .navbar-collapse .gm-nav-actions {
      flex-direction: column !important;
      align-items: stretch !important;
    }
  }

  @media (max-width: 700px) {
    .home-hero {
      padding: 5rem 0 3rem;
      min-height: auto;
    }

    .home-hero h1 {
      font-size: 2.8rem;
    }

    .home-search {
      grid-template-columns: 1fr;
      padding: .65rem;
      border-radius: 24px;
    }

    .home-search-field {
      min-height: 68px;
      border-right: 0;
      border-bottom: 1px solid #e7eaf0;
      padding: .5rem 1rem;
    }

    .home-search .btn {
      min-height: 58px;
      border-radius: 16px;
      width: 100%;
    }

    .home-proof {
      margin-top: 2.5rem;
    }

    .home-section {
      padding: 4.5rem 0;
    }

    .home-section-head {
      align-items: flex-start;
      flex-direction: column;
    }

    .category-grid,
    .home-job-grid-clean,
    .home-how-shell {
      grid-template-columns: 1fr;
    }

    .home-how-shell,
    .home-cta {
      padding: 1.6rem;
    }

    .home-cta-actions {
      width: 100%;
      align-items: stretch;
      flex-direction: column;
    }

    .home-cta-actions .btn {
      width: 100%;
    }

    .home-footer .container {
      align-items: flex-start;
      flex-direction: column;
    }

    .home-footer small {
      margin-left: 0;
    }
  }

  @media (max-width: 768px) {

    .admin-inline-form,
    .admin-create-form,
    .application-detail {
      grid-template-columns: 1fr;
    }

    .application-detail .chips {
      grid-column: auto;
    }

    .table-responsive {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-bottom: 1rem;
    }

    .admin-table {
      min-width: 600px;
    }

    .admin-inline-form .btn {
      width: 100%;
      margin-top: .25rem;
    }

    .admin-inline-form {
      gap: .75rem;
      padding: 1rem;
      background: #f8fafc;
      border-radius: 8px;
      border: 1px solid var(--line);
      margin-bottom: 1rem;
    }

    .admin-table td,
    .admin-table th {
      padding: 1rem;
    }
  }

  /* ── WhatsApp Float Button ───────────────────────────────── */
  .whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: .55rem;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    padding: .65rem 1.1rem .65rem .85rem;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    letter-spacing: .01em;
  }

  .whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 32px rgba(37, 211, 102, .6);
    color: #fff;
  }

  .whatsapp-float svg {
    flex-shrink: 0;
  }

  /* ── Footer WhatsApp link ───────────────────────────────── */
  .footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #25d366;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .18s;
  }

  .footer-whatsapp:hover {
    opacity: .8;
    color: #25d366;
  }
}