/* ============================================================================
   AfroSoar Connect — design system
   Editorial / fashion-house aesthetic (Prada-inspired): generous whitespace,
   a refined serif display face against clean sans body text, a near-monochrome
   palette lifted only by the brand's royal blue, hairline rules, and quiet,
   letter-spaced uppercase navigation. Nothing shouts; the imagery carries it.
   ========================================================================== */

:root {
    --ink:        #0a0f1c;   /* near-black text            */
    --ink-soft:   #55607a;   /* muted captions             */
    --line:       #e4e6ec;   /* hairline rules             */
    --paper:      #ffffff;
    --paper-2:    #f6f7f9;   /* section tint               */
    --blue:       #1a4fd6;   /* brand royal blue           */
    --blue-deep:  #12246b;   /* brand navy ("Connect")     */
    --blue-tint:  #eef2fd;
    --maxw:       1280px;
    --gut:        clamp(20px, 5vw, 64px);
    --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- typography ------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -0.01em; }
.display { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p  { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--ink-soft); line-height: 1.6; }

.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--blue);
    margin: 0 0 1.2rem;
}
.muted { color: var(--ink-soft); }

/* ---- layout ---------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section--tint { background: var(--paper-2); }
.section--ink  { background: var(--blue-deep); color: #fff; }
.section--ink .lead, .section--ink .muted { color: #b9c2e0; }
.center { text-align: center; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 760px)  { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 999px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---- buttons --------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--sans); font-weight: 600; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .16em;
    padding: 1.05em 2.2em; border: 1px solid var(--ink); background: var(--ink); color: #fff;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s; border-radius: 0;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--blue { background: var(--blue); border-color: var(--blue); }
.btn--blue:hover { background: transparent; color: var(--blue); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--blue-deep); }
.btn--light:hover { background: transparent; color: #fff; }

.link-arrow { font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: ' →'; }

/* ---- header ---------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92); backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 42px; width: auto; }
.brand__type { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--blue-deep); letter-spacing: .01em; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
    text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 600;
    color: var(--ink); padding: 6px 0; position: relative;
}
.nav__links a[aria-current="page"], .nav__links a:hover { color: var(--blue); }
.nav__links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--blue); transition: width .25s;
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

@media (max-width: 940px) {
    .nav__toggle { display: block; }
    .nav__links {
        position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 28px;
        transform: translateY(-120%); transition: transform .3s ease; box-shadow: 0 20px 40px rgba(0,0,0,.06);
    }
    .nav__links.open { transform: translateY(0); }
    .nav__links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
    .nav__cta { margin: 18px 0 0; }
}

/* ---- hero / video banner --------------------------------------------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--blue-deep); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,12,40,.15) 0%, rgba(6,12,40,.65) 100%); }
.hero__inner { position: relative; z-index: 2; color: #fff; padding-bottom: clamp(44px, 8vw, 96px); max-width: 900px; }
.hero .eyebrow { color: #cdd7ff; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.hero__sub { color: #e7ebfb; font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 620px; margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* video placeholder note (until the real banner video is supplied) */
.video-placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.12) 0, transparent 60%),
        linear-gradient(135deg, #12246b 0%, #1a4fd6 100%);
}
.video-placeholder span {
    color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; font-weight: 600;
}

