/* ==========================================================================
   Recruitment Konnect — stylesheet
   Clean, editorial layout: hairline rules, square corners, no shadows,
   one accent colour. Brand navy + blue from the logo; Malawi flag colours
   appear only as a thin accent line.
   ========================================================================== */

:root {
  --ink: #0e1630;
  --navy: #0b2160;
  --blue: #1f4fd1;
  --text: #2a3142;
  --muted: #5d6575;
  --faint: #8a91a0;
  --paper: #ffffff;
  --surface: #f4f5f7;
  --line: #e2e5ea;
  --line-strong: #c9ced6;
  --black: #111111;
  --red: #ce1126;
  --green: #1f8a3a;
  --ok: #157f3b;
  --error: #b42318;
  --warn-bg: #fff6db;
  --warn-ink: #6b4a00;

  --radius: 4px;
  --font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.photo { filter: saturate(.82) contrast(1.03); }

/* Placeholder text the owner must replace before launch */
.todo { background: var(--warn-bg); color: var(--warn-ink); border: 1px dashed #d9a92c; border-radius: 3px; padding: 0 5px; font-weight: 600; font-size: .95em; }

/* ---------- Flag line ---------- */
.flag-line { display: flex; height: 3px; }
.flag-line span { flex: 1; }
.flag-line span:nth-child(1) { background: var(--black); }
.flag-line span:nth-child(2) { background: var(--red); }
.flag-line span:nth-child(3) { background: var(--green); }

/* ---------- Top bar ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--text); text-decoration: none; }
.topbar a:hover { color: var(--blue); }
.topbar-links { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-links span, .topbar-verify { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--faint); }
.topbar-verify { font-weight: 600; }
.topbar-verify svg { color: var(--green); }
@media (max-width: 760px) { .topbar-links .hide-sm, .topbar-verify { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav a { position: relative; display: inline-flex; align-items: center; height: 100%; padding: 0 12px; font-size: .92rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--blue); }
.nav .btn { height: 42px; margin-left: 14px; padding: 0 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 auto 0; height: auto; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility .15s; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.open { visibility: visible; opacity: 1; }
  .nav a { height: auto; padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 50%; bottom: auto; width: 3px; height: 18px; transform: translate(-12px, -50%); }
  .nav .btn { margin: 18px 0 0; height: 50px; justify-content: center; border-bottom: 0; }
  .brand img { height: 44px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1; border-radius: var(--radius); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--navy); color: #fff !important; }
.btn-primary:hover { background: var(--blue); }
.btn-navy { background: var(--ink); color: #fff !important; }
.btn-navy:hover { background: var(--navy); }
.btn-outline { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff !important; }
.btn-white { background: #fff; color: var(--ink) !important; }
.btn-white:hover { background: var(--surface); }
.btn-ghost-white { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-white:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-whatsapp { background: #1fa855; color: #fff !important; }
.btn-whatsapp:hover { background: #178a45; }
.btn-sm { height: 40px; padding: 0 16px; font-size: .875rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.text-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.text-link:hover svg { transform: translateX(3px); }
.on-dark .text-link { color: #fff; border-color: rgba(255, 255, 255, .6); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 8vw, 112px) 0; }
.section-alt { background: var(--surface); }
.section-tight { padding-top: 0; }
.bt { border-top: 1px solid var(--line); }
.label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.label .n { color: var(--blue); margin-right: 8px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Section header: label + title left, intro right */
.sec-head { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 64px; align-items: end; padding-bottom: 40px; margin-bottom: 0; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.sec-head .sec-actions { margin-top: 20px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; padding-bottom: 32px; } }

/* ---------- Hairline cell grid ---------- */
.cells { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cells > * { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px; background: var(--paper); overflow-wrap: break-word; }
.cells.c2 { grid-template-columns: repeat(2, 1fr); }
.cells.c3 { grid-template-columns: repeat(3, 1fr); }
.cells.c4 { grid-template-columns: repeat(4, 1fr); }
.cells.c5 { grid-template-columns: repeat(5, 1fr); }
.section-alt .cells > * { background: var(--paper); }
@media (max-width: 980px) { .cells.c3, .cells.c4 { grid-template-columns: repeat(2, 1fr); } .cells.c5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cells.c2, .cells.c3, .cells.c4 { grid-template-columns: 1fr; } .cells.c5 { grid-template-columns: 1fr; } .cells > * { padding: 24px; } .cell .num { margin-bottom: 20px; } }

.cell .num { display: block; font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--blue); margin-bottom: 40px; font-feature-settings: "tnum"; }
.cell h3 { margin-bottom: 10px; }
.cell p { color: var(--muted); margin: 0; }
a.cell { display: block; color: inherit; text-decoration: none; transition: background-color .15s ease; }
a.cell:hover { background: var(--surface); }
a.cell:hover h3 { color: var(--blue); }

.dash-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.dash-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--text); }
.on-dark .dash-list { border-color: rgba(255, 255, 255, .18); }
.on-dark .dash-list li { border-color: rgba(255, 255, 255, .18); color: #dfe5f3; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.hero h1 { margin-bottom: 28px; max-width: 13ch; }
.hero .lead { max-width: 540px; color: var(--muted); margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-caption { margin-top: 12px; font-size: .8rem; color: var(--faint); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.fact { padding: 28px 28px 28px 0; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 28px; }
.fact strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.fact span { display: block; color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Inner page header ---------- */
.page-head { padding: clamp(48px, 6vw, 80px) 0 0; }
.page-head-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head-grid.no-media { grid-template-columns: 1fr; }
.page-head h1 { margin-bottom: 20px; max-width: 16ch; }
.page-head .lead { color: var(--muted); max-width: 600px; margin: 0; }
.page-head-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .85rem; color: var(--faint); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs span { margin: 0 8px; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Statement / two-column text ---------- */
.statement { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 64px; }
.statement .big { font-family: var(--font-head); font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); font-weight: 500; margin-bottom: 40px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.col-rule { border-top: 1px solid var(--ink); padding-top: 18px; }
.col-rule h4 { margin-bottom: 8px; }
.col-rule p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .statement, .cols-2 { grid-template-columns: 1fr; } }

/* ---------- Rows (process, commitments, FAQ-like lists) ---------- */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 80px 4fr 7fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row .num { font-family: var(--font-head); font-weight: 600; color: var(--blue); font-feature-settings: "tnum"; }
.row h3 { margin: 0; }
.row p { margin: 0; color: var(--muted); }
.row ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; color: var(--text); }
.row ul li::before { content: "— "; color: var(--faint); }
@media (max-width: 760px) { .row { grid-template-columns: 48px 1fr; } .row > :last-child { grid-column: 2; } }

.numbered { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--blue); padding-top: 2px; }
.numbered li strong { font-weight: 600; }
.numbered.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
.numbered.two li:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 640px) { .numbered.two { grid-template-columns: 1fr; } .numbered.two li:nth-child(2) { border-top: 0; } }

/* ---------- Sector tiles ---------- */
.tile { display: flex; flex-direction: column; padding: 0 !important; color: inherit; text-decoration: none; }
.tile .media { aspect-ratio: 5 / 2; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.tile .media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .4s ease; }
.tile .body { padding: 24px 28px 28px; flex: 1; }
.tile h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tile p { color: var(--muted); margin: 0; font-size: .94rem; }
.tile .roles { margin-top: 16px; font-size: .88rem; color: var(--text); line-height: 1.7; }
.tile .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.tile .more svg { width: 15px; height: 15px; transition: transform .15s ease; }
a.tile:hover .media img { transform: scale(1.03); }
a.tile:hover h3 { color: var(--blue); }
a.tile:hover .more svg { transform: translateX(3px); }

/* ---------- Audience split ---------- */
.split2 { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.split2 > div { padding: 40px 48px 0 0; }
.split2 > div + div { border-left: 1px solid var(--line); padding: 40px 0 0 48px; }
.split2 .media { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 28px; background: var(--surface); }
.split2 .media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.split2 h3 { font-size: 1.6rem; }
.split2 p { color: var(--muted); max-width: 480px; }
.split2 .actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; } .split2 > div, .split2 > div + div { padding: 32px 0; border-left: 0; } .split2 > div + div { border-top: 1px solid var(--line); } }

