/* =========================================================
   Jobs in Canada: Your career. Our Canada. Your future.
   Brand: Canada red + lion black, deep night-navy bands,
   brush-script accents taken from the brand banners.
   ========================================================= */
:root {
  color-scheme: light;
  --red: #d52b1e;
  --red-deep: #a51a10;
  --red-soft: #fdecea;
  --navy: #0e1424;
  --navy-2: #1c2742;
  --ink: #0e1424;
  --muted: #586079;
  --line: #e7e2da;
  --paper: #fbf8f4;
  --sky: #eaf3fb;
  --white: #ffffff;
  --gold: #f2b233;
  --ke-black: #111111;
  --ke-green: #0b7a3b;
  --wa: #25d366;
  --wa-deep: #128c4a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 50px -24px rgba(14, 20, 36, .45);
  --shadow-sm: 0 8px 20px -10px rgba(14, 20, 36, .3);
  --f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --f-brand: "Cinzel", Georgia, "Times New Roman", serif;
  --f-script: "Kaushan Script", "Brush Script MT", cursive;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red-deep); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 .5em; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.28rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.script { font-family: var(--f-script); font-weight: 400; color: var(--red); letter-spacing: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #d5dbea; position: relative; overflow: hidden; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--red); font-weight: 800; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 14px; height: 14px; background: url("../assets/maple-red.svg") center / contain no-repeat; }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #aeb8d0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Signature ribbon: Canada red with a fine Kenya stripe ---------- */
.ribbon {
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0 46%, #fff 46% 47%, var(--ke-black) 47% 52%, #fff 52% 53%, var(--ke-green) 53% 58%, #fff 58% 59%, var(--red) 59% 100%);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; min-height: 52px;
  border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 800 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 12px 24px -12px var(--bg);
}
.btn:hover { transform: translateY(-2px); color: var(--fg); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { --bg: var(--wa-deep); }
.btn--navy { --bg: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-brand); font-weight: 700; font-size: 1.28rem; color: var(--ke-black); letter-spacing: .02em; }
.brand-name b { color: var(--red); font-weight: 700; }
.brand-name small { font-size: .62em; color: var(--red); vertical-align: .25em; margin: 0 .15em; }
.brand-sub { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 12px; border-radius: 999px;
  text-decoration: none; color: var(--navy); font-weight: 700; font-size: .95rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--red-soft); color: var(--red-deep); }
