/* درخواست همکاری — پارادوکس */

.px-careers {
	--pxc-bg: #efe9df;
	--pxc-panel: rgba(255, 252, 247, 0.92);
	--pxc-ink: var(--px-ink, #151b14);
	--pxc-muted: var(--px-muted, #4f584d);
	--pxc-olive: var(--px-olive, #2c362a);
	--pxc-gold: var(--px-gold, #a89272);
	--pxc-line: var(--px-line, rgba(28, 36, 28, 0.18));
	--pxc-radius: 18px;
	color: var(--pxc-ink);
	background:
		radial-gradient(1200px 480px at 90% -10%, rgba(168, 146, 114, 0.22), transparent 60%),
		radial-gradient(900px 420px at -10% 20%, rgba(70, 85, 68, 0.14), transparent 55%),
		var(--px-cream, #ddd5c8);
	padding-bottom: 4rem;
}

.px-careers__hero {
	padding: 2.5rem 0 1.75rem;
	border-bottom: 1px solid var(--pxc-line);
	background:
		linear-gradient(180deg, rgba(28, 36, 28, 0.06), transparent 70%);
}

.px-careers__hero-inner {
	text-align: center;
}

.px-careers__kicker {
	margin: 0 0 0.4rem;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	color: var(--pxc-gold);
	font-weight: 600;
}

.px-careers__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.55rem, 3.4vw, 2.35rem);
	line-height: 1.35;
	color: var(--pxc-olive);
	font-weight: 800;
}

.px-careers__lead {
	margin: 0 auto;
	max-width: 46rem;
	color: var(--pxc-muted);
	font-size: 0.98rem;
	line-height: 1.85;
	text-align: center;
}

.px-careers__body {
	padding-top: 1.5rem;
	display: grid;
	gap: 1.25rem;
}

.px-careers__toc {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0.35rem 0.15rem 0.65rem;
	scrollbar-width: thin;
	position: sticky;
	top: calc(var(--px-header-h, 76px) + 4px);
	z-index: 20;
	background: linear-gradient(180deg, var(--px-cream, #ddd5c8) 70%, transparent);
}

.px-careers__toc a {
	flex: 0 0 auto;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: var(--pxc-olive);
	color: var(--px-white, #efe9df);
	font-size: 0.82rem;
	white-space: nowrap;
	opacity: 0.92;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.px-careers__toc a:hover,
.px-careers__toc a:focus-visible {
	opacity: 1;
	transform: translateY(-1px);
}

.px-careers__form {
	display: grid;
	gap: 1.15rem;
}

.px-careers__section {
	background: var(--pxc-panel);
	border: 1px solid var(--pxc-line);
	border-radius: var(--pxc-radius);
	padding: 1.25rem 1.15rem 1.4rem;
	box-shadow: 0 10px 28px rgba(20, 28, 20, 0.06);
	scroll-margin-top: calc(var(--px-header-h, 76px) + 64px);
}

.px-careers__section-head {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	margin-bottom: 1.1rem;
}

.px-careers__step {
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--pxc-olive);
	color: var(--px-white, #efe9df);
	font-weight: 700;
	font-size: 0.9rem;
}

.px-careers__section-head h2 {
	margin: 0 0 0.2rem;
	font-size: 1.12rem;
	color: var(--pxc-olive);
}

.px-careers__section-head p {
	margin: 0;
	color: var(--pxc-muted);
	font-size: 0.88rem;
}

.px-careers__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem 1rem;
}

@media (min-width: 720px) {
	.px-careers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.px-field--full {
		grid-column: 1 / -1;
	}
}

.px-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.px-field label,
.px-field legend,
.px-repeat__label,
.px-commit {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--pxc-olive);
}

.px-optional {
	font-weight: 500;
	color: var(--pxc-muted);
}

.px-field input[type="text"],
.px-field input[type="tel"],
.px-field input[type="email"],
.px-field input[type="file"],
.px-field textarea,
.px-captcha input,
.px-repeat__row input {
	width: 100%;
	border: 1px solid var(--pxc-line);
	border-radius: 12px;
	background: #fffcf7;
	color: var(--pxc-ink);
	padding: 0.7rem 0.85rem;
	font: inherit;
	font-size: 0.95rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.px-field textarea {
	resize: vertical;
	min-height: 5.5rem;
	line-height: 1.7;
}

.px-field input:focus,
.px-field textarea:focus,
.px-captcha input:focus,
.px-repeat__row input:focus {
	outline: none;
	border-color: var(--pxc-gold);
	box-shadow: 0 0 0 3px rgba(168, 146, 114, 0.22);
}

.px-field.is-invalid input,
.px-field.is-invalid textarea,
.px-choice.is-invalid,
.px-captcha.is-invalid input,
.px-commit.is-invalid {
	border-color: #b42318;
}

.px-field__hint {
	margin: 0;
	font-size: 0.8rem;
	color: #9b1c1c;
	font-weight: 500;
}

.px-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.px-choice--wrap {
	margin-top: 0.25rem;
}

.px-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.8rem;
	border-radius: 999px;
	border: 1px solid var(--pxc-line);
	background: #fffcf7;
	font-size: 0.86rem;
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.px-chip--sm {
	padding: 0.45rem 0.7rem;
	font-size: 0.8rem;
	border-radius: 12px;
}

.px-chip:has(input:checked) {
	background: rgba(44, 54, 42, 0.1);
	border-color: var(--pxc-olive);
}

.px-chip input {
	accent-color: var(--pxc-olive);
}

.px-repeat {
	margin-bottom: 1.1rem;
}

.px-repeat__rows {
	display: grid;
	gap: 0.65rem;
}

.px-repeat__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.45rem;
	padding: 0.75rem;
	border: 1px dashed var(--pxc-line);
	border-radius: 14px;
	background: rgba(255, 252, 247, 0.55);
}

@media (min-width: 860px) {
	.px-repeat__row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.px-repeat__add {
	margin-top: 0.55rem;
	border: 0;
	background: transparent;
	color: var(--pxc-olive);
	font: inherit;
	font-weight: 700;
	font-size: 0.88rem;
	cursor: pointer;
	padding: 0.35rem 0;
}

.px-repeat__add:hover {
	color: var(--pxc-gold);
}

.px-avail {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1rem;
	border: 1px solid var(--pxc-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fffcf7;
}

.px-avail__head,
.px-avail__row {
	display: grid;
	grid-template-columns: minmax(4.5rem, 1.2fr) repeat(3, 1fr);
	align-items: center;
	gap: 0.25rem;
	padding: 0.55rem 0.7rem;
}

.px-avail__head {
	background: rgba(44, 54, 42, 0.08);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--pxc-olive);
}

.px-avail__row:nth-child(even) {
	background: rgba(221, 213, 200, 0.35);
}

.px-avail__day {
	font-size: 0.88rem;
	font-weight: 600;
}

.px-avail__cell {
	display: grid;
	place-items: center;
	min-height: 2rem;
}

.px-avail__cell input {
	width: 1.15rem;
	height: 1.15rem;
	accent-color: var(--pxc-olive);
}

.px-commit {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	padding: 0.9rem 1rem;
	border: 1px solid var(--pxc-line);
	border-radius: 14px;
	background: rgba(168, 146, 114, 0.1);
	line-height: 1.75;
	font-weight: 500;
	margin: 0.5rem 0 0.85rem;
}

.px-commit input {
	margin-top: 0.3rem;
	accent-color: var(--pxc-olive);
	flex: 0 0 auto;
}

.px-captcha {
	display: grid;
	gap: 0.4rem;
	margin: 0.75rem 0 1.1rem;
	max-width: 28rem;
}

.px-captcha__row {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.px-captcha__q {
	margin: 0;
	flex: 1;
	padding: 0.65rem 0.85rem;
	border-radius: 12px;
	background: rgba(44, 54, 42, 0.08);
	font-weight: 600;
	color: var(--pxc-olive);
}

.px-captcha__refresh {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	border: 1px solid var(--pxc-line);
	background: #fffcf7;
	font-size: 1.15rem;
	cursor: pointer;
	color: var(--pxc-olive);
}

.px-careers__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 22rem;
	min-height: 3.1rem;
	padding: 0.85rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--pxc-olive);
	color: var(--px-white, #efe9df);
	font: inherit;
	font-weight: 800;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.px-careers__submit:hover:not(:disabled) {
	background: var(--px-olive-deep, #1c241c);
	transform: translateY(-1px);
}

.px-careers__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.px-careers__note {
	margin: 0.85rem 0 0;
	font-size: 0.84rem;
	color: var(--pxc-muted);
}

.px-careers__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 640px) {
	.px-careers__hero {
		padding: 1.75rem 0 1.25rem;
	}

	.px-careers__section {
		padding: 1.05rem 0.9rem 1.2rem;
		border-radius: 14px;
	}

	.px-careers__toc {
		top: calc(var(--px-header-h, 66px) + 2px);
	}

	.px-avail__head span:first-child,
	.px-avail__day {
		font-size: 0.8rem;
	}
}
