/* =========================================================
   careers.css — Careers ("Become a Bloxian") page
   Reuses shared header/footer, .container, .eyebrow, .btn,
   and the .sp-hero pattern from service-providers.css.
   ========================================================= */

/* Breadcrumb strip flush under the sticky header (no image gap) */
.sp-breadcrumb {
  top: 0;
}

/* Hero overlay — navy left-to-right gradient over the green wave */
.careers-hero .sp-hero__overlay {
  background: linear-gradient(90deg, rgba(16, 6, 60, 0.92) 0%, rgba(16, 6, 60, 0.2) 60%, rgba(16, 6, 60, 0) 100%);
}

.careers-hero .sp-hero__lede {
  max-width: 660px;
}

/* Cyan eyebrow variant (on dark backgrounds) */
.eyebrow--cyan {
  color: #39cdd8;
}

/* -----------------------------------------------------
   SECTION: Intro (text + image)
   ----------------------------------------------------- */
.careers-intro {
  background: #fff;
  padding: 80px 0;
}

.careers-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 608px) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.careers-intro__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.careers-intro__copy p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #181819;
}

/* Lead paragraph — bigger, with a bold "We build" opener */
.careers-intro__lead {
  font-size: 24px;
  line-height: 1.4;
}

.careers-intro__lead strong {
  font-weight: 700;
}

.careers-intro__media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* -----------------------------------------------------
   SECTION: Life at HyperBlox
   ----------------------------------------------------- */
.life {
  background: #f7f7f7;
  padding: 76px 0 80px;
}

.life__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 20px;
}

.life__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}

.life__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  margin: 0;
}

.life__subtitle {
  font-size: 20px;
  line-height: 1.2;
  color: #000;
  margin: 0;
}

.life__culture,
.life__values {
  display: flex;
  flex-direction: column;
}

.life__culture .life__heading {
  margin-bottom: 40px;
}

/* Stretch both columns to equal height and align their bottoms */
.life__culture .life__photo {
  margin-top: auto;
}

.life__values .value-list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.life__para {
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  margin: 0 0 20px;
}

.life__photo {
  margin-top: 4px;
  border-radius: 8px;
  overflow: hidden;
}

.life__photo img {
  width: 100%;
  height: 401px;
  object-fit: cover;
  display: block;
}

/* Values list */
.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.value-item {
  padding: 16px 0;
  border-bottom: 1px solid #c4c4c4;
}

.value-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.value-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
}

.value-item__icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.value-item__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  margin: 0;
}

.value-item__body {
  font-size: 16px;
  line-height: 1.4;
  color: #50505e;
  margin: 0;
}

/* Benefits */
.benefits {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.benefits__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  margin: 0;
  text-align: center;
}

.benefits__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
}

.benefit-card {
  border: 1px solid #c7ced7;
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.benefit-card__icon {
  width: 32px;
  height: 32px;
  display: block;
}

.benefit-card__icon img {
  width: 32px;
  height: 32px;
  display: block;
}

.benefit-card__label {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

/* -----------------------------------------------------
   SECTION: The Hiring Process
   ----------------------------------------------------- */
.hiring {
  background: #fff;
  padding: 80px 0 0;
}

.hiring__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 40px;
}

.hiring__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  margin: 0;
}

.prep-cards {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prep-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 14px 41.25px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prep-card__icon {
  width: 40px;
  height: 40px;
  display: block;
}

.prep-card__icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.prep-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #181819;
  margin: 0;
}

.prep-card__body {
  font-size: 18px;
  line-height: 1.4;
  color: #181819;
  margin: 0;
}

/* Dark process band — the navy band only covers the title + top portion of
   the cards; the cards overflow below it onto the white section. */
.process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  padding: 80px 0 80px;
}

.process__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 360px;
  object-fit: cover;
  z-index: -2;
}

.process::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 360px;
  background: rgba(24, 0, 86, 0.5);
  z-index: -1;
}

.process__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  margin: 0 0 40px;
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.process-step {
  flex: 1 1 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step__num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #2b3990;
}

.process-step__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
  margin: 0;
  white-space: nowrap;
}

.process-step__body {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

/* Cyan arrow flush between cards (no gap), aligned with the card title row */
.process-arrow {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 76px;
  width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-arrow img {
  width: 28px;
  height: 28px;
  display: block;
}

/* -----------------------------------------------------
   SECTION: Want to explore? CTA
   ----------------------------------------------------- */
.explore-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #11003e;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.explore-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.explore-cta__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 0, 70, 0) 0%, rgba(17, 0, 70, 0.6) 100%),
    linear-gradient(94deg, rgb(17, 0, 68) 0.7%, rgba(17, 0, 68, 0) 82%);
}

.explore-cta__inner {
  max-width: 838px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 80px 0;
  color: #fff;
}

.explore-cta__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.explore-cta__title strong {
  font-weight: 600;
}

.explore-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
}

.explore-cta__copy p {
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* -----------------------------------------------------
   SECTION: Final CTA banner (rounded panel)
   ----------------------------------------------------- */
.final-cta {
  background: #fff;
  padding: 72px 0 64px;
}

.final-cta__panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5.8px);
  transform: scale(1.05);
  z-index: -1;
}

.final-cta__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.1) 95%);
  z-index: -1;
}

.final-cta__inner {
  max-width: 878px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 60px 24px;
  color: #fff;
}

.final-cta__title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

/* -----------------------------------------------------
   Responsive
   ----------------------------------------------------- */
@media (max-width: 980px) {
  .careers-intro__grid,
  .life__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .prep-cards {
    grid-template-columns: 1fr;
  }
  .process__steps {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .process-arrow {
    margin: -16px auto;
    transform: rotate(90deg);
  }
}

@media (max-width: 600px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Long step titles must wrap on phones instead of overflowing the card. */
  .process-step__title { white-space: normal; }
  .explore-cta__title,
  .life__title,
  .hiring__title,
  .benefits__title,
  .process__title {
    font-size: 30px;
  }
  .final-cta__title {
    font-size: 32px;
  }
}