.nav-cta { padding: 11px 18px; min-height: 46px; font-size: .95rem; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: .2s;
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 82px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 14px 16px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s ease; visibility: hidden;
    max-height: calc(100vh - 82px); overflow-y: auto;
  }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .menu-open .nav-links { transform: none; visibility: visible; }
}
.nav-links .mobile-only { display: none; }
@media (max-width: 1080px) { .nav-links .mobile-only { display: block; margin-top: 8px; } .nav-links .mobile-only a { background: var(--wa-deep); color: #fff; text-align: center; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 72px) 0 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 255, 255, .9), transparent 60%),
    linear-gradient(180deg, #d9ebfa 0%, #eef6fc 45%, var(--paper) 100%);
}
.hero::before {
  content: ""; position: absolute; left: -120px; top: 40px; width: 420px; height: 420px; opacity: .06;
  background: url("../assets/maple-red.svg") center / contain no-repeat; transform: rotate(-14deg); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
.hero h1 { margin-bottom: .2em; }
.hero h1 .script { display: block; font-size: .7em; margin-top: .12em; line-height: 1.15; transform: rotate(-2deg); transform-origin: left; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-size: 1.15rem; color: #2f3850; max-width: 560px; margin-top: 18px; }
.karibu {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.karibu .flags { display: inline-flex; }
.karibu .flags span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.karibu .flags span + span { margin-left: -7px; }
.flag-ke { background: linear-gradient(var(--ke-black) 0 30%, #fff 30% 35%, var(--red) 35% 65%, #fff 65% 70%, var(--ke-green) 70%); }
.flag-ca { background: linear-gradient(90deg, var(--red) 0 25%, #fff 25% 75%, var(--red) 75%); position: relative; }
.flag-ca::after { content: ""; position: absolute; inset: 5px; background: url("../assets/maple-red.svg") center / contain no-repeat; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-weight: 700; font-size: .93rem; color: var(--navy); }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 18px; height: 18px; color: var(--ke-green); flex: none; }

/* hero photo collage */
.hero-art { position: relative; min-height: 520px; }
.hero-photo {
  position: absolute; right: 0; top: 0; width: 82%; aspect-ratio: 1 / 1.08;
  border-radius: 260px 260px 28px 28px; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow); background: #cfe1f2;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 12px;
  background: linear-gradient(90deg, var(--red) 0 25%, #fff 25% 75%, var(--red) 75%);
}
.hero-photo-2 {
  position: absolute; left: 0; bottom: 30px; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow); background: #f3d7b4;
}
.hero-photo-2 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px;
  display: flex; gap: 10px; align-items: center; font-size: .85rem; font-weight: 700; color: var(--navy); line-height: 1.3;
}
.float-card .fc-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.float-card .fc-ic svg { width: 20px; height: 20px; }
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: .76rem; }
.float-card.fc-1 { left: 4%; top: 12%; animation: bob 6s ease-in-out infinite; }
.float-card.fc-2 { right: -4%; bottom: 8%; animation: bob 7s ease-in-out infinite reverse; }
.float-card.fc-2 .fc-ic { background: var(--ke-green); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-plane { position: absolute; right: 8%; top: -6px; width: 64px; color: var(--navy); opacity: .75; transform: rotate(18deg); }

.skyline-band {
  position: relative; height: clamp(60px, 9vw, 110px); margin-top: clamp(24px, 4vw, 40px);
  background: url("../assets/img/skyline.webp") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
}

/* ---------- Pillars band (dark) ---------- */
.pillars { background: var(--navy); color: #d5dbea; position: relative; }
.pillars::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 28px 22px; border-left: 1px solid rgba(255, 255, 255, .1); }
.pillar:first-child { border-left: 0; }
.pillar .pi { width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 5px rgba(213, 43, 30, .2); }
.pillar .pi svg { width: 24px; height: 24px; }
.pillar b { display: block; color: #fff; font-size: 1rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; }
.pillar span { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.45; color: #aeb8d0; }

/* ---------- Strip ---------- */
.strip { background: var(--navy); color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.12); }
.strip-item:first-child { border-left: 0; }
.strip-item b { display: block; font-family: var(--f-display); font-size: 1.9rem; line-height: 1.1; color: #fff; }
.strip-item span { font-size: .9rem; color: #aeb8d0; }

/* ---------- Jobs / sectors ---------- */
.jobs-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sector {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.sector .si { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; transition: background .2s; }
.sector:hover .si { background: var(--red); }
.sector .si svg { width: 26px; height: 26px; }
.sector h3 { font-size: 1.05rem; margin: 2px 0 4px; text-transform: uppercase; letter-spacing: .02em; }
.sector p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.sector .ask { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: .85rem; font-weight: 800; color: var(--red); }
.jobs-side { position: sticky; top: 96px; background: var(--navy); color: #d5dbea; border-radius: 24px; padding: 26px; overflow: hidden; }
.jobs-side h3 { color: #fff; font-family: var(--f-script); font-weight: 400; font-size: 1.7rem; line-height: 1.2; }
.faces { display: flex; justify-content: center; margin: 18px 0 20px; }
.faces figure { margin: 0; width: 94px; text-align: center; }
.faces figure + figure { margin-left: -10px; }
.faces img { width: 86px; height: 86px; margin: 0 auto; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--red); }
.faces figcaption { font-size: .72rem; color: #aeb8d0; margin-top: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.jobs-side ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; font-size: .93rem; }
.jobs-side li { display: flex; gap: 10px; }
.jobs-side li svg { width: 18px; height: 18px; color: #3ecf7a; flex: none; margin-top: 3px; }
.honest-note { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--red-soft); border: 1px solid #f6c9c4; font-size: .93rem; color: #5a1a14; }
.honest-note strong { color: var(--red-deep); }

/* ---------- Pathway cards ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  overflow: hidden;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.path-card--feature { background: var(--navy); color: #d5dbea; border-color: var(--navy); }
.path-card--feature h3 { color: #fff; }
.path-card--feature p { color: #aeb8d0 !important; }
.path-card--feature:hover { color: #d5dbea; }
.path-card--feature .stamp { border-color: #fff; color: #fff; }
.path-card--feature .stamp-inner { border-color: #fff; }
.path-card--feature::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px; background: url("../assets/maple.svg") center / contain no-repeat; opacity: .12; }
.stamp {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  border: 2.5px dashed var(--red); color: var(--red); transform: rotate(-8deg); margin-bottom: 6px;
  transition: transform .3s ease;
}
.stamp-inner { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--red); display: grid; place-items: center; }
.stamp svg { width: 28px; height: 28px; }
.path-card:hover .stamp { transform: rotate(4deg) scale(1.05); }
.path-card h3 { margin: 0; }
.path-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.path-card .more { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--red); display: inline-flex; gap: 6px; align-items: center; }
.path-card .tag {
  position: absolute; top: 22px; right: 22px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
  color: var(--navy); background: var(--paper); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px;
}
.path-card--feature .tag { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Pathway finder ---------- */
.finder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; position: relative; }
.finder-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.finder-progress { height: 6px; background: #edf0f7; border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.finder-progress i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--red), var(--red-deep)); transition: width .3s ease; }
.finder-step { display: none; }
.finder-step.active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.finder-step h3 { font-size: 1.4rem; }
.finder-count { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.option {
  text-align: left; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fffdf9; cursor: pointer;
  font: 700 .98rem var(--f-body); color: var(--navy); transition: .15s; min-height: 56px; display: flex; align-items: center; gap: 10px;
}
.option:hover { border-color: var(--navy); background: #fff; }
.option[aria-pressed="true"] { border-color: var(--red); background: var(--red-soft); color: var(--red-deep); }
.option .ico { font-size: 1.25rem; }
.finder-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.finder-back { background: none; border: 0; font: 700 .95rem var(--f-body); color: var(--muted); cursor: pointer; padding: 10px 4px; }
.finder-back:disabled { visibility: hidden; }
.result-badge { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; background: var(--ke-green); color: #fff; padding: 5px 10px; border-radius: 6px; margin-bottom: 12px; }
.result h3 { font-size: 1.7rem; }
.result ul { padding-left: 20px; margin: 0 0 18px; }
.result li { margin-bottom: 6px; }
.result .alt { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .95rem; margin-bottom: 18px; }
.finder-side ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.finder-side li { display: flex; gap: 14px; align-items: flex-start; }
.finder-side li b { color: #fff; display: block; }
.finder-side .num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-size: .8rem; font-weight: 800; color: #fff; }

/* ---------- Happy faces gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-template-rows: 250px 250px; gap: 14px; }
.gallery figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:nth-child(1) { grid-row: span 2; }
.gallery figure:nth-child(1) img { object-position: 50% 30%; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-family: var(--f-script); font-size: 1.3rem; color: #fff; line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.gallery figure::after { content: ""; position: absolute; inset: 50% 0 0 0; background: linear-gradient(transparent, rgba(14,20,36,.55)); pointer-events: none; }
.gallery figcaption { z-index: 1; }
.live-work { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-top: 30px; font-family: var(--f-script); font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--navy); }
.live-work span:nth-child(2) { color: var(--red); }
.photo-note { text-align: center; color: var(--muted); font-size: .8rem; margin: 14px 0 0; }

/* ---------- Journey ---------- */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: step; }
.journey::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; border-top: 2px dashed #c8cdd9; }
.journey li { position: relative; text-align: center; padding: 0 6px; }
.journey .dot {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--navy); display: grid; place-items: center; color: var(--navy);
}
.journey li:last-child .dot { background: var(--red); border-color: var(--red); color: #fff; }
.journey .dot svg { width: 26px; height: 26px; }
.journey .stop { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 800; }
.journey h3 { font-size: 1.12rem; margin: 4px 0 6px; }
.journey p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Checklist ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab {
  padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font: 700 .95rem var(--f-body); color: var(--navy); min-height: 46px;
}
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.checklist-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.checklist li + li { border-top: 1px dashed var(--line); }
.checklist label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 12px; cursor: pointer; border-radius: 10px; }
.checklist label:hover { background: var(--paper); }
.checklist input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 1px 0 0; border: 2px solid #b8c0d6; border-radius: 7px; display: grid; place-items: center; cursor: pointer; background: #fff; }
.checklist input:checked { background: var(--ke-green); border-color: var(--ke-green); }
.checklist input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.checklist .t { font-weight: 700; color: var(--navy); display: block; }
.checklist .d { font-size: .9rem; color: var(--muted); }
.checklist input:checked + span .t { text-decoration: line-through; text-decoration-color: rgba(11,122,59,.5); }
.meter-card { position: sticky; top: 96px; background: var(--navy); color: #d5dbea; border-radius: var(--radius); padding: 26px; }
.meter-card h3 { color: #fff; }
.meter { height: 12px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; margin: 14px 0 8px; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ke-green), #3ecf7a); transition: width .3s ease; }
.meter-num { font-family: var(--f-display); font-size: 2.6rem; color: #fff; line-height: 1; font-weight: 800; }

/* ---------- Safety: promises + scam shield ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.promise { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ke-green); border-radius: 16px; padding: 22px; }
.promise .pi { width: 44px; height: 44px; border-radius: 12px; background: #e8f6ee; color: var(--ke-green); display: grid; place-items: center; margin-bottom: 12px; }
.promise .pi svg { width: 22px; height: 22px; }
.promise h3 { font-size: 1.06rem; margin-bottom: 6px; }
.promise p { margin: 0; color: var(--muted); font-size: .93rem; }
.shield { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.shield-badge { position: relative; background: var(--red); color: #fff; border-radius: 26px; padding: 34px; overflow: hidden; }
.shield-badge::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; background: url("../assets/maple.svg") center / contain no-repeat; opacity: .14; }
.shield-badge h2 { color: #fff; }
.shield-badge p { color: #ffe2df; }
.shield-badge .eyebrow { color: #fff; }
.flags-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flags-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 16px 18px; }
.flags-list b { display: block; color: var(--navy); margin-bottom: 2px; }
.flags-list span { font-size: .93rem; color: var(--muted); }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-item .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 14px; }
.why-item .ic svg { width: 24px; height: 24px; }
.why-item p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Assessment ---------- */
.assess { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.assess-photo { margin: 26px 0 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.assess-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.assess-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); position: relative; }
.assess-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 24px 24px 0 0; background: linear-gradient(90deg, var(--red) 0 25%, #fff 25% 75%, var(--red) 75%); }
.contact-lines { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; }
.contact-lines a:hover { border-color: var(--navy); }
.contact-lines .ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; flex: none; }
.contact-lines .ci.wa { background: var(--wa-deep); }
.contact-lines .ci svg { width: 20px; height: 20px; }
.contact-lines small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .field .legend { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 600 1rem var(--f-body); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fffdf9;
  transition: border-color .15s, box-shadow .15s; min-height: 50px;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e1424' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(14, 20, 36, .1); }
.field.invalid input, .field.invalid select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(213, 43, 30, .12); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; color: var(--wa-deep); flex: none; margin-top: 3px; }
.hp { position: absolute; left: -9999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font-weight: 800; color: var(--navy); font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: #3b4462; }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,20,36,.96) 35%, rgba(14,20,36,.55)), url("../assets/img/mountains.webp") right center / cover no-repeat; }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band h2 .script { display: block; font-size: .8em; }
.cta-band p { color: #d5dbea; margin: 0; font-size: 1.08rem; }
.cta-band .acts { display: flex; flex-direction: column; gap: 10px; position: relative; }

/* ---------- Service page pieces ---------- */
.page-hero { padding: clamp(36px, 6vw, 70px) 0 clamp(40px, 6vw, 70px); position: relative; overflow: hidden;
  background: linear-gradient(180deg, #e3effa 0%, var(--paper) 100%); }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 360px; height: 360px; background: url("../assets/maple-red.svg") center / contain no-repeat; opacity: .06; transform: rotate(12deg); pointer-events: none; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.page-hero .stamp { width: 110px; height: 110px; border-width: 3px; }
.page-hero .stamp-inner { width: 88px; height: 88px; }
.page-hero .stamp svg { width: 42px; height: 42px; }
.facts { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; font-weight: 800; }
.facts dd { margin: 0; font-weight: 800; color: var(--navy); text-align: right; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: 96px; background: var(--navy); color: #d5dbea; border-radius: 20px; padding: 26px; }
.aside-card h3 { color: #fff; }
.aside-card ul { padding-left: 18px; margin: 0 0 18px; font-size: .95rem; }
.steps { list-style: none; padding: 0; margin: 0 0 1em; counter-reset: s; }
.steps li { position: relative; padding: 0 0 22px 58px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.steps li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; border-left: 2px dashed #d5d9e6; }
.steps li:last-child::after { display: none; }
.steps b { color: var(--navy); display: block; }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .97rem; }
.fee-table th, .fee-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table th { background: var(--navy); color: #fff; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table td:last-child { font-weight: 800; color: var(--navy); white-space: nowrap; }
.callout { border-left: 4px solid var(--ke-green); background: #eef8f1; padding: 16px 18px; border-radius: 0 12px 12px 0; margin: 1.2em 0; }
.callout.warn { border-color: var(--red); background: var(--red-soft); }
.callout p:last-child { margin: 0; }
.kenya-tip { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.kenya-tip .k { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ke-black); color: #fff; font-size: .7rem; display: grid; place-items: center; font-weight: 800; }
.kenya-tip p { margin: 0; font-size: .96rem; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related a { display: block; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 800; color: var(--navy); }
.related a span { display: block; font-weight: 600; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.related a:hover { border-color: var(--red); color: var(--red-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9b2c9; padding: 64px 0 110px; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 25%, #fff 25% 75%, var(--red) 75%); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: var(--f-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #d5dbea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-brand img { width: 120px; height: 120px; border-radius: 18px; background: #fff; margin-bottom: 16px; object-fit: contain; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: .84rem; display: grid; gap: 8px; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none; padding: 12px 18px 12px 12px; border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .7); font-weight: 800;
}
.wa-fab:hover { color: #fff; transform: translateY(-2px); }
.wa-fab .ring { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; position: relative; }
.wa-fab .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-fab svg { width: 24px; height: 24px; }
.mobile-bar { display: none; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-fab .ring::after, .float-card { animation: none; }
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .finder, .shield, .assess, .page-hero-grid, .two-col, .checklist-wrap, .jobs-layout { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; aspect-ratio: 1 / .95; max-width: 560px; width: 100%; margin: 0 auto; }
  .paths, .why { grid-template-columns: 1fr 1fr; }
  .promises { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before { top: 10px; bottom: 10px; left: 31px; right: auto; border-top: 0; border-left: 2px dashed #c8cdd9; }
  .journey li { text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 0 0 24px; }
  .journey .dot { margin: 0; grid-row: span 3; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .aside-card, .meter-card, .jobs-side { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .gallery figure:nth-child(1) { grid-row: span 2; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { height: 70px; }
  .nav-links { inset: 76px 0 auto 0; max-height: calc(100vh - 76px); }
  .paths, .why, .flags-list, .grid-2, .grid-3, .sectors, .promises { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item { padding: 18px 14px; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .strip-item b { font-size: 1.5rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 4px; }
  .pillar:first-child { border-top: 0; }
  .options { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { font-size: .76rem; padding: 9px 10px; }
  .float-card .fc-ic { width: 30px; height: 30px; }
  .float-card.fc-2 { right: 0; }
  .float-card.fc-1 { left: 0; top: 4%; }
  .finder-card, .assess-card { padding: 20px; }
  .assess-photo { display: none; }
  .wa-fab { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; gap: 10px; }
  .gallery figcaption { font-size: 1.05rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -14px rgba(14,20,36,.35);
  }
  .mobile-bar .btn { min-height: 48px; padding: 10px 12px; font-size: .95rem; }
  .brand-name { font-size: 1.06rem; }
  .brand img { width: 48px; height: 48px; }
  .brand-sub { font-size: .5rem; letter-spacing: .14em; }
  .fee-table { font-size: .9rem; }
  .fee-table th, .fee-table td { padding: 11px 12px; }
  .facts dl div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}
@media (max-width: 380px) { .brand-sub { display: none; } }

/* Keep grid children from forcing horizontal scroll on small screens */
.hero-grid > *, .finder > *, .shield > *, .assess > *, .page-hero-grid > *, .two-col > *, .checklist-wrap > *, .grid-2 > *, .grid-3 > *, .jobs-layout > * { min-width: 0; }

/* WhatsApp send panel (shown when pop-ups are blocked) */
.wa-panel { position: fixed; inset: 0; z-index: 100; background: rgba(14, 20, 36, .6); display: grid; place-items: center; padding: 16px; }
.wa-panel[hidden] { display: none; }
.wa-panel-box { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 26px 22px 22px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.wa-panel-box h3 { margin: 0; }
.wa-panel-box p { margin: 0; color: var(--muted); }
.wa-panel-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); font-size: 1.4rem; cursor: pointer; color: var(--navy); }
.wa-panel-label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.wa-panel textarea { width: 100%; min-height: 120px; font: 500 .9rem var(--f-body); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; resize: vertical; color: var(--ink); background: #fffdf9; }

/* ---------- Apply Now form (popup + inline) ---------- */
.modal-open, .modal-open body { overflow: hidden; }
.order-modal { position: fixed; inset: 0; z-index: 90; background: rgba(14, 20, 36, .62); overflow-y: auto; padding: 24px 16px; display: block; -webkit-overflow-scrolling: touch; }
.order-modal[hidden] { display: none; }
.order-box { position: relative; width: 100%; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 30px clamp(18px, 4vw, 34px) 26px; box-shadow: var(--shadow); animation: fadeUp .25s ease; }
.order-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 24px 24px 0 0; background: linear-gradient(90deg, var(--red) 0 25%, #fff 25% 75%, var(--red) 75%); }
.order-head h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: .3em; }
.order-head p { color: var(--muted); margin-bottom: 20px; }
.order-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--navy); }
.order-close:hover { background: var(--red-soft); color: var(--red-deep); }
.fset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.fset .legend { padding: 0; margin-bottom: 8px; display: block; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choices--stack { grid-template-columns: 1fr; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fffdf9; font-weight: 700; color: var(--navy); transition: .15s; }
.choice > span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b8c0d6; background: #fff; transition: .15s; }
.choice--check > span::before { border-radius: 6px; }
.choice > span b { display: block; }
.choice > span small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.choice--check > span { align-items: flex-start; }
.choice--check > span::before { margin-top: 2px; }
.choice:hover > span { border-color: var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.choice input:checked + span { border-color: var(--red); background: var(--red-soft); }
.choice input:checked + span::before { border-color: var(--red); background: var(--red) radial-gradient(circle, #fff 0 3px, transparent 4px); }
.choice--check input:checked + span::before { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.field.invalid .choice > span { border-color: var(--red); }
.notice { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d38b; color: #5c4210; font-size: .9rem; line-height: 1.5; }
.notice b { color: #3d2b05; }
.notice--stop { background: var(--red-soft); border-color: #f6c9c4; color: #5a1a14; }
.notice--stop b { color: var(--red-deep); }
.passport-photo { margin-top: 10px; }
.upload { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px dashed #b8c0d6; border-radius: 12px; background: #f7f9fc; cursor: pointer; }
.upload:hover { border-color: var(--navy); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload input:focus-visible ~ .upload-txt { outline: 3px solid var(--red); outline-offset: 2px; }
.upload-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.upload-ic svg { width: 22px; height: 22px; }
.upload-txt { flex: 1; min-width: 0; font-size: .92rem; color: var(--navy); }
.upload-txt b { display: block; }
.upload-txt small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.upload-preview { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; border: 2px solid #fff; box-shadow: var(--shadow-sm); flex: none; }
.upload-preview[hidden] { display: none; }
.order-extra { margin-bottom: 14px; padding: 10px 14px; border-radius: 12px; background: #e8f6ee; color: var(--ke-green); font-weight: 800; font-size: .9rem; }
.order-extra[hidden] { display: none; }
.order-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 720px) {
  .order-modal { padding: 0; }
  .order-box { border-radius: 0; min-height: 100%; padding-top: 34px; }
  .order-box::before { border-radius: 0; }
  .choices { grid-template-columns: 1fr; }
}

/* choice + upload labels sit inside .field: undo the small-caps field-label style */
.field .choice, .field .upload { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 600; color: var(--navy); }
.choice--check > span { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; row-gap: 2px; }
.choice--check > span::before { grid-row: span 2; }
.choice--check > span b, .choice--check > span small { grid-column: 2; }
