/* ============================================================
   Central Shift - Main Stylesheet
   Plain CSS, mobile-first
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #ffffff;
  --color-surface: #f5f7fb;
  --color-surface-strong: #eaf0f8;
  --color-border: #dce3ee;
  --color-text: #101725;
  --color-text-muted: #637083;
  --color-primary: #1457d9;
  --color-primary-h: #0f3f9f;
  --color-accent: #09a8c7;
  --color-navy: #071323;
  --color-navy-soft: #0e2239;
  --color-warm: #f59e0b;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(11, 25, 48, 0.13);
  --shadow-soft: 0 8px 26px rgba(11, 25, 48, 0.08);
  --max-w: 1180px;
  --nav-h: 72px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }

/* --- Layout ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4.5rem 0; }
.section--compact { padding: 3rem 0; }
.section--alt { background: var(--color-surface); }
.section--navy {
  background: var(--color-navy);
  color: #fff;
}

.section__header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section__header--row {
  display: grid;
  gap: 1rem;
  max-width: none;
}

.section__title {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.section__body,
.section__copy {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  max-width: 680px;
}

.section__body--spaced {
  margin-bottom: 2rem;
}

.section__copy {
  display: grid;
  gap: 1rem;
}

.section--navy .section__body,
.section--navy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .section { padding: 6rem 0; }
  .section--compact { padding: 4rem 0; }

  .split {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    align-items: start;
    gap: 4rem;
  }

  .split--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .section__header--row {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
    align-items: end;
  }
}

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 87, 217, 0.22);
}

.btn--primary:hover { background: var(--color-primary-h); }

.btn--outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--lg {
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  font-size: 0.96rem;
}

/* --- Navigation --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 238, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav__logo:hover { text-decoration: none; }

.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.nav__links {
  position: absolute;
  top: calc(100% + 1px);
  left: 1.25rem;
  right: 1.25rem;
  display: none;
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem;
}

.nav__links--open {
  display: grid;
  gap: 0.35rem;
}

.nav__links a:not(.btn) {
  display: block;
  padding: 0.72rem 0.75rem;
  border-radius: 6px;
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav__links a:not(.btn):hover,
.nav__links a.active {
  background: var(--color-surface);
  color: var(--color-primary);
  text-decoration: none;
}

.nav__links .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav__toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-text);
  border-radius: 99px;
}

@media (min-width: 1040px) {
  .nav__links {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .nav__links a:not(.btn) {
    padding: 0.5rem 0.58rem;
    font-size: 0.86rem;
  }

  .nav__links .btn {
    width: auto;
    margin-top: 0;
    margin-left: 0.35rem;
  }

  .nav__toggle { display: none; }
}

@media (min-width: 1160px) {
  .nav__links { gap: 0.5rem; }

  .nav__links a:not(.btn) {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }
}

/* --- Hero --------------------------------------------------- */
.hero {
  overflow: hidden;
  padding: 3.5rem 0 4rem;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 62%),
    radial-gradient(circle at top right, rgba(9, 168, 199, 0.16), transparent 36%);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero--compact {
  padding-bottom: 2.5rem;
}

.hero__content {
  max-width: 710px;
}

.hero__heading {
  max-width: 820px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 1.25rem;
}

