/* ==========================================================================
   Careers page
   Scoped to .careers-page so nothing here can leak into the 100+ other
   pages that share style.css / responsive.css.
   ========================================================================== */

.careers-page {
  --crs-primary: #0071bc;
  --crs-primary-dark: #00548c;
  --crs-accent: #028cff;
  --crs-ink: #0d1f30;
  --crs-body: #55677a;
  --crs-muted: #7a8b9c;
  --crs-line: #e4ebf2;
  --crs-surface: #f4f8fb;
  --crs-radius: 16px;
  --crs-shadow: 0 1px 2px rgba(13, 31, 48, .04), 0 12px 32px rgba(13, 31, 48, .06);
  --crs-shadow-lift: 0 2px 4px rgba(13, 31, 48, .05), 0 24px 48px rgba(13, 31, 48, .12);
}

.careers-page section {
  overflow: hidden;
}

/* --- Shared type ------------------------------------------------------- */

.crs-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--crs-accent);
  margin-bottom: 14px;
}

.crs-section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.crs-section-head h2 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--crs-ink);
  margin: 0 0 14px;
}

.crs-section-head p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--crs-body);
  margin: 0;
}

/* --- Buttons ----------------------------------------------------------- */

.crs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}

.crs-btn i {
  font-size: 15px;
}

.crs-btn:hover,
.crs-btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.crs-btn-primary {
  background: linear-gradient(135deg, var(--crs-accent) 0%, var(--crs-primary) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 113, 188, .28);
}

.crs-btn-primary:hover,
.crs-btn-primary:focus {
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 113, 188, .36);
}

.crs-btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  backdrop-filter: blur(4px);
}

.crs-btn-ghost:hover,
.crs-btn-ghost:focus {
  background: #fff;
  border-color: #fff;
  color: var(--crs-primary);
}

.crs-btn-outline {
  background: #fff;
  border-color: var(--crs-line);
  color: var(--crs-ink);
}

.crs-btn-outline:hover,
.crs-btn-outline:focus {
  border-color: var(--crs-primary);
  color: var(--crs-primary);
  box-shadow: 0 10px 22px rgba(13, 31, 48, .1);
}

.crs-btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .3);
}

.crs-btn-wa:hover,
.crs-btn-wa:focus {
  color: #fff;
  background: #1fbb5a;
  box-shadow: 0 14px 28px rgba(37, 211, 102, .38);
}

/* --- Hero -------------------------------------------------------------- */

.careers-page .crs-hero {
  height: auto;
  min-height: 0;
  padding: 96px 0 88px;
  position: relative;
  background-position: center right !important;
}

.careers-page .crs-hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(105deg, rgba(6, 22, 38, .94) 0%, rgba(6, 22, 38, .82) 42%, rgba(6, 22, 38, .35) 100%);
}

.careers-page .crs-hero .container {
  position: relative;
  z-index: 2;
}

.crs-hero-inner {
  max-width: 660px;
}

/* responsive.css drops the breadcrumb out of flow and parks it 114px below
   the banner on small screens, which this taller hero would clip. Keep it in
   flow at every width instead. */
.careers-page .crs-hero .breadcrumb {
  position: static;
  width: auto;
  bottom: auto;
  padding: 0;
  margin: 0 0 22px;
  font-size: 13px;
  background: none;
  color: rgba(255, 255, 255, .6);
}

.careers-page .crs-hero .breadcrumb > li {
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
}

.careers-page .crs-hero .breadcrumb a,
.careers-page .crs-hero .breadcrumb > .active {
  color: rgba(255, 255, 255, .72);
}

.careers-page .crs-hero .breadcrumb a:hover {
  color: #fff;
}

.crs-hero .crs-eyebrow {
  color: #6fc3ff;
}

.careers-page .crs-hero h1 {
  font-size: 46px;
  line-height: 1.18;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  text-shadow: none;
}

.crs-hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 28px;
}

.crs-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.crs-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
}

.crs-hero-meta i {
  color: #6fc3ff;
}

.crs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- Value propositions ------------------------------------------------ */

.crs-values {
  padding: 96px 0;
  background: #fff;
}

.crs-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.crs-value {
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--crs-line);
  border-radius: var(--crs-radius);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.crs-value:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--crs-shadow-lift);
}

.crs-value-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 21px;
  color: var(--crs-primary);
  background: linear-gradient(135deg, rgba(2, 140, 255, .12) 0%, rgba(0, 113, 188, .16) 100%);
}

.crs-value h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--crs-ink);
  margin: 0 0 10px;
}

.crs-value p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--crs-body);
  margin: 0;
}

/* --- Hiring process ---------------------------------------------------- */

.crs-process {
  padding: 96px 0;
  background: var(--crs-surface);
}

.crs-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.crs-steps:before {
  content: "";
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 113, 188, .08) 0%, rgba(2, 140, 255, .35) 50%, rgba(0, 113, 188, .08) 100%);
}

.crs-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.crs-step-media {
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--crs-line);
  box-shadow: var(--crs-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.crs-step:hover .crs-step-media {
  transform: translateY(-4px);
  box-shadow: var(--crs-shadow-lift);
}

.crs-step-media img {
  width: 56px;
  height: auto;
  opacity: .82;
}

.crs-step-num {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--crs-accent) 0%, var(--crs-primary) 100%);
  box-shadow: 0 4px 10px rgba(0, 113, 188, .3);
}

