/* CPM Sweeping careers landing pages */
:root {
  --red: #C11327;
  --red-dark: #9C0E1F;
  --ink: #1A1B25;
  --slate: #2B3D41;
  --gray: #8596A5;
  --text: #2E323C;
  --muted: #5F6B76;
  --line: #E1E6EA;
  --bg: #F4F6F7;
  --white: #FFFFFF;
  --yellow: #FEDC97;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(26, 27, 37, 0.10);
  --display: "Roboto", "Segoe UI", Arial, sans-serif;
  --body: "Arimo", "Helvetica Neue", Arial, sans-serif;
  --bar-h: 76px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img, picture { display: block; max-width: 100%; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.45rem, 4.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #2F80ED; outline-offset: 2px; }

.wrap { width: min(100% - 40px, 1040px); margin-inline: auto; }
@media (max-width: 480px) { .wrap { width: min(100% - 32px, 1040px); } }

/* ---------- header ---------- */
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 40px; width: auto; }
.top-call {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.top-call svg { width: 18px; height: 18px; fill: var(--red); }
@media (max-width: 480px) { .top-call span { display: none; } .top-call { padding: 8px; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,27,37,.55) 0%, rgba(26,27,37,.72) 55%, rgba(26,27,37,.94) 100%);
}
.hero .wrap { padding: clamp(40px, 9vw, 96px) 0 clamp(28px, 6vw, 64px); }
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-block;
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 16px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero .lede { font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: rgba(255,255,255,.9); margin-bottom: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 12px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 22px rgba(193,19,39,.35); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-block { width: 100%; }

/* ---------- facts ---------- */
.facts { margin-top: -22px; position: relative; z-index: 1; }
.facts ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .facts ul { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.facts li {
  background: var(--white); border-radius: var(--radius); padding: 16px 16px 14px;
  box-shadow: var(--shadow); border: 1px solid rgba(26,27,37,.05);
  display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start;
}
.facts .ico { width: 36px; height: 36px; border-radius: 10px; background: #FBE9EB; display: grid; place-items: center; }
.facts .ico svg { width: 20px; height: 20px; fill: var(--red); }
.facts small { display: block; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.facts b { display: block; font-family: var(--display); font-size: 1rem; color: var(--ink); line-height: 1.3; }
@media (max-width: 420px) { .facts li { grid-template-columns: 1fr; gap: 8px; } .facts b { font-size: .95rem; } }

/* ---------- sections ---------- */
section { padding: clamp(36px, 7vw, 64px) 0; }
section.tight { padding-top: clamp(24px, 5vw, 40px); }
.two { display: grid; gap: 28px; }
@media (min-width: 860px) { .two { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; } }
.lead-p { font-size: 1.1rem; color: var(--text); }

.checks li { position: relative; padding-left: 36px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z'/></svg>") center/14px no-repeat;
}
.checks.neutral li::before { background-color: var(--slate); }
.checks b { color: var(--ink); }

.card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(26,27,37,.05);
}
.card h3 { margin-top: 0; }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo figcaption { font-size: .85rem; color: var(--muted); padding: 10px 14px; background: var(--white); }

/* ---------- about ---------- */
.why { background: var(--ink); color: rgba(255,255,255,.86); }
.why h2, .why h3 { color: var(--white); }
.why .two { align-items: center; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 26px; }
.stats li { display: flex; align-items: baseline; gap: 10px; }
.stats li + li { border-left: 1px solid rgba(255,255,255,.18); padding-left: 28px; }
.stats b { font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 900; color: var(--yellow); line-height: 1; }
.stats span { font-size: .95rem; color: rgba(255,255,255,.8); }
@media (max-width: 420px) { .stats { flex-direction: column; } .stats li + li { border-left: 0; padding-left: 0; } }
.owner { display: flex; gap: 16px; align-items: center; }
.owner img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.2); flex: none; }
.owner b { color: var(--white); display: block; font-family: var(--display); }
.owner span { font-size: .9rem; }

/* ---------- form ---------- */
.apply { scroll-margin-top: 12px; }
.apply .card { padding: clamp(20px, 5vw, 36px); max-width: 640px; margin-inline: auto; }
.apply h2 { margin-bottom: 4px; }
.apply .sub { color: var(--muted); margin-bottom: 20px; }

.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.steps-head .count { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.steps-head .count b { color: var(--ink); }
.progress { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 33%; background: var(--red); border-radius: 999px; transition: width .25s ease; }

fieldset.step { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
fieldset.step legend { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); padding: 0; margin-bottom: 4px; }
fieldset.step .hint { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.js fieldset.step:not(.active) { display: none; }
.js .step-nav [data-prev]:not(.active), .js .step-nav [data-next]:not(.active), .js .step-nav [type="submit"]:not(.active) { display: none; }
.no-js .steps-head, .no-js .step-nav [data-next], .no-js .step-nav [data-prev] { display: none; }

.field { margin-bottom: 16px; }
.field label, .field .lbl { display: block; font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 17px;
  color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 10px;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238596A5'><path d='M7 10l5 5 5-5z'/></svg>") right 12px center/22px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 4px rgba(193,19,39,.12); }
.field input:user-invalid, .field select:user-invalid { border-color: #D64550; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 12px; }
@media (max-width: 380px) { .row2, .row3 { grid-template-columns: 1fr; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills.stack { flex-direction: column; }
.pills label {
  position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .95rem;
  font-family: var(--display); color: var(--ink); margin: 0; background: var(--white);
}
.pills.stack label { border-radius: 12px; padding: 12px 16px; line-height: 1.3; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills input:checked + span { color: var(--white); }
.pills label:has(input:checked) { background: var(--ink); border-color: var(--ink); }
.pills label:has(input:focus-visible) { outline: 3px solid #2F80ED; outline-offset: 2px; }
.pills.invalid label { border-color: #D64550; }

.consent { font-size: .85rem; color: var(--muted); margin: 6px 0 16px; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.notice { display: none; padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: .95rem; }
.notice.error { display: block; background: #FDECEE; color: #8A0F1D; border: 1px solid #F5C2C8; }
.btn[disabled] { opacity: .7; cursor: progress; }

.step-nav { display: flex; gap: 10px; margin-top: 8px; }
.step-nav .btn { flex: 1; }
.step-nav [data-prev] { flex: 0 0 auto; padding: 0 20px; }
.step-nav [hidden] { display: none; }

.success { display: none; text-align: center; padding: 12px 0; }
.success .check { width: 72px; height: 72px; border-radius: 50%; background: #E6F7EE; margin: 0 auto 16px; display: grid; place-items: center; }
.success .check svg { width: 36px; height: 36px; fill: #1E9E5A; }
.success h2 { margin-bottom: 8px; }
.success p { color: var(--muted); }
.form-wrap.done form { display: none; }
.form-wrap.done .success { display: block; }

.alt-apply { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 18px; }
.alt-apply a { font-weight: 700; color: var(--ink); text-decoration: none; }

/* ---------- eoe / footer ---------- */
.eoe { font-size: .85rem; color: var(--muted); max-width: 720px; margin-inline: auto; text-align: center; }
footer { background: var(--white); border-top: 1px solid var(--line); padding: 28px 0 calc(28px + var(--bar-h)); font-size: .9rem; color: var(--muted); }
@media (min-width: 900px) { footer { padding-bottom: 28px; } }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
footer a { color: var(--ink); text-decoration: none; }
footer .brand img { height: 32px; }

/* ---------- sticky mobile bar ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; transform: translateY(0); transition: transform .25s ease;
}
.bar .btn { min-height: 52px; flex: 1; }
.bar .btn-outline { flex: 0 0 auto; padding: 0 18px; }
.bar.hide { transform: translateY(110%); }
@media (min-width: 900px) { .bar { display: none; } }

/* ---------- index (both jobs) ---------- */
.jobs { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 720px) { .jobs { grid-template-columns: 1fr 1fr; gap: 20px; } }
.job {
  display: block; background: var(--white); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--text); box-shadow: var(--shadow); border: 1px solid rgba(26,27,37,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.job:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(26,27,37,.16); }
.job img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.job .body { padding: 18px 20px 20px; }
.job h2 { font-size: 1.4rem; margin-bottom: 4px; }
.job .meta { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.job .pay-line { font-family: var(--display); font-weight: 900; color: var(--red); font-size: 1.3rem; margin-bottom: 14px; }
.job .go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; color: var(--ink); }
.job .go svg { width: 18px; height: 18px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .job, .bar, .progress i { transition: none; } }
