/* همکاری با ما: فرصت‌های شغلی، کارآموزی، ثبت ایده و طرح */
.j-main { padding-top: clamp(40px, 5vw, 70px); }

/* پیام نتیجهٔ ارسال */
.j-alert { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding: 1rem 1.3rem; border-radius: 18px; border: 1px solid; font-weight: 700; }
.j-alert__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; color: #fff; }
.fl .j-alert__ico svg { width: 22px; height: 22px; }
.j-alert--ok { background: #effaf3; border-color: #c7ebd4; color: #186a3b; }
.j-alert--ok .j-alert__ico { background: linear-gradient(140deg, #2bb673, #138a4b); box-shadow: 0 10px 20px -10px rgba(19, 138, 75, .8); }
.j-alert--err { background: #fff3f4; border-color: #f6d3d6; color: var(--red-d); }
.j-alert--err .j-alert__ico { background: var(--badge); box-shadow: 0 10px 20px -10px rgba(227, 36, 43, .8); }

/* سرتیتر بخش */
.j-head { max-width: 760px; }

/* مراحل */
.j-steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.j-steps li { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.3rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -44px rgba(22, 26, 44, .5); }
.j-steps b { display: block; color: var(--ink); font-size: 1rem; }
.j-steps p { margin-top: .2rem; font-size: .9rem; color: var(--muted); line-height: 1.8; }
.j-steps .f-ico { width: 46px; height: 46px; border-radius: 14px; }
.fl .j-steps .f-ico svg { width: 21px; height: 21px; }
.j-steps--v { grid-template-columns: 1fr; gap: 0; margin-top: 1.4rem; }
.j-steps--v li { padding: 0 0 1.3rem; border: 0; background: none; box-shadow: none; }
.j-steps--v li:last-child { padding-bottom: 0; }
.j-steps--v li:not(:last-child)::before { content: ''; position: absolute; right: 22px; top: 50px; bottom: 6px; border-right: 2px dashed #f2c4c7; }

/* کارت موقعیت‌های شغلی */
.j-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 3.2rem; }
.j-jobs > .j-alert { grid-column: 1 / -1; margin: 0; }
.j-job { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 1.8rem 1.7rem 1.5rem; border-radius: 22px; background: #fff; border: 1px solid rgba(235, 228, 231, .9); box-shadow: 0 24px 50px -40px rgba(22, 26, 44, .5); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.j-job::before { content: ''; position: absolute; top: 0; right: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--rose), var(--red) 60%, var(--red-2)); transition: width .6s var(--ease); }
.j-job::after { content: ''; position: absolute; left: -24px; top: -24px; width: 130px; height: 130px; background: var(--dots); -webkit-mask: radial-gradient(circle, #000, transparent 70%); mask: radial-gradient(circle, #000, transparent 70%); pointer-events: none; }
.j-job:hover { transform: translateY(-6px); border-color: rgba(227, 36, 43, .2); box-shadow: 0 36px 70px -40px rgba(227, 36, 43, .45); }
.j-job:hover::before { width: 100%; }
.j-job__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; background: var(--badge); box-shadow: 0 12px 24px -10px rgba(227, 36, 43, .7); transition: transform .45s var(--ease); }
.fl .j-job__ico svg { width: 24px; height: 24px; }
.j-job:hover .j-job__ico { transform: rotate(-8deg) scale(1.06); }
.j-job h3 { margin-top: 1.1rem; font-size: 1.15rem; font-weight: 800; color: var(--ink); line-height: 1.6; }
.j-job__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.j-job__meta span { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .75rem; border-radius: 999px; background: #fde8e9; color: var(--red-d); font-size: .8rem; font-weight: 700; }
.fl .j-job__meta svg { width: 14px; height: 14px; }
.j-job p { margin-top: .8rem; font-size: .92rem; color: var(--muted); line-height: 1.9; }
.j-job__more { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--red-d); font-size: .9rem; font-weight: 700; }
.j-job p + .j-job__more { margin-top: 1.3rem; }
.j-job__more b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fde8e9; color: var(--red); transition: background .3s, color .3s, transform .3s var(--ease); }
.fl .j-job__more b svg { width: 18px; height: 18px; }
.j-job:hover .j-job__more b { background: var(--red); color: #fff; transform: translateX(-4px); }

/* چیدمان فرم + ستون کناری */
.j-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px; align-items: start; }
.j-side { position: sticky; top: 110px; display: grid; gap: 22px; }
.j-info, .j-pos, .j-contact { position: relative; overflow: hidden; padding: 1.8rem 1.7rem; border-radius: 24px; background: #fff; border: 1px solid rgba(235, 228, 231, .9); box-shadow: 0 30px 60px -46px rgba(22, 26, 44, .5); }
.j-info::before, .j-pos::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--rose), var(--red), var(--red-2)); }
.j-info::after, .j-pos::after { content: ''; position: absolute; left: -26px; top: -26px; width: 140px; height: 140px; background: var(--dots); -webkit-mask: radial-gradient(circle, #000, transparent 70%); mask: radial-gradient(circle, #000, transparent 70%); pointer-events: none; }
.j-info > h3 { margin-top: 1rem; font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.6; }
.j-info > p { margin-top: .4rem; font-size: .93rem; color: var(--ink-2); }
.j-info h4, .j-pos h4 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 800; color: var(--ink); margin: 0; }
.fl .j-info h4 svg, .fl .j-pos h4 svg { color: var(--red); width: 20px; height: 20px; }
.j-cats ul { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.j-cats li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .85rem; border-radius: 999px; background: #fff5f6; border: 1px solid #f6dfe2; color: var(--ink-2); font-size: .84rem; font-weight: 600; }
.fl .j-cats li svg { width: 16px; height: 16px; color: var(--red); }

/* کادر تماس قرمز */
.j-contact { display: grid; gap: .5rem; color: #fff; border: 0; background: radial-gradient(rgba(255, 255, 255, .15) 1.2px, transparent 1.6px) 0 0 / 16px 16px, linear-gradient(135deg, var(--red-2), var(--red) 45%, var(--red-d)); box-shadow: 0 30px 60px -40px rgba(179, 20, 27, .8); }
.j-contact b { font-size: 1.05rem; }
.j-contact a { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; padding: .35rem .9rem .35rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: .92rem; transition: background .25s; }
.j-contact a:hover { background: rgba(255, 255, 255, .25); }
.fl .j-contact svg { width: 17px; height: 17px; }

/* موقعیت انتخاب‌شده */
.j-pos__top { display: flex; gap: 1rem; align-items: center; }
.j-pos__top small { display: block; color: var(--red-d); font-weight: 700; font-size: .82rem; }
.j-pos__top h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.5; }
.j-pos__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.4rem 0 0; }
.j-pos__facts div { padding: .7rem .9rem; border-radius: 14px; background: #fff5f6; border: 1px solid #f6dfe2; }
.j-pos__facts dt { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); }
.fl .j-pos__facts dt svg { width: 15px; height: 15px; color: var(--red); }
.j-pos__facts dd { margin: .15rem 0 0; font-weight: 800; color: var(--ink); font-size: .95rem; }
.j-pos__block { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.j-pos__block p { margin-top: .5rem; font-size: .93rem; color: var(--ink-2); }
.j-checks { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .45rem; }
.j-checks li { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; color: var(--ink-2); line-height: 1.8; }
.fl .j-checks svg { flex: none; width: 19px; height: 19px; margin-top: .25rem; padding: 3px; border-radius: 50%; color: var(--red); background: #fde8e9; stroke-width: 2.6; }
.j-back { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.4rem; color: var(--red-d); font-weight: 700; font-size: .9rem; }
.j-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.fl .j-back svg { width: 18px; height: 18px; }

/* فرم */
.j-form { box-shadow: 0 40px 80px -56px rgba(22, 26, 44, .55); border: 1px solid rgba(235, 228, 231, .9); }
.j-form__head { text-align: center; margin-bottom: 1.2rem; }
.j-form__head h3 { margin-bottom: .2rem; }
.j-form__head p { font-size: .88rem; color: var(--muted); }
.j-form__head p i, .j-form .f-field label i { color: var(--red); font-style: normal; font-weight: 800; }
.j-group { position: relative; margin: 0 0 1.4rem; padding: 1.4rem 1.4rem .4rem; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #fffafb, #fff 60%); min-width: 0; }
.j-group legend { display: inline-flex; align-items: center; gap: .6rem; padding: 0 .6rem; font-weight: 800; color: var(--ink); font-size: 1rem; }
.j-group__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #fff; background: var(--badge); box-shadow: 0 10px 20px -10px rgba(227, 36, 43, .8); }
.fl .j-group__ico svg { width: 18px; height: 18px; }
.j-row-wide { grid-template-columns: 1.6fr 1fr; }
.j-form .f-field textarea { resize: vertical; min-height: 110px; }
.j-form .f-field input[dir=ltr] { text-align: right; }
.j-form .f-field input[dir=ltr]:placeholder-shown { text-align: right; }
.j-form .f-btn { min-width: 260px; min-height: 52px; font-size: 1rem; }
.j-form .is-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 4px rgba(227, 36, 43, .12); background: #fff6f6; }

/* بارگذاری فایل */
.j-drop { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: 16px; border: 2px dashed #efc2c5; background: radial-gradient(rgba(227, 36, 43, .08) 1.2px, transparent 1.6px) 0 0 / 14px 14px, #fffafb; transition: border-color .25s, background-color .25s, box-shadow .25s; cursor: pointer; }
.j-drop:hover, .j-drop.is-over { border-color: var(--red); background-color: #fff2f3; }
.j-drop:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 36, 43, .12); }
.j-drop.has-file { border-style: solid; border-color: #9fd9b8; background-color: #f2fbf6; }
.j-drop input[type=file] { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; opacity: 0; cursor: pointer; }
.j-drop__ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: var(--badge); box-shadow: 0 12px 24px -10px rgba(227, 36, 43, .7); transition: transform .35s var(--ease); }
.j-drop:hover .j-drop__ico { transform: translateY(-3px); }
.j-drop.has-file .j-drop__ico { background: linear-gradient(140deg, #2bb673, #138a4b); box-shadow: 0 12px 24px -10px rgba(19, 138, 75, .7); }
.fl .j-drop__ico svg { width: 24px; height: 24px; }
.j-drop__txt { display: grid; gap: .1rem; min-width: 0; }
.j-drop__txt b { color: var(--ink); font-size: .95rem; }
.j-drop__txt small { color: var(--muted); font-size: .82rem; }
.j-file { margin-top: .5rem; font-size: .88rem; font-weight: 600; color: #138a4b; overflow-wrap: anywhere; }
.j-file:empty { display: none; }

@media (max-width: 1100px) {
    .j-layout { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
}
@media (max-width: 960px) {
    .j-layout { grid-template-columns: 1fr; }
    .j-side { position: static; }
    .j-side--after { order: 2; }
    .j-steps { grid-template-columns: 1fr; }
    .j-steps--v li { padding-bottom: 1.1rem; }
}
@media (max-width: 600px) {
    .j-group { padding: 1.1rem .9rem .2rem; }
    .j-row-wide { grid-template-columns: 1fr; }
    .j-jobs { grid-template-columns: 1fr; }
    .j-form .f-btn { min-width: 0; width: 100%; }
    .j-info, .j-pos, .j-contact { padding: 1.5rem 1.2rem; }
}
