/* ===== Digisolvers — Career pages (site.css ke tokens use karta hai) ===== */

/* perks */
.perks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 44px 0 70px; }
.perks div { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--glass); }
.perks strong { font: 400 1.6rem/1 var(--d); text-transform: uppercase; letter-spacing: .01em; }
.perks span { color: var(--muted); font-size: .98rem; }

/* job list */
.jobs-sec h2, .apply-card h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 24px; }
.job-list { display: grid; gap: 12px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--glass); text-decoration: none; color: var(--ink); transition: border-color .3s, transform .45s var(--ease), background .3s; }
.job-card:hover { border-color: var(--hot); transform: translateY(-3px); background: var(--card); }
.jc-main { display: grid; gap: 8px; min-width: 0; }
.jc-main h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.jc-main p { margin: 0; color: var(--muted); font-size: .98rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags span { font-size: .82rem; font-weight: 500; padding: .3em .85em; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }
.jc-go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 0 3px; color: var(--g); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100%/0 1.5px no-repeat; transition: color .3s, background-size .4s var(--ease); }
.jc-go .mi { display: inline-block; transition: transform .35s var(--ease); }
.job-card:hover .jc-go { color: var(--hot); background-size: 100% 1.5px; }
.job-card:hover .jc-go .mi { transform: translateX(6px); }
@media (max-width: 640px) {
  .job-card { flex-direction: column; align-items: flex-start; padding: 20px; }
}

/* job page hero */
.job-hero { position: relative; overflow: hidden; display: grid; gap: 18px; justify-items: start; padding: clamp(28px, 5vw, 56px); margin-bottom: 44px; border-radius: 28px; color: #F3F1EC; background: linear-gradient(135deg, #0B4436, #071f19); }
.job-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(243,241,236,.07) 1px, transparent 1px) 0 0/40px 40px, linear-gradient(90deg, rgba(243,241,236,.07) 1px, transparent 1px) 0 0/40px 40px; }
.job-hero > * { position: relative; }
.job-hero .crumbs { margin: 0; color: rgba(243,241,236,.7); }
.job-hero h1 { font-size: clamp(3rem, 8vw, 6rem); }
.job-hero .job-tags span { color: #F3F1EC; border-color: rgba(243,241,236,.45); }
.job-tags-lg span { font-size: .9rem; }
.job-lead { margin: 0; max-width: 56ch; font-size: 1.12rem; opacity: .9; }
.job-hero .btn { background: #F3F1EC; color: #0B4436; }
.job-hero .btn:hover { background: #fff; box-shadow: 0 12px 26px -12px rgba(0,0,0,.6); }
.job-close { margin: -6px 0 0; font-size: .9rem; opacity: .75; }
.job-closed { margin: 0; padding: 10px 16px; border-radius: 14px; background: rgba(230,78,51,.2); font-weight: 500; }

/* apply card + form */
.apply-card { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); margin: 70px auto 0; max-width: 980px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 28px; background: var(--glass); scroll-margin-top: 100px; }
@media (min-width: 900px) { .apply-card { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.apply-card h2 { margin-bottom: 12px; }
.ac-intro p { margin: 0; color: var(--muted); }
.apply-form { display: grid; gap: 16px; }
.af-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .af-2 { grid-template-columns: 1fr 1fr; } }
.af-field { display: grid; gap: 7px; font-size: .92rem; font-weight: 500; }
.af-field em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 6px; }
.af-field input, .af-field textarea { width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .8em 1em; transition: border-color .25s, box-shadow .25s; }
.af-field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.af-field input:focus, .af-field textarea:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g) 22%, transparent); }
.af-file { position: relative; display: block; cursor: pointer; }
.af-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.af-file-ui { display: flex; align-items: center; gap: 14px; padding: .7em .8em; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--card); transition: border-color .25s; }
.af-file:hover .af-file-ui, .af-file input:focus-visible + .af-file-ui { border-color: var(--g); }
.af-file-ui b { padding: .45em 1em; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: .88rem; font-weight: 600; }
.af-file-name { color: var(--muted); font-weight: 400; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-err { margin: 0; color: var(--hot); font-weight: 500; font-size: .95rem; min-height: 0; }
.af-err:empty { display: none; }
.af-btn { justify-self: start; }
.af-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.af-done { padding: 28px; border-radius: 22px; background: color-mix(in srgb, var(--g) 12%, transparent); border: 1px solid color-mix(in srgb, var(--g) 40%, transparent); }
.af-done h3 { font-size: 2.2rem; color: var(--g); margin-bottom: 8px; }
.af-done p { margin: 0; color: var(--muted); }