/* ---------- Media + text ---------- */
.media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.media-text .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.media-text .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .media-text { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Flow (partnership) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.flow-step { position: relative; padding: 24px 28px 0 0; }
.flow-step + .flow-step { padding-left: 28px; border-left: 1px solid var(--line); }
.flow-step .num { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--blue); margin-bottom: 28px; }
.flow-step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.flow-step p { color: var(--muted); font-size: .92rem; margin: 0; }
.flow-step .arrow { position: absolute; right: -9px; top: 22px; width: 18px; height: 18px; background: var(--paper); color: var(--faint); z-index: 1; }
.section-alt .flow-step .arrow { background: var(--surface); }
.flow-step .arrow svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step, .flow-step + .flow-step { padding: 20px 16px 24px 0; border-left: 0; }
  .flow-step:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .flow-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow-step .arrow { display: none; }
}

/* ---------- Regions ---------- */
.regions { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.region { padding: 22px 20px 22px 0; }
.region + .region { border-left: 1px solid var(--line); padding-left: 20px; }
.region strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; letter-spacing: -.01em; }
.region span { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
@media (max-width: 860px) {
  .regions { grid-template-columns: 1fr 1fr; }
  .region, .region + .region { padding: 18px 12px 18px 0; border-left: 0; }
  .region:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .region:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Dark panels & bands ---------- */
.on-dark { background: var(--ink); color: #c8d0e2; }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .label { color: #8f9ab3; }
.on-dark .label .n { color: #8fb0ff; }
.on-dark a:not(.btn) { color: #fff; }
.panel { padding: 40px; }
.panel h3 { font-size: 1.75rem; margin-bottom: 14px; }
.panel p { margin-bottom: 0; }
.panel .btn { margin-top: 28px; }
.band { padding: clamp(56px, 7vw, 88px) 0; }
.band-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px 64px; align-items: end; }
.band h2 { margin: 0; max-width: 16ch; }
.band p { margin: 16px 0 0; max-width: 520px; }
.band-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } .band-ctas { justify-content: flex-start; } }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-strong); border-left: 3px solid var(--blue); background: var(--paper); color: var(--text); border-radius: 0; }
.notice svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.notice p { margin: 0; }
.notice.warn { border-left-color: #c48a00; background: var(--warn-bg); border-color: #ecd59a; border-left-color: #c48a00; }
.notice.warn svg { color: #a26f00; }
.notice.danger { border-color: #f1c0bb; border-left-color: var(--error); background: #fdf3f2; color: #6e1710; }
.notice.danger svg { color: var(--error); }

/* ---------- Lists: check / cross ---------- */
.check-list, .x-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.check-list li, .x-list li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before, .x-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 14px; background: no-repeat center / contain; }
.check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157f3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.x-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }

/* ---------- Key/value list ---------- */
.kv { margin: 0; border-top: 1px solid var(--ink); }
.kv > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: .92rem; }
.kv dd { margin: 0; color: var(--ink); }
@media (max-width: 640px) { .kv > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--blue); }
.faq details > div { padding: 0 48px 24px 0; color: var(--muted); max-width: 760px; }