.hero__sub {
  max-width: 620px;
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.25rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.hero__stats--wide {
  margin-top: 1.4rem;
}

.hero__stats div {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.hero__stats dt {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero__stats dd {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.hero__media {
  position: relative;
  min-height: 360px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-surface-strong);
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero__note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(7, 19, 35, 0.78);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero__note-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__note strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 980px) {
  .hero {
    padding: 5.5rem 0 5rem;
  }

  .hero--compact {
    padding: 4.25rem 0 3rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: 3rem;
  }

  .hero__media {
    min-height: 520px;
  }

  .hero__media img {
    min-height: 520px;
  }
}

/* --- Compact Homepage -------------------------------------- */
.overview {
  display: grid;
  gap: 2rem;
}

.overview__intro {
  display: grid;
  align-content: start;
}

.overview__proof {
  display: grid;
  gap: 0.8rem;
}

.overview__proof article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.9rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
}

.overview__proof span {
  grid-row: span 2;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.overview__proof strong {
  font-size: 1rem;
  line-height: 1.25;
}

.overview__proof p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.2rem;
  font-weight: 900;
}

.pathways-grid {
  display: grid;
  gap: 1rem;
}

.pathway-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.pathway-card--dark {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.pathway-card__label {
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pathway-card--dark .pathway-card__label {
  color: rgba(255, 255, 255, 0.72);
}

.pathway-card h3 {
  font-size: 1.35rem;
  line-height: 1.1;
  margin: 1rem 0 0.7rem;
}

.pathway-card p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.pathway-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.pathway-card a {
  margin-top: auto;
  padding-top: 1.5rem;
  font-weight: 900;
}

.pathway-card--dark a {
  color: #fff;
}

.contact--compact {
  padding-top: 3.5rem;
}

.contact__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.contact__quick span {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 99px;
  background: #fff;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (min-width: 760px) {
  .overview {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: 3rem;
  }

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

@media (min-width: 1040px) {
  .pathways-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Detail Pages ------------------------------------------- */
.page-hero--light {
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%),
    radial-gradient(circle at top right, rgba(9, 168, 199, 0.14), transparent 34%);
  color: var(--color-text);
  text-align: left;
}

.page-hero--light .page-hero__sub {
  max-width: 720px;
  color: var(--color-text-muted);
}

.page-layout {
  display: grid;
  gap: 2rem;
}

.page-sidebar {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.page-sidebar a {
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.page-sidebar a:hover,
.page-sidebar a.active {
  background: #fff;
  color: var(--color-primary);
  text-decoration: none;
}

.content-stack {
  display: grid;
  gap: 2rem;
}

.content-block {
  display: grid;
  gap: 1rem;
}

.content-block h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.content-block p {
  color: var(--color-text-muted);
  max-width: 760px;
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-card {
  padding: 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.detail-card p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.cta-band {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--color-navy);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band .btn--outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

@media (min-width: 760px) {
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .page-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }
}

/* --- Cards -------------------------------------------------- */
.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card__number {
  display: block;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.card__title {
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.card__body {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .cards--proof {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Feature Band ------------------------------------------- */
.feature-band {
  background: var(--color-navy-soft);
  color: #fff;
  padding: 3rem 0;
}

.feature-band .eyebrow,
.feature-band p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-band__grid {
  display: grid;
  gap: 2rem;
}

.feature-band__title {
  max-width: 720px;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.feature-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.feature-band .btn--outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.feature-band .btn--outline:hover {
  border-color: #fff;
  color: #fff;
}

@media (min-width: 820px) {
  .feature-band__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* --- Talent Pool -------------------------------------------- */
.talent-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
}

.talent-panel__row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-border);
}

.talent-panel__row span {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.talent-panel__row strong {
  font-size: 1rem;
  line-height: 1.35;
}

/* --- Partnering --------------------------------------------- */
.partnering__steps {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.partnering__steps article {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
}

.partnering__steps span {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
}

.partnering__steps p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (min-width: 760px) {
  .partnering__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- MSP Toolbox -------------------------------------------- */
.toolbox__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.toolbox__preview {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.toolbox__bar {
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-warm));
}

.toolbox__metric {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.toolbox__metric span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.toolbox__metric strong {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.35;
}

@media (min-width: 860px) {
  .toolbox__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    gap: 4rem;
  }
}

/* --- Contact Form ------------------------------------------- */
.contact {
  background: var(--color-surface);
}

.contact__grid {
  display: grid;
  gap: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-help {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 87, 217, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.85fr);
    align-items: start;
    gap: 4rem;
  }

  .contact-form { padding: 1.35rem; }
}

/* --- Jobs Page ---------------------------------------------- */
.page-hero {
  background: var(--color-navy);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero__heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.page-hero__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.jobs-filters {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-input,
.filter-select {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.92rem;
}

.filter-input { flex: 1; min-width: 220px; }

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 87, 217, 0.12);
}

.jobs-section { min-height: 50vh; }

.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.job-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.job-card__info { flex: 1; }

.job-card__title {
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 99px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.tag--type {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.tag--location {
  background: #d1fae5;
  border-color: #a7f3d0;
  color: #065f46;
}

.job-card__action { flex-shrink: 0; }

.jobs-empty,
.jobs-loading {
  color: var(--color-text-muted);
  font-size: 1rem;
  padding: 3rem 0;
  text-align: center;
}

@media (min-width: 760px) {
  .job-card {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --- Contact Layout (homepage) ------------------------------ */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

.contact-intro .section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.contact-list li {
  padding: 0.7rem 1rem;
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.94rem;
  color: var(--color-text);
}

/* Form fields */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label,
.form-field > label {
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 800;
}

.form-field--consent {
  margin-top: 0.25rem;
}

.consent-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 400 !important;
  color: var(--color-text-muted);
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.consent-label a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-hidden {
  display: none;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
    align-items: start;
    gap: 4rem;
  }
}

/* --- Footer links ------------------------------------------- */
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- Page tabs (sub-nav below hero) ------------------------- */
.page-tabs {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.page-tabs__list {
  display: flex;
  gap: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-tabs__list a {
  display: block;
  padding: 0.85rem 1.25rem;
  border-bottom: 2px solid transparent;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.page-tabs__list a:hover {
  color: var(--color-text);
  text-decoration: none;
}

.page-tabs__list a.active {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
}

.page-tabs__list .tab-cta a {
  color: var(--color-primary);
  font-weight: 800;
}

/* --- Benefit grid ------------------------------------------- */
.benefit-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.benefit-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: #dbeafe;
  flex-shrink: 0;
}

.benefit-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--color-primary);
}

.benefit-card h3 {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --- Process steps ------------------------------------------ */
.process-steps {
  display: grid;
  gap: 0;
  counter-reset: steps;
}

.process-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--color-border);
  counter-increment: steps;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step__num {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
  padding-top: 0.55rem;
}

.process-step__body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.process-step__body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Values list -------------------------------------------- */
.values-list {
  display: grid;
  gap: 0;
  list-style: none;
}

.values-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.values-list li:first-child {
  padding-top: 0;
}

.values-list li:last-child {
  border-bottom: none;
}

.values-list strong {
  color: var(--color-text);
  font-weight: 800;
}

/* --- Privacy page ------------------------------------------- */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2rem 0 0.6rem;
  color: var(--color-text);
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.25rem 0 0.4rem;
  color: var(--color-text);
}

.prose p,
.prose li {
  color: var(--color-text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin: 0.6rem 0;
}

.prose ul li + li,
.prose ol li + li {
  margin-top: 0.3rem;
}

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

.prose strong {
  color: var(--color-text);
  font-weight: 800;
}

.prose .updated {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

/* --- Thanks page -------------------------------------------- */
.thanks-section {
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.thanks-section__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.thanks-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #dbeafe;
}

.thanks-section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.thanks-section__body {
  margin: 0 auto 2rem;
}

.thanks-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --- Footer ------------------------------------------------- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.66);
  padding: 2.4rem 0;
}

.footer__grid {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.footer__brand {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
}

.footer__tagline,
.footer__copy {
  font-size: 0.86rem;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr auto;
  }
}
