/* K Resourcing — Benefits page. Shares tokens and components with styles.css. */

@keyframes kr-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kr-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 01 hero ---------- */
.bn-hero {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
  color: var(--white);
}
.bn-hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 12, 51, .9) 0%, rgba(7, 12, 51, .55) 55%, rgba(10, 20, 80, .15) 100%); }
.bn-hero-body { position: relative; padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; gap: 28px; }
.bn-hero h1 { margin: 0; font-size: clamp(48px, 7.4vw, 116px); line-height: .96; letter-spacing: -.045em; font-weight: 400; max-width: 12ch; }
.bn-hero h1 em { font-style: normal; color: var(--gold); font-weight: 500; }
.bn-hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.bn-hero-foot p { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--mist-2); max-width: 52ch; }
.bn-hero .btn-outline { border-color: rgba(255, 255, 255, .28); }

/* ---------- 02 + 03 feature rows ---------- */
.bn-feature { max-width: var(--wrap); margin: 0 auto; }
.bn-rm { padding: var(--section-y) var(--pad-x) clamp(48px, 6vw, 80px); }
.bn-hh { padding: clamp(48px, 6vw, 80px) var(--pad-x) var(--section-y); }
.bn-feature-row { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: center; }
/* text first in the markup; on wrap the photo goes on top */
.bn-feature-row.is-reversed { flex-wrap: wrap-reverse; }
.bn-feature-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.bn-feature-text h2 { margin: 0; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 500; }
.bn-photo { border-radius: 28px; overflow: hidden; }
.bn-photo img { width: 100%; height: 100%; object-fit: cover; }
.bn-rm-photo { flex: 1 1 400px; min-width: 0; aspect-ratio: 833 / 688; }
.bn-hh-media { flex: 1 1 400px; min-width: 0; position: relative; }
.bn-hh-photo { aspect-ratio: 832 / 687; }
.bn-badge { left: clamp(-12px, -1vw, 0px); bottom: -24px; }
.bn-body { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.7; color: var(--body); }
.bn-body p { margin: 0; }
.bn-body-ruled { padding-top: 20px; border-top: 1px solid var(--line); }
.bn-lead { margin: 0; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; letter-spacing: -.015em; color: var(--ink); }
.bn-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bn-chips span { padding: 9px 14px; border-radius: 99px; background: var(--white); border: 1px solid var(--line-2); font-size: 14px; }

/* ---------- 04 recruitment process ---------- */
.bn-process .dot-panel-dots {
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 45%);
  mask-image: linear-gradient(180deg, #000, transparent 45%);
}
.bn-process .dot-panel-glow { bottom: -260px; left: -160px; opacity: .5; }
.bn-process-head { position: relative; display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.bn-process-head p { margin: 0; flex: 1 1 420px; max-width: 620px; font-size: 16px; line-height: 1.7; color: var(--mist); }
.bn-steps { position: relative; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.bn-step-list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.bn-step {
  all: unset;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s, color .3s;
}
.bn-step:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bn-step-n { font-size: 30px; font-weight: 300; letter-spacing: -.03em; color: var(--muted-2); }
.bn-step-title { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -.01em; }
.bn-step-track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(10, 20, 80, .08); }
.bn-step-bar { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: kr-fill 6.5s linear both; }
.bn-steps.is-paused .bn-step-bar { animation-play-state: paused; }
.bn-step[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.bn-step[aria-pressed="true"] .bn-step-n { color: var(--gold); }

.bn-step-panel {
  flex: 1.4 1 460px;
  min-width: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.bn-step-view { display: flex; flex-direction: column; gap: 22px; animation: kr-in .5s var(--ease) both; }
.bn-step-img { border-radius: 20px; overflow: hidden; aspect-ratio: 426 / 240; }
.bn-step-img img { width: 100%; height: 100%; object-fit: cover; }
.bn-step-text { display: flex; flex-direction: column; gap: 14px; padding: 0 8px 8px; }
.bn-step-heading { display: flex; align-items: baseline; gap: 16px; }
.bn-step-heading > span { font-size: 44px; font-weight: 300; color: var(--gold); letter-spacing: -.04em; line-height: 1; }
.bn-step-heading h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; }
.bn-step-text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--mist-2); }
.bn-step-ai {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  color: var(--mist-2);
}
.bn-step-ai span { padding: 3px 7px; border-radius: 6px; background: var(--gold); color: var(--navy); font-family: var(--mono); font-size: 10px; }

/* ---------- 05 Skopje ---------- */
.bn-skopje-wrap { max-width: var(--wrap); margin: 0 auto; padding: var(--section-y) var(--pad-x-tight) 0; }
.bn-skopje { min-height: 680px; }
.bn-skopje .photo-panel-shade { background: linear-gradient(90deg, rgba(7, 12, 51, .6), rgba(7, 12, 51, 0) 75%); }
.bn-skopje .glass-card { width: min(100%, 620px); background: rgba(10, 20, 80, .75); gap: 24px; }
.bn-skopje .glass-card .mono-label { color: var(--gold); }
.bn-skopje .glass-card h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.02; }
.bn-acc { display: flex; flex-direction: column; }
.bn-acc-item { border-bottom: 1px solid rgba(219, 168, 88, .45); }
.bn-acc-item button {
  all: unset;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--white);
  transition: color .25s;
}
.bn-acc-item button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bn-acc-item button > span:first-child { flex: 1 1 auto; min-width: 0; text-align: left; }
.bn-acc-plus {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform .3s;
}
.bn-acc-item p { margin: 0; padding: 0 4px 20px; font-size: 15px; line-height: 1.65; color: var(--mist-2); }
.bn-acc-item.is-open button { color: var(--gold); }
.bn-acc-item.is-open .bn-acc-plus { transform: rotate(45deg); }

/* ---------- 06 clients ---------- */
.clients.bn-clients { padding: clamp(88px, 11vw, 140px) 0 0; gap: 36px; }

@media (prefers-reduced-motion: reduce) {
  .bn-step, .bn-acc-item button, .bn-acc-plus { transition: none; }
  .bn-step-view { animation: none; }
}