/* ---------- Contact ---------- */
.contact-list { border-top: 1px solid var(--ink); }
.contact-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-row h3 { font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 3px 0 0; }
.contact-row p { margin: 0; color: var(--ink); }
.contact-row a { color: var(--ink); font-weight: 500; }
.contact-row a:hover { color: var(--blue); }
@media (max-width: 560px) { .contact-row { grid-template-columns: 1fr; gap: 6px; } }
.phone-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 2px 0 6px; }
.phone-row .muted { font-size: .85rem; }
.wa-link { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: #157f3b !important; text-decoration: none; }
.wa-link:hover { text-decoration: underline; }
.wa-link svg { width: 13px; height: 13px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); transition: border-color .15s, color .15s; }
.socials a:hover { border-color: var(--ink); color: var(--blue); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.form-card > h2 { font-size: 1.75rem; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label-text { display: block; font-weight: 500; color: var(--ink); font-size: .9rem; margin-bottom: 7px; }
.field .req { color: var(--error); margin-left: 2px; }
.field .hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 14px; height: 50px; transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1630' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
input:hover, select:hover, textarea:hover { border-color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 79, 209, .14); }
input[readonly] { background: var(--surface); color: var(--muted); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field .err { display: none; color: var(--error); font-size: .82rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; font-size: .95rem; color: var(--ink); background: #fff; user-select: none; transition: border-color .15s, background-color .15s; }
.choice span:hover { border-color: var(--faint); }
.choice span::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--faint); border-radius: 3px; flex-shrink: 0; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--navy); background: #f2f5fc; }
.choice input:checked + span::before { border-color: var(--navy); background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.choice input[type="radio"]:checked + span::before { background: var(--navy); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field.invalid .choice span { border-color: var(--error); }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.field.invalid .consent { border-color: var(--error); }
.honey { position: absolute !important; left: -5000px !important; height: 0; overflow: hidden; }

.file-drop { position: relative; display: flex; align-items: center; gap: 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.file-drop:hover { border-color: var(--navy); background: #fafbfd; }
.file-drop .ico { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); }
.file-drop .ico svg { width: 18px; height: 18px; }
.file-drop strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; }
.file-drop small { color: var(--muted); font-size: .8rem; display: block; word-break: break-all; }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop.has-file { border-style: solid; border-color: var(--ok); background: #f3faf5; }
.file-drop.has-file .ico { color: var(--ok); border-color: #bfe0ca; }
.upload-meter { font-size: .84rem; color: var(--muted); }
.upload-meter.over { color: var(--error); font-weight: 600; }

/* Multi-step */
.progress { margin-bottom: 36px; }
.progress-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.progress-meta strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; letter-spacing: -.01em; }
.progress-meta span { color: var(--muted); font-size: .85rem; white-space: nowrap; font-feature-settings: "tnum"; }
.progress-bar { height: 2px; background: var(--line); }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--navy); transition: width .3s ease; }
.step-dots { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; }
.step-dots button { font: inherit; font-size: .8rem; background: none; border: 0; padding: 4px 0; color: var(--faint); cursor: pointer; }
.step-dots button.done { color: var(--text); }
.step-dots button.done:hover { color: var(--blue); }
.step-dots button.current { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--navy); }
.step-dots button:disabled { cursor: default; }
.form-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.active { display: block; }
.form-step > h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-step > h2 .n { color: var(--blue); font-size: .9em; margin-right: 10px; font-feature-settings: "tnum"; }
.form-step > p.sub { color: var(--muted); margin-bottom: 28px; max-width: 620px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.form-nav .spacer { flex: 1; }
.sub-head { grid-column: 1 / -1; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.sub-head.first { margin-top: 0; padding-top: 0; border-top: 0; }
.review { border-top: 1px solid var(--ink); }
.review-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-block h4 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; }
.review-block h4 button { font: inherit; font-size: .84rem; font-weight: 600; color: var(--blue); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.review-block dl { display: grid; grid-template-columns: minmax(130px, 36%) 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
.review-block dt { color: var(--muted); }
.review-block dd { margin: 0; color: var(--ink); word-break: break-word; }
.form-error-banner { display: none; margin-top: 18px; }
.form-error-banner.show { display: flex; }
.layout-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.layout-form.layout-even { grid-template-columns: 1fr 1fr; gap: 64px; }
.aside { position: sticky; top: 100px; }
.aside-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.aside-block:first-child { border-top: 1px solid var(--ink); }
.aside-block h3 { font-size: 1.05rem; margin-bottom: 8px; }
.aside-block p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.aside-block .btn { margin-top: 14px; }
.aside-block .check-list { margin-top: 10px; font-size: .92rem; }
.aside-block .check-list li { padding: 9px 0 9px 26px; }
.aside-block .check-list li::before { top: 13px; }
@media (max-width: 980px) { .layout-form, .layout-form.layout-even { grid-template-columns: 1fr; } .aside { position: static; } }
@media (max-width: 640px) { .step-dots { display: none; } .form-nav .btn { flex: 1; } }

/* ---------- Jobs ---------- */
.job-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 20px; }
@media (max-width: 760px) { .job-filters { grid-template-columns: 1fr; } }
.jobs-count { color: var(--muted); font-size: .88rem; margin-bottom: 0; padding-bottom: 14px; }
.job-list { border-top: 1px solid var(--ink); }
.job { padding: 28px 0; border-bottom: 1px solid var(--line); }
.job-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.job h3 { margin: 0 0 8px; font-size: 1.35rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--muted); font-size: .9rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 14px; height: 14px; color: var(--faint); }
.job-tags { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.job p { color: var(--text); max-width: 760px; }
.job details { margin-top: 12px; }
.job details summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.job details > div { padding-top: 12px; font-size: .94rem; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; }
.job details ul { padding-left: 18px; margin: 6px 0 0; color: var(--text); }
@media (max-width: 640px) { .job details > div { grid-template-columns: 1fr; } }
.job .ref { font-size: .8rem; color: var(--faint); font-feature-settings: "tnum"; }
.tag { display: inline-block; font-size: .78rem; font-weight: 500; padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--text); background: #fff; }
.tag.amber { border-color: #e2c26c; background: var(--warn-bg); color: var(--warn-ink); }
.job-example .tag.amber { margin-bottom: 10px; }
.empty { padding: 56px 0; text-align: left; border-bottom: 1px solid var(--line); }
.empty h3 { font-size: 1.4rem; }
.empty p { color: var(--muted); max-width: 520px; }
.empty .ico { display: none; }

/* ---------- Prose ---------- */
.prose { max-width: 740px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }

/* ---------- Thank you ---------- */
.thanks { max-width: 720px; }
.thanks .ok { width: 48px; height: 48px; color: var(--ok); margin-bottom: 28px; }
.thanks .ok svg { width: 48px; height: 48px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); color: var(--text); font-size: .92rem; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 40px; padding: 64px 0 48px; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-main p { color: var(--muted); max-width: 340px; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-strong); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(14, 22, 48, .18); }
.wa-float:hover { background: #178a45; color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.stack-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .topbar, .site-header, .wa-float, .site-footer { display: none; } }

/* ==========================================================================
   Motion
   One easing family, long and soft. Everything below only applies when the
   <html> element has the "js" class, which is never added for visitors who
   prefer reduced motion, so content is always visible without JavaScript.
   ========================================================================== */
:root { --ease: cubic-bezier(.22, .61, .36, 1); --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Fade-up reveal (staggered with --d) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Headlines: words rise from behind a mask */
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js .split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms + 80ms); }
.js .split.in .w > span { transform: none; }

/* Hairlines draw from left to right */
.js [data-line] { position: relative; border-top-color: transparent !important; }
.js [data-line]::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--lc, var(--ink)); transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease-out); transition-delay: var(--d, 0ms); pointer-events: none; }
.js [data-line].in::after { transform: scaleX(1); }