/* ---- cards ----------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px 26px 30px; }
.card__body h3 { margin-bottom: .35em; }

/* destination tiles — full-bleed image with label */
.dest { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--blue-deep); color: #fff; display: flex; align-items: flex-end; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.dest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,12,40,.78) 100%); }
.dest:hover img { transform: scale(1.06); }
.dest__label { position: relative; z-index: 2; padding: 26px; }
.dest__label h3 { color: #fff; margin: 0 0 .2em; }
.dest__label p { color: #cfd6ee; margin: 0; font-size: .92rem; }

/* ---- process steps --------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { counter-increment: step; display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__no { font-family: var(--serif); font-size: 2.4rem; color: var(--blue); line-height: 1; }
.step__no::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: .25em; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---- skill tiers ----------------------------------------------------- */
.tier { border: 1px solid var(--line); padding: 30px; background: #fff; }
.tier h3 { color: var(--blue-deep); }
.tier ul { list-style: none; margin: 14px 0 0; padding: 0; columns: 1; }
.tier li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.tier li::before { content: '—'; color: var(--blue); margin-right: 10px; }

/* ---- forms ----------------------------------------------------------- */
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
    width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
    padding: 14px 16px; border: 1px solid var(--line); background: #fff; border-radius: 0; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input[type=file] { padding: 11px 12px; background: var(--paper-2); }
.field .hint { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: auto; margin-top: 4px; }

.notice { padding: 16px 20px; border-left: 3px solid var(--blue); background: var(--blue-tint); margin-bottom: 26px; font-size: .95rem; }
.notice--ok { border-color: #1a9d5a; background: #eafaf1; }
.notice--err { border-color: #d64545; background: #fdecec; }

/* ---- payment box ----------------------------------------------------- */
.paybox { border: 1px solid var(--line); padding: 30px; background: #fff; }
.paybox dl { display: grid; grid-template-columns: 180px 1fr; gap: 0; margin: 0; }
.paybox dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-weight: 600; padding: 14px 0; border-top: 1px solid var(--line); }
.paybox dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 500; }
@media (max-width: 620px) { .paybox dl { grid-template-columns: 1fr; } .paybox dd { padding-top: 0; border-top: 0; } }

/* ---- jobs ------------------------------------------------------------ */
.job { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.job:last-child { border-bottom: 1px solid var(--line); }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-size: .84rem; color: var(--ink-soft); }
.tag { display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; padding: 4px 10px; border: 1px solid var(--line); color: var(--blue-deep); }
.tag--open { color: #1a9d5a; border-color: #bfe8d0; background: #f0fbf4; }
@media (max-width: 620px) { .job { grid-template-columns: 1fr; } }

/* ---- footer ---------------------------------------------------------- */
.site-footer { background: var(--blue-deep); color: #c8d0ec; padding: clamp(56px, 8vw, 100px) 0 40px; }
.site-footer a { color: #c8d0ec; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 6px 0; font-size: .95rem; }
.footer-brand img { height: 54px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 320px; font-size: .95rem; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: .2s; }
.socials a:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: #97a2c8; }

/* ---- floating whatsapp ---------------------------------------------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .5; animation: wa-pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---- reveal on scroll ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- utilities ------------------------------------------------------- */
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.maxw-720 { max-width: 720px; } .maxw-620 { max-width: 620px; }

/* ============================================================================
   v2 REFRESH — bigger brand, warmer buttons, tighter rhythm, video hero, motto
   ========================================================================== */

/* ---- brand / logos (larger) ---- */
.brand img { height: 58px; }
@media (min-width: 760px) { .brand img { height: 66px; } }
.site-header { border-bottom: 1px solid rgba(228,230,236,.7); }
.nav { height: 88px; }
.footer-brand img { height: 92px; margin-bottom: 20px; filter: brightness(0) invert(1); }

/* ---- buttons: pill, gradient, soft shadow, hover lift ---- */
.btn {
    border-radius: 999px; letter-spacing: .1em; padding: 1.05em 2.3em;
    background: linear-gradient(135deg, #16203c 0%, #0a0f1c 100%); border-color: transparent; color:#fff;
    box-shadow: 0 8px 20px rgba(18,36,107,.16); transition: transform .18s ease, box-shadow .18s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18,36,107,.24); }
/* colour variants must come AFTER the base so they win at equal specificity */
.btn.btn--blue { background: linear-gradient(135deg, #2a63ee 0%, #1a4fd6 55%, #12246b 100%); border-color: transparent; color:#fff; }
.btn.btn--blue:hover { background: linear-gradient(135deg, #2f6bff, #1a4fd6); color:#fff; }
.btn.btn--ghost { background: transparent; box-shadow:none; border:1.5px solid var(--ink); color: var(--ink); }
.btn.btn--ghost:hover { background: var(--ink); color:#fff; box-shadow: 0 12px 26px rgba(10,15,28,.22); }
.btn.btn--light { background:#fff; color: var(--blue-deep); border-color:#fff; }
.nav__cta { border-radius:999px; }
.link-arrow { color: var(--blue); }

/* ---- tighter vertical rhythm / less whitespace ---- */
.section { padding: clamp(44px, 6vw, 86px) 0; }
.grid { gap: clamp(22px, 3vw, 40px); }
h2 { margin-bottom: .3em; }
.center.reveal[style] { margin-bottom: 40px !important; }
/* pull section intros tighter to their grids */
.section .center[style*="margin"] { margin-bottom: 40px !important; }

/* ---- hero: real video, poster with slow zoom, motto ---- */
.hero { min-height: min(82vh, 760px); }
.hero__media video, .hero__media img { width:100%; height:100%; object-fit:cover; }
.hero__media img { animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__media::after { background: linear-gradient(180deg, rgba(6,12,40,.35) 0%, rgba(6,12,40,.78) 100%); }
.hero__title { font-size: clamp(2.5rem, 6vw, 5.2rem); }

/* ---- motto ---- */
.motto {
    font-family: var(--serif); font-style: italic; font-weight: 500;
    font-size: clamp(1.15rem, 2.1vw, 1.7rem); line-height: 1.35; margin: 0;
    color: #fff;
}
.motto .amp { color: #ffd166; font-style: normal; }
.motto-band {
    background: linear-gradient(120deg, #12246b 0%, #1a4fd6 100%);
    color:#fff; text-align:center; padding: clamp(30px,4vw,52px) 0;
}
.motto-band .motto { color:#fff; }
.motto-band .eyebrow { color:#cdd7ff; }

/* ---- image job cards (Jobs page) ---- */
.jobs-grid { display:grid; gap: clamp(20px,2.4vw,30px); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.jobcard { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 6px 20px rgba(10,15,28,.05); transition: transform .2s ease, box-shadow .2s ease; }
.jobcard:hover { transform: translateY(-4px); box-shadow:0 16px 36px rgba(10,15,28,.12); }
.jobcard__img { aspect-ratio: 1/1; overflow:hidden; background: var(--paper-2); }
.jobcard__img img { width:100%; height:100%; object-fit:cover; }
.jobcard__body { padding: 20px 22px 24px; display:flex; flex-direction:column; gap:8px; flex:1; }
.jobcard__body h3 { margin:0; }
.jobcard__tags { display:flex; flex-wrap:wrap; gap:6px; }
.jobcard .btn { margin-top: auto; }

/* jobs page search + per-job share */
.job-search { width:100%; padding:14px 20px 14px 48px; border:1.5px solid #e2e6ef; border-radius:14px; font-size:1rem; font-family:inherit; color:var(--ink);
    background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%231a4fd6' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.2-4.2'/></svg>") no-repeat 17px center; transition:border-color .18s, box-shadow .18s; }
.job-search::placeholder { color:#9aa3b8; }
.job-search:hover { border-color:#c7cfe0; }
.job-search:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(26,79,214,.12); }
.jobshare { display:flex; gap:9px; margin-top:14px; padding-top:14px; border-top:1px solid #eef1f6; flex-wrap:wrap; align-items:center; }
.jobshare__btn { display:inline-flex; align-items:center; gap:7px; font-size:.8rem; font-weight:600; padding:8px 15px; border-radius:999px; border:1px solid #e2e6ef; background:#f7f9fc; color:var(--ink); cursor:pointer; text-decoration:none; font-family:inherit; transition:transform .15s, background .15s, border-color .15s, color .15s; }
.jobshare__btn svg { flex:0 0 auto; }
.jobshare__btn:hover { background:#eef2fd; border-color:#c3d0f5; color:var(--blue); transform:translateY(-1px); }
.jobshare__btn.wa { background:#25d366; border-color:#25d366; color:#fff; }
.jobshare__btn.wa:hover { background:#1fbe5b; border-color:#1fbe5b; color:#fff; }

/* ---- tighter page headers / titles site-wide (less white space) ---- */
.eyebrow { margin-bottom: .5rem; }
.section h1 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); margin-bottom: .28em; line-height: 1.12; }
.section h1 + .lead { margin-top: .35rem; }
.lead { line-height: 1.5; }
[style*="margin-bottom:56px"], [style*="margin-bottom: 56px"] { margin-bottom: 22px !important; }
.center[style*="margin:0 auto 60px"], .center[style*="margin:0 auto 56px"] { margin-bottom: 34px !important; }

/* ---- role image band + rounded figures ---- */
.imgband { width:100%; object-fit:cover; height: clamp(260px, 34vw, 460px); display:block; }
.rounded-figure { width:100%; border-radius:16px; object-fit:cover; box-shadow:0 12px 30px rgba(10,15,28,.10); }
.card { border-radius:14px; }
.tier, .paybox { border-radius:14px; }
.dest { border-radius:14px; }

/* ---- misc polish ---- */
.section--tint { background: #f4f6fb; }
.eyebrow { color: var(--blue); }
@media (max-width: 640px){ .hero { min-height: 74vh; } .section { padding: 40px 0; } }
