.career-section {
  position: relative;
  padding: clamp(112px, 10vw, 156px) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #e8eff2 0%, #f8fafb 14%, #fff 34%, #fff 100%);
}

.career-section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 74px;
  content: "";
  background: linear-gradient(180deg, rgba(6, 24, 41, .14), transparent);
  pointer-events: none;
}

.career-section > .container-xl {
  position: relative;
  z-index: 1;
}

.career-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: clamp(54px, 8vw, 124px);
  align-items: end;
}

.career-heading h2 {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--primary-dark);
  font-size: 4.65rem;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

.career-heading > p {
  max-width: 500px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.career-tabs {
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 62px;
  padding: 6px;
  border-radius: 13px;
  background: #e7edef;
}

.career-tab {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  color: var(--muted);
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 850;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.career-tab .lucide {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.career-tab:is(:hover, :focus-visible) {
  color: var(--primary-dark);
  outline: 0;
}

.career-tab.active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 7px 20px rgba(7, 27, 44, .1);
}

.career-content {
  margin-top: 52px;
}

.career-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(64px, 8vw, 128px);
  align-items: center;
}

.career-copy {
  max-width: 570px;
}

.career-copy > span {
  color: var(--action-dark);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.career-copy h3 {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--primary-dark);
  font-size: 2.75rem;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.career-copy > p {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.72;
}

.career-copy ul {
  display: grid;
  gap: 12px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.career-copy li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 750;
}

.career-copy li .lucide {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--action);
}

.career-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.career-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 850;
}

.career-more .lucide {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}

.career-more:is(:hover, :focus-visible) {
  color: var(--action-dark);
}

.career-more:is(:hover, :focus-visible) .lucide {
  transform: translate(2px, -2px);
}

.career-visual {
  position: relative;
  height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--primary-dark);
  box-shadow: 0 28px 64px rgba(7, 27, 44, .14);
}

.career-visual picture,
.career-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.career-visual img {
  object-fit: cover;
  transition: transform .7s var(--ease);
}

#career-employee .career-visual img { object-position: 58% 50%; }
#career-partner .career-visual img { object-position: 48% 50%; }
#career-franchise .career-visual img { object-position: 60% 50%; }

.career-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(4, 20, 36, .72) 100%);
}

.career-visual:hover img {
  transform: scale(1.025);
}

.career-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 24px;
  left: 26px;
  color: #fff;
}

.career-visual figcaption span,
.career-visual figcaption strong {
  display: block;
}

.career-visual figcaption span {
  color: rgba(255, 255, 255, .68);
  font-size: .66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.career-visual figcaption strong {
  margin-top: 5px;
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .career-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .career-heading h2 {
    font-size: 4rem;
  }

  .career-panel-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .career-copy {
    max-width: 680px;
  }

  .career-visual {
    height: min(540px, 68vw);
  }
}

@media (max-width: 575.98px) {
  .career-section {
    padding: 88px 0 96px;
  }

  .career-heading h2 {
    font-size: 3rem;
  }

  .career-tabs {
    display: flex;
    margin-top: 42px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .career-tab {
    flex: 0 0 172px;
  }

  .career-content {
    margin-top: 42px;
  }

  .career-copy h3 {
    font-size: 2.25rem;
  }

  .career-actions .btn {
    width: 100%;
  }

  .career-visual {
    height: 360px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .career-visual img,
  .career-more .lucide {
    transition: none;
  }

  .career-visual:hover img,
  .career-more:is(:hover, :focus-visible) .lucide {
    transform: none;
  }
}