/* Images wipe in top-to-bottom and settle */
.js [data-media] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out); }
.js [data-media] > img { transform: scale(1.12); transition: transform 2s var(--ease-out); }
.js [data-media].in { clip-path: inset(0 0 0 0); }
.js [data-media].in > img { transform: none; }

/* Header compacts on scroll */
.site-header .wrap, .brand img { transition: height .4s var(--ease); }
.site-header.scrolled .wrap { height: 64px; }
.site-header.scrolled .brand img { height: 42px; }
.site-header.scrolled { border-bottom-color: var(--line-strong); }

/* Nav underline glides in on hover (desktop) */
@media (min-width: 1081px) {
  .nav a:not(.btn)::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 24px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .45s var(--ease); }
  .nav a:not(.btn):hover::before { transform: scaleX(1); transform-origin: left center; }
  .site-header.scrolled .nav a:not(.btn)::before { bottom: 18px; }
}

/* Buttons & links: arrow nudges */
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg:not(.no-nudge) { transform: translateX(3px); }
.text-link { border-bottom: 0; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.text-link:hover { background-size: 0 1px; background-position: right bottom; }
.tile .media img { transition: transform 1.2s var(--ease-out); }
a.cell, a.tile { transition: background-color .4s var(--ease); }

/* WebGL hero slideshow */
.hero-media .hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease); }
.hero-media.gl-ready .hero-gl { opacity: 1; }
.hero-meta { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: .8rem; color: var(--muted); font-feature-settings: "tnum"; }
.hero-meta b { color: var(--ink); font-weight: 600; }
.hero-bar { position: relative; flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.hero-bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.hero-bar i.run { animation: heroBar var(--hold, 6000ms) linear forwards; }
@keyframes heroBar { to { transform: scaleX(1); } }

/* Page-to-page cross-fade (browsers with cross-document View Transitions) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.topbar { view-transition-name: topbar; }
::view-transition-old(root) { animation: vtOut .28s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .hero-bar i.run { animation: none; }
}
