/* Mars Placement & HR Solutions — v2 design
   Layout: corporate navy hero + clean white/cool-grey bands; orange from the logo used only for actions. */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --blue: #1D4E89;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --accent-soft: #FFF1E8;
  --ink: #142033;
  --muted: #536175;
  --line: #DCE3EC;
  --bg: #FFFFFF;
  --bg-alt: #F3F6FA;
  --white: #FFFFFF;
  --display: "Lexend", "Segoe UI", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { display: inline-block; font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section { padding-block: 88px; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: .85em 1.5em; border-radius: 8px; font: 600 1rem var(--display); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #F59E0B; outline-offset: 2px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #C9D6E8; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav > a.active, .nav > a:not(.btn):hover { color: var(--navy); border-bottom-color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--navy); margin: 6px 0; border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #D7E2F0; padding-block: 76px 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #FDBA74; }
.hero p.lead { color: #C9D6E8; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 16px; width: 100%; aspect-ratio: 16/11; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.hero-badge { position: absolute; left: -22px; bottom: -22px; background: var(--white); color: var(--ink); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 290px; }
.hero-badge strong { font-family: var(--display); color: var(--navy); font-size: 1.5rem; line-height: 1; }
.hero-badge span { font-size: .9rem; color: var(--muted); line-height: 1.3; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-size: 1.6rem; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: .9rem; }
.page-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #C9D6E8; padding-block: 64px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero .eyebrow { color: #FDBA74; }
.page-hero p { max-width: 64ch; font-size: 1.12rem; }
.crumbs { font-size: .88rem; margin-bottom: 14px; }
.crumbs a { color: #FDBA74; text-decoration: none; }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.path-card { padding: 36px; display: flex; flex-direction: column; }
.path-card.employer { border-top: 4px solid var(--navy); }
.path-card.seeker { border-top: 4px solid var(--accent); }
.path-card ul { margin: 0 0 24px; }
.path-card .btn { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span { font-size: .84rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--navy-2); }
.sector-card h3 { display: flex; align-items: center; gap: 10px; }
.text-link { font-weight: 600; text-decoration: none; color: var(--accent); }
.text-link:hover { text-decoration: underline; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--accent); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split.top { align-items: start; }
.split-media img { border-radius: 16px; width: 100%; }
.media-frame { background: var(--bg-alt); border-radius: 16px; padding: 24px; }

/* Stats band */
.stats-band { background: var(--navy); color: #C9D6E8; padding-block: 56px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats strong { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .95rem; }

/* Quote */
.quote-card { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 36px; }
.quote-card img { border-radius: 12px; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.quote-card blockquote { margin: 0 0 18px; font-family: var(--display); font-size: 1.22rem; line-height: 1.55; color: var(--navy); font-weight: 400; }
.quote-card .who strong { display: block; color: var(--ink); }
.quote-card .who span { color: var(--muted); font-size: .95rem; }
.quote-card + .quote-card { margin-top: 28px; }
.quote-card.photo-right { grid-template-columns: 1fr 240px; }
.quote-card.photo-right img { order: 2; }
.quote-card .bio { margin: 14px 0 0; color: var(--muted); font-size: .97rem; line-height: 1.6; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; color: var(--navy); padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Notice */
.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--accent-soft); border: 1px solid #FCD9C2; border-radius: 12px; padding: 20px 24px; }
.notice svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--accent); }
.notice p { margin: 0; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--white); padding-block: 48px; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { margin: 6px 0 0; color: #FFE4D2; }
.cta-band .btn-navy { background: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-list { display: grid; gap: 18px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.contact-item .icon svg { width: 20px; height: 20px; }
.contact-item .label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-item a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-item a:hover { color: var(--accent); }
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.lead-form h3 { font-size: 1.35rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #C5CFDC; border-radius: 8px; font: inherit; font-size: 1rem; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.lead-form .btn { margin-top: 18px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.form-status { margin: 10px 0 0; font-weight: 600; }
.form-status.ok { color: #166534; }
.form-status.err { color: #B91C1C; }

/* Footer */
.site-footer { background: #081B33; color: #A9B8CC; padding-block: 64px 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid > * { min-width: 0; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #D7E2F0; text-decoration: none; }
.site-footer a:hover { color: #FDBA74; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo { background: var(--white); border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 46px; width: auto; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--white); }
.social a:hover { background: var(--accent); color: var(--white); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px max(20px, env(safe-area-inset-left, 0px)) 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 10px; justify-content: center; }
  .hero-grid, .split, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-badge { left: 12px; bottom: -18px; }
  .quote-card, .quote-card.photo-right { grid-template-columns: 1fr; }
  .quote-card.photo-right img { order: 0; }
  .quote-card img { max-width: 220px; }
  .section { padding-block: 64px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .steps, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  .brand img { height: 46px; }
  .path-card, .lead-form, .quote-card { padding: 24px; }
  .hero-facts { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ===================== Forms: tabs, captcha, honeypot ===================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.captcha-box:not(:empty) { margin-top: 16px; }
.form-status.ok { color: #166534; }
.form-status.err { color: #B91C1C; }
.lead-form button[disabled] { opacity: .65; cursor: wait; }
.field input[type=file] { padding: 9px; background: var(--bg-alt); }
.form-tabs { min-width: 0; }
.tab-list { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 14px; }
.tab-list [role=tab] { border: 0; background: transparent; padding: 12px 10px; border-radius: 9px; font: 600 .98rem var(--display); color: var(--muted); cursor: pointer; }
.tab-list [role=tab][aria-selected=true] { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(11,37,69,.1); }
.tab-list [role=tab]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ===================== Jobs board ===================== */
.jobs-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #C9D6E8; padding: 44px 0 64px; }
.jobs-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: .3em; }
.jobs-hero p { max-width: 64ch; margin-bottom: 24px; }
.jobs-hero .crumbs a { color: #C9D6E8; }
.job-search { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 0; background: var(--white); border-radius: 999px; padding: 6px; max-width: 860px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.job-search input { border: 0; padding: 12px 20px; font: inherit; min-width: 0; background: transparent; color: var(--ink); border-radius: 999px; }
.job-search input + label + input { border-left: 1px solid var(--line); border-radius: 0; }
.job-search input:focus { outline: 2px solid var(--blue); outline-offset: -2px; }
.job-search .btn { border-radius: 999px; }
.jobs-section { background: var(--bg-alt); padding: 28px 0 72px; }
.jobs-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-top: -48px; }
.filters, .side-card, .job-card, .results-bar, .job-empty { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.filters { padding: 18px 20px; position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow: auto; }
.filters-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filters-head h2 { font-size: 1.05rem; margin: 0; flex: 1; }
.filters-foot, .filters-close { display: none; }
.link-btn { background: none; border: 0; color: var(--blue); font: 600 .92rem var(--body); cursor: pointer; padding: 4px 0; }
.icon-btn { background: var(--bg-alt); border: 0; width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; color: var(--navy); }
.icon-btn svg { width: 18px; height: 18px; }
.f-group { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0; }
.f-group:last-child { border-bottom: 0; }
.f-group legend { font: 600 .95rem var(--display); color: var(--navy); padding: 0; margin-bottom: 8px; }
.f-opt { display: flex; align-items: center; gap: 9px; font-size: .95rem; padding: 4px 0; cursor: pointer; line-height: 1.3; }
.f-opt input { width: 17px; height: 17px; accent-color: var(--accent); flex: 0 0 auto; }
.f-opt span { flex: 1; }
.f-opt em { font-style: normal; color: var(--muted); font-size: .85rem; }
.f-opt.dim { opacity: .5; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; flex-wrap: wrap; }
.results-bar p { margin: 0; }
.results-tools { display: flex; align-items: center; gap: 10px; }
.results-tools label { font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.results-tools select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: var(--white); }
.filter-toggle { display: none; padding: .45em 1em; font-size: .92rem; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.active-chips:empty { display: none; }
.active-chips button { border: 1px solid #FCD9C2; background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 4px 12px; font: 600 .85rem var(--body); cursor: pointer; }
.sample-note { background: #FEF9C3; border: 1px solid #FDE68A; color: #713F12; border-radius: 10px; padding: 10px 14px; font-size: .92rem; margin: 12px 0 0; }
.job-list { display: grid; gap: 14px; margin-top: 14px; }
.job-card { padding: 20px 22px; cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.job-card:hover, .job-card:focus-visible { border-color: #B9C7DA; box-shadow: var(--shadow); outline: none; }
.job-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.job-card.skeleton { height: 170px; cursor: default; background: linear-gradient(90deg, #fff 0%, #F1F5F9 50%, #fff 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.job-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.job-card h3, .jm-head h2 { margin: 0 0 2px; }
.job-card h3 { font-size: 1.15rem; }
.job-co { margin: 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.badge-urgent { flex: 0 0 auto; background: var(--accent-soft); color: var(--accent); border: 1px solid #FCD9C2; font: 600 .75rem var(--display); letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 0; color: #3B4A5E; font-size: .95rem; }
.job-meta li { display: flex; align-items: center; gap: 6px; }
.job-meta svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.job-desc { margin: 10px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.job-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.job-skills span { background: var(--bg-alt); border: 1px solid var(--line); color: #3B4A5E; border-radius: 6px; padding: 2px 9px; font-size: .84rem; }
.job-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.job-cta { color: var(--accent); font-weight: 700; }
.job-empty { padding: 36px 24px; text-align: center; }
.job-empty p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.side-col { display: grid; gap: 16px; position: sticky; top: 96px; }
#sideItems { display: grid; gap: 16px; }
#sideItems:empty { display: none; }
.side-card { padding: 18px; overflow: hidden; }
.side-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.side-card p { font-size: .93rem; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.side-card p:last-child { margin-bottom: 0; }
.side-card img { border-radius: 10px; width: 100%; height: auto; }
.side-thumb { aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.side-image img { margin-bottom: 10px; }
.side-tag { display: inline-block; font: 600 .7rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.side-video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--navy); margin-bottom: 12px; }
.side-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.side-video.placeholder { display: grid; place-items: center; align-content: center; gap: 6px; color: #C9D6E8; text-align: center; padding: 10px; }
.side-video.placeholder span { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.2rem; padding-left: 3px; }
.side-notice { background: var(--accent-soft); border-color: #FCD9C2; }
.side-notice h3 { color: var(--accent-dark); }
.side-notice p { color: #7C2D12; }
.side-notice a { font-weight: 700; color: var(--accent-dark); }
.side-employer { background: var(--navy); border-color: var(--navy); }
.side-employer h3 { color: var(--white); }
.side-employer p { color: #C9D6E8; }
.btn-sm { padding: .5em 1em; font-size: .9rem; }

/* Job popup */
body.no-scroll { overflow: hidden; }
.job-modal { position: fixed; inset: 0; z-index: 100; background: rgba(8, 27, 51, .6); display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
.job-modal[hidden] { display: none; }
.job-modal-card { position: relative; background: var(--white); border-radius: 16px; width: 100%; max-width: 780px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.3); outline: none; }
.jm-close { position: absolute; top: 14px; right: 14px; }
.jm-head { padding-right: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.jm-head .badge-urgent { display: inline-block; margin-bottom: 10px; }
.jm-head h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.jm-head .btn-row { margin-top: 18px; }
.jm-sub { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.jm-section { padding: 18px 0; border-bottom: 1px solid var(--line); }
.jm-section h3 { font-size: 1.02rem; margin-bottom: 10px; }
.jm-section .ticks { margin: 0; }
.jm-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 18px; margin: 0; }
.jm-dl dt { font-size: .82rem; color: var(--muted); }
.jm-dl dd { margin: 0; font-weight: 600; }
.jm-free { border: 0; color: #166534; font-weight: 600; font-size: .95rem; }
.jm-sticky { position: sticky; bottom: -32px; background: var(--white); padding: 14px 0 0; margin-bottom: -8px; }
.jm-sticky .btn { width: 100%; justify-content: center; }
.jm-apply-title { font-size: 1.3rem; margin: 10px 0 18px; padding-right: 40px; }
#jmApply .lead-form { border: 0; box-shadow: none; padding: 0; }

@media (max-width: 1080px) {
  .jobs-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .side-col { grid-column: 1 / -1; position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  #sideItems { display: contents; }
}
@media (max-width: 860px) {
  .jobs-layout { grid-template-columns: minmax(0, 1fr); margin-top: -40px; }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; position: fixed; inset: 0; z-index: 90; max-height: none; border-radius: 0; top: 0; padding: 18px 20px 90px; }
  .filters.open { display: block; }
  .filters-close { display: inline-grid; }
  .filters-foot { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 20px; background: var(--white); border-top: 1px solid var(--line); }
  .filters-foot .btn { width: 100%; justify-content: center; }
  .job-search { grid-template-columns: 1fr; border-radius: 14px; gap: 4px; }
  .job-search input, .job-search .btn { border-radius: 10px; }
  .job-search input + label + input { border-left: 0; border-top: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 640px) {
  .job-modal { padding: 0; }
  .job-modal-card { border-radius: 0; min-height: 100%; padding: 22px 18px; }
  .jm-sticky { bottom: -22px; }
  .job-card { padding: 16px; }
  .results-tools label { font-size: 0; gap: 0; }
  .results-tools select { font-size: .92rem; }
}
/* Captcha look-alike used only in the preview (live site shows the real Cloudflare widget) */
.cap-mock { display: flex; align-items: center; gap: 12px; max-width: 320px; border: 1px solid #D0D5DD; background: #FAFAFA; border-radius: 6px; padding: 14px 14px; cursor: pointer; font-size: .95rem; }
.cap-mock input { position: absolute; opacity: 0; }
.cap-tick { width: 24px; height: 24px; border: 2px solid #8A94A6; border-radius: 4px; background: #fff; flex: 0 0 auto; display: grid; place-items: center; }
.cap-mock input:focus-visible + .cap-tick { outline: 2px solid var(--blue); outline-offset: 2px; }
.cap-mock.busy .cap-tick { border-color: #F38020; border-top-color: transparent; border-radius: 50%; animation: capspin .7s linear infinite; }
.cap-mock.done .cap-tick { border-color: #16A34A; background: #16A34A; }
.cap-mock.done .cap-tick::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.cap-brand { margin-left: auto; text-align: right; font: 700 .72rem var(--display); color: #F38020; line-height: 1.2; }
.cap-brand small { font-weight: 400; color: var(--muted); font-size: .65rem; }
@keyframes capspin { to { transform: rotate(360deg); } }

/* Security question */
.math-cap { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.math-cap label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: .95rem; color: var(--ink); }
.math-cap .q { font-family: var(--display); color: var(--navy); font-size: 1.05rem; }
.math-cap input[name=captchaAnswer] { width: 80px; padding: 10px 12px; border: 1px solid #C5CFDC; border-radius: 8px; font: inherit; font-size: 1rem; text-align: center; background: var(--white); color: var(--ink); }
.math-cap input[name=captchaAnswer]:focus { border-color: var(--blue); outline: none; }
.math-new { border: 1px solid #C5CFDC; background: var(--white); color: var(--navy); border-radius: 8px; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; }
.math-new:hover { border-color: var(--blue); }
