.careers-hero {
  position: relative;
  padding: 180px 60px 80px 137px;
  background: var(--card-bg);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
  color: inherit;
  opacity: 0.55;
  transition: background-color .15s ease, opacity .15s ease, color .15s ease;
}

.lang-btn:hover {
  opacity: 0.85;
}

.lang-btn.active {
  opacity: 1;
  background: var(--accent);
  color: #fff;
}

.careers-hero-content {
  max-width: 760px;
}

.careers-hero h1 {
  margin-top: 8px;
  font-family: 'NeueMachina', sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
}

.careers-hero h1 .line-indent2 {
  display: block;
  color: var(--accent);
}

.careers-hero-sub {
  margin-top: 24px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mid);
}

.careers-section {
  padding-left: 137px;
}

.careers-header {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}

.careers-intro {
  max-width: 560px;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.7;
}

.jobs-list {
  display: grid;
  gap: 18px;
}

.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 30px 32px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.job-card:hover {
  border-color: rgba(68, 96, 240, 0.34);
  box-shadow: 0 18px 44px rgba(10, 10, 10, 0.06);
  transform: translateY(-2px);
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.job-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--mid);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.job-card h2 {
  font-family: 'NeueMachina', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
}

.job-card p {
  max-width: 640px;
  margin-top: 12px;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.6;
}

.job-card .job-location {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 10px 13px;
  border-left: 2px solid var(--accent);
  background: var(--accent-light);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.job-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 148px;
  min-height: 48px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  font-family: 'Urbanist', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.job-open-btn:hover,
.job-open-btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  outline: none;
}

.job-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  justify-content: flex-end;
  background: rgba(10, 10, 10, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.job-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.job-drawer {
  width: min(560px, 100%);
  height: 100%;
  padding: 40px;
  overflow-y: auto;
  background: #fff;
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.16);
  transform: translateX(100%);
  transition: transform .32s ease;
}

.job-drawer-backdrop.is-open .job-drawer {
  transform: translateX(0);
}

.job-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.job-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--black);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}

.job-drawer-close:hover,
.job-drawer-close:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.job-drawer-title {
  font-family: 'NeueMachina', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

.job-drawer-summary {
  margin-top: 18px;
  color: var(--mid);
  font-size: 16px;
  line-height: 1.7;
}

.job-drawer-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.job-drawer-section h3 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.job-drawer-section ul {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.65;
}

.job-apply {
  margin-top: 36px;
}

body.drawer-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .lang-switcher {
    margin-left: 0;
  }

  .careers-hero,
  .careers-section {
    padding-left: 48px;
    padding-right: 48px;
  }

  .careers-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .careers-hero {
    padding: 112px 24px 56px;
  }

  .careers-section {
    padding: 56px 24px 80px;
  }

  .careers-header {
    margin-bottom: 32px;
  }

  .job-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
  }

  .job-open-btn {
    width: 100%;
  }

  .job-drawer {
    padding: 28px 24px 36px;
  }
}
