/* ==========================================================================
   Careers page ("דרושים") — page-careers.php
   Brand language: the logo's isometric cube (blue / green / copper), cube-face
   accents on cards, navy surfaces, Ploni. Loaded only on /careers/.
   ========================================================================== */

.kleyman-page-careers {
	--kc-blue: #3E57B1;
	--kc-blue-2: #416FC5;
	--kc-green: #209E4A;
	--kc-green-2: #42A147;
	--kc-copper: #9C603B;
	--kc-copper-2: #CE835B;
	--kc-navy: #0C163A;
	--kc-soft: #F5F6FA;
	color: var(--kleyman-text);
}

/* cube mark */
.kc-cube { width: 16px; height: auto; flex: none; }
.kc-cube .t { fill: #6A86D9; } .kc-cube .l { fill: var(--kc-blue); } .kc-cube .r { fill: #2C3F86; }
.kc-c-green .kc-cube .t { fill: #5CC77A; } .kc-c-green .kc-cube .l { fill: var(--kc-green); } .kc-c-green .kc-cube .r { fill: #16783A; }
.kc-c-copper .kc-cube .t { fill: #E19B74; } .kc-c-copper .kc-cube .l { fill: var(--kc-copper); } .kc-c-copper .kc-cube .r { fill: #7A4A2D; }

.kc-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--kc-green); letter-spacing: .02em; margin-bottom: 14px; }
.kc-eyebrow--light { color: #5CC77A; }
.kc-title { font-size: clamp(32px, 4vw, 54px); font-weight: 300; line-height: 1.1; color: var(--kc-navy); }
.kc-title span, .kc-accent { font-weight: 800; color: var(--kc-green); }
.kc-title--light { color: #fff; }
.kc-title--light span { color: #5CC77A; }
.kc-lede { margin-top: 16px; font-size: 18px; line-height: 1.7; color: var(--kleyman-text-muted); max-width: 62ch; }
.kc-head { margin-bottom: 44px; }

/* ---------- hero ---------- */
/* The picture sits fully below the floating header (never under it), at the
   start (left) side, on a gradient that continues the picture's own. */
.kc-hero { position: relative; overflow: hidden; color: #fff; min-height: min(80vh, 760px); display: flex; align-items: center; padding-block: 150px 70px; isolation: isolate; background: linear-gradient(225deg, #3E57B1 0%, #2C3F86 45%, #0C163A 100%); }
.kc-hero__media { position: absolute; left: 0; bottom: 0; top: 112px; z-index: -1; width: auto; aspect-ratio: 1920 / 1080; max-width: 100%; }
.kc-hero__media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left bottom; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 70%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%); mask-composite: intersect; }
.kc-hero__inner { width: 100%; position: relative; }
.kc-hero__txt { max-width: 640px; }
.kc-hero__title { font-size: clamp(40px, 5.4vw, 78px); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; }
.kc-hero__title span { font-weight: 800; color: #5CC77A; }
.kc-hero__sub { margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; color: rgba(255,255,255,.86); max-width: 54ch; }
.kc-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.kc-hero__cta .kleyman-btn { padding: 15px 30px; font-size: 16px; }
.kc-btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.6); background: rgba(12,22,58,.25); }
.kc-btn-ghost:hover { background: #fff; color: var(--kc-navy); }
.kc-hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.kc-hero__facts li { display: flex; flex-direction: column; gap: 4px; padding-inline: 26px; border-inline-start: 1px solid rgba(255,255,255,.22); }
.kc-hero__facts li:first-child { padding-inline-start: 0; border: 0; }
.kc-hero__facts b { font-size: 30px; font-weight: 800; line-height: 1; }
.kc-hero__facts li:nth-child(1) b { color: #8EA4EA; } .kc-hero__facts li:nth-child(2) b { color: #5CC77A; } .kc-hero__facts li:nth-child(3) b { color: var(--kc-copper-2); }
.kc-hero__facts span { font-size: 14px; color: rgba(255,255,255,.72); }

/* ---------- why ---------- */
.kc-why { padding-block: 100px 40px; background: #fff; }
.kc-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kc-why__card { position: relative; background: #fff; border-radius: 18px; padding: 32px 28px 30px; box-shadow: 0 20px 50px rgba(12,22,58,.09); border-top: 4px solid var(--kc-blue); display: flex; flex-direction: column; gap: 10px; }
.kc-why__card.kc-c-green { border-top-color: var(--kc-green); }
.kc-why__card.kc-c-copper { border-top-color: var(--kc-copper-2); }
.kc-why__card .kc-cube { position: absolute; top: 28px; left: 26px; width: 26px; }
.kc-why__n { font-size: 30px; font-weight: 800; color: var(--kc-blue); line-height: 1; }
.kc-c-green .kc-why__n { color: var(--kc-green); } .kc-c-copper .kc-why__n { color: var(--kc-copper); }
.kc-why__card h3 { font-size: 22px; font-weight: 800; color: var(--kc-navy); margin-top: 8px; }
.kc-why__card p { font-size: 16px; line-height: 1.65; color: var(--kleyman-text-muted); }

/* ---------- jobs ---------- */
.kc-jobs { padding-block: 80px 100px; background: #fff; position: relative; }
.kc-jobs__list { display: flex; flex-direction: column; gap: 16px; }
.kc-job { position: relative; background: var(--kc-soft); border-radius: 18px; overflow: hidden; transition: box-shadow .3s var(--kleyman-ease), background .3s; }
.kc-job[open], .kc-job:hover { background: #fff; box-shadow: 0 22px 60px rgba(12,22,58,.12); }
.kc-job summary { list-style: none; display: flex; align-items: center; gap: 24px; padding: 26px 30px; cursor: pointer; }
.kc-job summary::-webkit-details-marker { display: none; }
.kc-job__face { flex: none; width: 54px; height: 62px; background: var(--kc-blue); clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 82%); }
.kc-c-green .kc-job__face { background: var(--kc-green); } .kc-c-copper .kc-job__face { background: var(--kc-copper); }
.kc-job__main { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kc-job__title { font-size: clamp(21px, 2vw, 28px); font-weight: 800; color: var(--kc-navy); line-height: 1.2; }
.kc-job__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-job__meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--kleyman-text-muted); background: #fff; border: 1px solid var(--kleyman-border); border-radius: 999px; padding: 5px 13px; }
.kc-job__meta span::before { content: ''; width: 7px; height: 8px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--kc-blue); }
.kc-job__meta span:nth-child(2)::before { background: var(--kc-green); } .kc-job__meta span:nth-child(3)::before { background: var(--kc-copper-2); }
.kc-job__toggle { flex: none; position: relative; width: 44px; height: 50px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--kc-navy); transition: background .3s; }
.kc-job__toggle::before, .kc-job__toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: #fff; transform: translate(-50%, -50%); transition: transform .3s var(--kleyman-ease); }
.kc-job__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.kc-job[open] .kc-job__toggle { background: var(--kc-green); }
.kc-job[open] .kc-job__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.kc-job__body { padding: 0 30px 32px 30px; padding-inline-start: 108px; }
.kc-job__summary { font-size: 18px; line-height: 1.7; color: var(--kleyman-text); max-width: 72ch; }
.kc-job__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 24px; }
.kc-job__cols h4 { font-size: 16px; font-weight: 800; color: var(--kc-navy); margin-bottom: 12px; }
.kc-job__cols h4.kc-job__adv { margin-top: 20px; }
.kc-job__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.kc-job__cols li { position: relative; padding-inline-start: 22px; font-size: 16px; line-height: 1.55; color: var(--kleyman-text-muted); }
.kc-job__cols li::before { content: ''; position: absolute; inset-inline-start: 0; top: .45em; width: 9px; height: 10px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--kc-blue); }
.kc-c-green .kc-job__cols li::before { background: var(--kc-green); } .kc-c-copper .kc-job__cols li::before { background: var(--kc-copper-2); }
.kc-job__apply { margin-top: 28px; padding: 14px 28px; }
.kc-job--general { background: var(--kc-navy); color: #fff; }
.kc-job--general:hover { background: var(--kc-navy); }
.kc-job__general { display: flex; align-items: center; gap: 24px; padding: 28px 30px; }
.kc-job__general .kc-cube { width: 46px; }
.kc-job__general > div { flex: 1; }
.kc-job--general .kc-job__title { color: #fff; }
.kc-job__general p { margin-top: 6px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.78); }
.kc-btn-outline { color: #fff; border: 1.5px solid rgba(255,255,255,.65); white-space: nowrap; padding: 13px 26px; }
.kc-btn-outline:hover { background: #fff; color: var(--kc-navy); }

/* ---------- apply ---------- */
.kc-apply { position: relative; padding-block: 100px; margin-bottom: clamp(64px, 8vw, 120px); background: var(--kc-navy); overflow: hidden; isolation: isolate; }
.kc-apply::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/kleyman-pattern-navy.svg') center / 320px auto repeat; opacity: .06; }
.kc-apply__grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.kc-apply__side { color: #fff; position: sticky; top: 120px; }
.kc-steps { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.kc-steps li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.kc-steps b { flex: none; display: grid; place-items: center; width: 44px; height: 50px; font-size: 16px; font-weight: 800; color: #fff; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--kc-blue); }
.kc-steps li:nth-child(2) b { background: var(--kc-green); } .kc-steps li:nth-child(3) b { background: var(--kc-copper); } .kc-steps li:nth-child(4) b { background: var(--kc-blue-2); }
.kc-steps span { font-size: 17px; color: rgba(255,255,255,.88); line-height: 1.45; }
.kc-apply__note { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.6); }
.kc-form-card { background: #fff; border-radius: 26px; padding: 44px; box-shadow: 0 40px 90px rgba(0,0,0,.25); }
.kc-form .kleyman-form-row { margin-bottom: 16px; }
.kc-form .kleyman-btn--primary-green { width: 100%; justify-content: center; padding-block: 17px; font-size: 17px; }
.kc-consent-field { margin-bottom: 4px; }

/* file drop zone */
.kc-file { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 22px; border: 2px dashed #C9D0E2; border-radius: 16px; background: var(--kc-soft); cursor: pointer; transition: border-color .25s, background .25s; font-weight: 400 !important; }
.kc-file:hover, .kc-file.is-drag { border-color: var(--kc-blue); background: #EEF2FC; }
.kc-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.kc-file__icon { flex: none; display: grid; place-items: center; width: 52px; height: 60px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--kc-blue); color: #fff; }
.kc-file__icon svg { width: 24px; height: 24px; }
.kc-file__txt { display: flex; flex-direction: column; gap: 3px; font-size: 16px; color: var(--kc-navy); }
.kc-file__txt small { font-size: 13px; color: var(--kleyman-text-muted); }
.kc-file__name { margin-inline-start: auto; font-size: 14px; font-weight: 700; color: var(--kc-green); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; }
.kc-file.has-file { border-style: solid; border-color: var(--kc-green); background: rgba(32,158,74,.06); }
.kc-file.has-file .kc-file__icon { background: var(--kc-green); }
.kleyman-form-field--error .kc-file { border-color: #D33; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.kc-why__grid { grid-template-columns: 1fr 1fr; }
	.kc-apply__grid { grid-template-columns: 1fr; gap: 36px; }
	.kc-apply__side { position: static; }
}
@media (max-width: 760px) {
	.kc-hero { padding-block: 0 52px; min-height: 0; flex-direction: column; align-items: stretch; }
	.kc-hero__media { position: relative; top: auto; width: 100%; aspect-ratio: auto; margin-top: 76px; }
	.kc-hero__media img { height: auto; max-height: 340px; object-fit: contain; object-position: center; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 18%); mask-image: linear-gradient(0deg, transparent 0, #000 18%); }
			.kleyman-page-careers .kleyman-hero-crumbs { display: none; }
	.kc-hero__facts li { padding-inline: 16px; }
	.kc-hero__facts b { font-size: 24px; }
	.kc-why { padding-block: 64px 24px; }
	.kc-why__grid { grid-template-columns: 1fr; }
	.kc-jobs { padding-block: 56px 70px; }
	.kc-job summary { padding: 20px 18px; gap: 14px; }
	.kc-job__face { width: 34px; height: 42px; }
	.kc-job__toggle { width: 36px; height: 42px; }
	.kc-job__body { padding: 0 18px 24px; }
	.kc-job__cols { grid-template-columns: 1fr; gap: 20px; }
	.kc-job__general { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
	.kc-apply { padding-block: 64px; }
	.kc-form-card { padding: 26px 18px; border-radius: 20px; }
	.kc-form .kleyman-form-row { grid-template-columns: 1fr; }
	.kc-file { flex-wrap: wrap; }
	.kc-file__name { max-width: 100%; margin-inline-start: 0; }
}