.crs-step h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--crs-ink);
  margin: 0 0 8px;
}

.crs-step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--crs-body);
  margin: 0;
  padding: 0 6px;
}

/* --- Open roles -------------------------------------------------------- */

.crs-roles {
  padding: 96px 0;
  background: #fff;
}

.crs-role {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  padding: 40px;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid var(--crs-line);
  border-radius: var(--crs-radius);
  box-shadow: var(--crs-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.crs-role:last-child {
  margin-bottom: 0;
}

.crs-role:hover {
  transform: translateY(-3px);
  box-shadow: var(--crs-shadow-lift);
}

.crs-role-intro {
  display: flex;
  flex-direction: column;
}

.crs-role-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0a7d3e;
  background: rgba(37, 211, 102, .14);
}

.crs-role-badge i {
  font-size: 10px;
}

.crs-role h3 {
  font-size: 25px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--crs-ink);
  margin: 0 0 14px;
}

.crs-role-summary {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--crs-body);
  margin: 0 0 24px;
}

.crs-role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.crs-role-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--crs-ink);
  background: var(--crs-surface);
  border: 1px solid var(--crs-line);
}

.crs-role-meta i {
  color: var(--crs-primary);
  font-size: 13px;
}

.crs-role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.crs-role-skills {
  padding-left: 48px;
  border-left: 1px solid var(--crs-line);
}

.crs-role-skills h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--crs-muted);
  margin: 0 0 18px;
}

.crs-role-skills ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.crs-role-skills li {
  position: relative;
  padding: 0 0 13px 32px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--crs-body);
  background: none;
}

.crs-role-skills li:last-child {
  padding-bottom: 0;
}

.crs-role-skills li:before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 9px;
  color: var(--crs-primary);
  background: rgba(2, 140, 255, .12);
}

/* --- Application checklist --------------------------------------------- */

.crs-apply {
  padding: 96px 0;
  background: var(--crs-surface);
}

.crs-apply-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--crs-line);
  border-radius: var(--crs-radius);
  box-shadow: var(--crs-shadow);
}

.crs-apply-card h2 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--crs-ink);
  margin: 0 0 14px;
}

.crs-apply-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--crs-body);
  margin: 0 0 26px;
}

.crs-apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.crs-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crs-checklist li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--crs-ink);
  background: var(--crs-surface);
  border: 1px solid var(--crs-line);
  border-radius: 12px;
  line-height: 1.4;
}

.crs-checklist li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.crs-checklist i {
  color: var(--crs-primary);
  font-size: 13px;
}

/* --- Closing CTA ------------------------------------------------------- */

.crs-cta {
  padding: 88px 0;
  background: #fff;
}

.crs-cta-inner {
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(120deg, #06283f 0%, #0071bc 58%, #028cff 100%);
}

.crs-cta-inner:before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}

.crs-cta-inner > * {
  position: relative;
  z-index: 2;
}

.crs-cta-inner h2 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
}

.crs-cta-inner p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  max-width: 620px;
  margin: 0 auto 30px;
}

.crs-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 1199px) {
  .crs-role,
  .crs-apply-card {
    gap: 36px;
  }
}

@media (max-width: 991px) {
  .careers-page .crs-hero {
    padding: 72px 0 64px;
  }

  .careers-page .crs-hero h1 {
    font-size: 36px;
  }

  .crs-values,
  .crs-process,
  .crs-roles,
  .crs-apply {
    padding: 72px 0;
  }

  .crs-section-head {
    margin-bottom: 44px;
  }

  .crs-section-head h2 {
    font-size: 30px;
  }

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

  .crs-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .crs-steps:before {
    display: none;
  }

  .crs-role,
  .crs-apply-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .crs-role-skills {
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid var(--crs-line);
  }

  .crs-apply-card {
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .careers-page .crs-hero {
    padding: 56px 0 52px;
    background-position: center !important;
  }

  .careers-page .crs-hero h1 {
    font-size: 28px;
    position: static;
  }

  .crs-hero-lead {
    font-size: 16px;
  }

  .crs-hero-actions .crs-btn,
  .crs-role-actions .crs-btn,
  .crs-apply-actions .crs-btn,
  .crs-cta-actions .crs-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .crs-values,
  .crs-process,
  .crs-roles,
  .crs-apply,
  .crs-cta {
    padding: 56px 0;
  }

  .crs-section-head h2 {
    font-size: 26px;
  }

  .crs-section-head p {
    font-size: 16px;
  }

  .crs-value-grid {
    grid-template-columns: 1fr;
  }

  .crs-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .crs-role {
    padding: 28px 24px;
  }

  .crs-role h3 {
    font-size: 21px;
  }

  .crs-apply-card {
    padding: 30px 24px;
  }

  .crs-apply-card h2 {
    font-size: 24px;
  }

  .crs-checklist {
    grid-template-columns: 1fr;
  }

  .crs-checklist li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .crs-cta-inner {
    padding: 44px 24px;
  }

  .crs-cta-inner h2 {
    font-size: 24px;
  }

  .crs-cta-inner p {
    font-size: 16px;
  }
}
