/* =========================================================
   Xeebuild Limited — site styles
   ========================================================= */
:root {
  --navy-900: #061528;
  --navy-800: #0a1f3a;
  --navy-700: #0f2c52;
  --blue-600: #1452cc;
  --blue-500: #1e6bff;
  --cyan-400: #19c3e6;
  --teal-400: #22d3a6;
  --amber-400: #ffb400;
  --amber-500: #f59e0b;

  --ink: #0b1b30;
  --ink-2: #3c4b61;
  --ink-3: #6b7a90;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --card: #ffffff;

  /* division colours */
  --care: #0fb5a5;
  --build: #f5a300;
  --ware: #2f6fed;
  --safe: #e5484d;
  --host: #8e5cf7;

  --accent: var(--blue-500);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(10, 31, 58, .06);
  --shadow: 0 12px 32px rgba(10, 31, 58, .10);
  --shadow-lg: 0 24px 60px rgba(6, 21, 40, .22);
  --max: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-800); color: #dce6f5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.section--dark .section-head p { color: #b9c7dc; }
.hl { color: var(--accent); }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  font-family: inherit; text-decoration: none !important; line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -8px var(--accent); }
.btn--amber { background: var(--amber-400); color: var(--navy-900); box-shadow: 0 10px 24px -8px rgba(255,180,0,.7); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: #b9c7dc; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #dce6f5; }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar--hiring { background: linear-gradient(90deg, #0b3a9a, var(--blue-600) 50%, #0b3a9a); color: #fff; }
.topbar--hiring .container { justify-content: center; min-height: 44px; }
.hiring-banner { margin: 0; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; padding: 6px 0; font-size: .9rem; }
.hiring-banner strong {
  background: var(--amber-400); color: var(--navy-900); padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.hiring-banner a { color: var(--amber-400); font-weight: 700; white-space: nowrap; }
.hiring-banner__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 0 rgba(34,211,166,.7); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,166,.7); } 70% { box-shadow: 0 0 0 9px rgba(34,211,166,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,166,0); } }
.brand__name { letter-spacing: .06em; }
.brand__name small { letter-spacing: .14em; }
.brand__tag { display: block; font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); margin-top: 1px; white-space: nowrap; }
.brand__tag b { color: var(--blue-600); font-weight: 800; font-size: .8rem; }
.site-footer .brand__tag { color: #7f93b2; }
.site-footer .brand__tag b { color: var(--cyan-400); }

/* WhatsApp */
.wa-float {
  position: fixed; right: 30px; bottom: 98px; z-index: 89; width: 48px; height: 48px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.socials a.is-wa { background: #25d366; }
.dicon--wa { --c: #128c4b; }
.dicon--wa svg { fill: currentColor; width: 22px; height: 22px; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.25rem; text-decoration: none !important; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 18px -6px rgba(20,82,204,.6);
}
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > button {
  color: var(--ink); font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 10px;
  background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav__drop > button:hover, .nav > a.is-active { background: var(--bg-soft); text-decoration: none; color: var(--blue-600); }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px; width: 340px; opacity: 0; visibility: hidden; transition: .18s ease;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.nav__menu a:hover { background: var(--bg-soft); text-decoration: none; }
.nav__menu strong { display: block; font-size: .95rem; }
.nav__menu span { font-size: .8rem; color: var(--ink-3); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---------- Division icon chip ---------- */
.dicon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--c) 14%, white); color: var(--c);
}
.dicon svg { width: 24px; height: 24px; }
.c-care { --c: var(--care); } .c-build { --c: var(--build); } .c-ware { --c: var(--ware); }
.c-safe { --c: var(--safe); } .c-host { --c: var(--host); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(25,195,230,.28), transparent 60%),
    radial-gradient(700px 500px at 70% 100%, rgba(34,211,166,.18), transparent 60%),
    linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 55%, #0c3b8a 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 640px; padding-top: 40px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .88rem; color: #dce6f5; margin-bottom: 22px;
}
.hero__badge b { background: var(--teal-400); color: var(--navy-900); padding: 3px 10px; border-radius: 999px; font-size: .75rem; white-space: nowrap; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--cyan-400); }
.hero__lead { font-size: 1.15rem; color: #c6d4ea; max-width: 560px; margin-bottom: 30px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: #fff; font-size: .88rem; font-weight: 600;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: .2s;
}
.hero__chips a:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.hero__chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.hero__media { position: relative; align-self: center; padding: 40px 0; }

/* Orbit graphic */
.orbit { --spin: 60s; position: relative; width: min(500px, 100%); aspect-ratio: 1; margin: 0 auto; }
.orbit__glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(25,195,230,.45), rgba(34,211,166,.12) 55%, transparent 72%); filter: blur(10px); }
.orbit__ring { position: absolute; border-radius: 50%; }
.orbit__ring--inner { inset: 27%; border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 0 40px rgba(25,195,230,.15); }
.orbit__ring--outer { inset: 11%; border: 1.5px dashed rgba(255,255,255,.28); animation: orbit-spin var(--spin) linear infinite; }
.orbit__core {
  position: absolute; inset: 34%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 0 60px rgba(25,195,230,.55), 0 20px 50px -10px rgba(6,21,40,.6);
}
.orbit__x { font-size: clamp(3rem, 9vw, 5rem); font-weight: 800; line-height: 1; color: #fff; }
.orbit__label { font-size: clamp(.6rem, 1.4vw, .8rem); font-weight: 800; letter-spacing: .22em; color: rgba(255,255,255,.9); }
.orbit__node { position: absolute; transform: translate(-50%, -50%); text-decoration: none !important; }
.orbit__pill {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; white-space: nowrap;
  background: #fff; color: var(--ink); box-shadow: 0 12px 30px -8px rgba(6,21,40,.55), 0 0 0 4px color-mix(in srgb, var(--c) 35%, transparent);
  animation: orbit-spin var(--spin) linear infinite reverse; transition: box-shadow .2s;
}
.orbit__node:hover .orbit__pill { box-shadow: 0 12px 30px -8px rgba(6,21,40,.55), 0 0 0 6px var(--c); }
.orbit__pill .dicon { width: 34px; height: 34px; border-radius: 50%; }
.orbit__pill .dicon svg { width: 18px; height: 18px; }
.orbit__pill b { display: block; font-size: .92rem; line-height: 1.1; color: var(--c); filter: brightness(.85); }
.orbit__pill small { display: block; font-size: .7rem; color: var(--ink-3); line-height: 1.2; }
.orbit:hover .orbit__ring--outer, .orbit:hover .orbit__pill { animation-play-state: paused; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.hero__float {
  position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-size: .88rem; animation: float 5s ease-in-out infinite;
}
.hero__float strong { display: block; font-size: 1.05rem; }
.hero__float--a { left: -10px; top: 22%; }
.hero__float--b { right: 0; bottom: 18%; animation-delay: -2.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* page hero (division / inner pages) */
.page-hero { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--c, var(--cyan-400)) 45%, transparent), transparent 60%),
              linear-gradient(120deg, var(--navy-900), var(--navy-700));
}
.page-hero .container { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-hero p.lead { color: #c6d4ea; font-size: 1.12rem; max-width: 620px; }
.page-hero .eyebrow { color: var(--c, var(--cyan-400)); }
/* Construction-only branded hero: matches the XeeBuild logo's charcoal & gold */
.page-hero--logo {
  --c: #f2b705;
  background: radial-gradient(700px 420px at 85% 40%, rgba(242,183,5,.13), transparent 65%), linear-gradient(120deg, #12151c 0%, #13161d 45%, #181c25 100%);
}
.page-hero--logo .container { padding-top: 56px; }
.division-logo {
  width: 100%; max-width: 520px; height: auto; margin: 0 0 22px -12px;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%);
}
.page-hero--logo .btn--amber { background: #f2b705; }
.crumbs { font-size: .85rem; color: #9fb2cf; margin-bottom: 18px; }
.crumbs a { color: #dce6f5; }
.page-hero__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px;
  backdrop-filter: blur(6px);
}
.page-hero__card h3 { color: #fff; font-size: 1.05rem; }
.page-hero__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.page-hero__card li { display: flex; gap: 10px; align-items: flex-start; color: #dce6f5; font-size: .95rem; }
.page-hero__card li::before { content: "✓"; color: var(--c, var(--teal-400)); font-weight: 800; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.trust__item { display: flex; gap: 14px; align-items: center; }
.trust__item strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.trust__item span { color: var(--ink-3); font-size: .9rem; }

/* ---------- Division cards ---------- */
.divisions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.dcard {
  grid-column: span 2; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; overflow: hidden;
}
.dcard:nth-child(4), .dcard:nth-child(5) { grid-column: span 3; }
.dcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.dcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, white); }
.dcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dcard__tag { font-size: .75rem; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 10%, white); padding: 5px 10px; border-radius: 999px; }
.dcard h3 { font-size: 1.5rem; margin-bottom: 4px; }
.dcard h3 span { color: var(--c); }
.dcard__sub { color: var(--ink-3); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.dcard p { color: var(--ink-2); font-size: .97rem; }
.dcard ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.dcard li { font-size: .8rem; background: var(--bg-soft); padding: 5px 10px; border-radius: 8px; color: var(--ink-2); }
.dcard__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.dcard__actions .btn { padding: 11px 18px; font-size: .88rem; }
.dcard__actions .btn--primary { background: var(--c); box-shadow: 0 10px 22px -10px var(--c); }

/* ---------- Split (employers / candidates) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
  border-radius: 24px; padding: 44px; position: relative; overflow: hidden; color: #fff; min-height: 340px; display: flex; flex-direction: column;
}
.panel--emp { background: linear-gradient(140deg, var(--blue-600), #0b3a9a); }
.panel--cand { background: linear-gradient(140deg, #0e7c86, #0a4f6a); }
.panel h3 { font-size: 1.8rem; color: #fff; }
.panel p { color: rgba(255,255,255,.85); max-width: 460px; }
.panel ul { padding: 0; list-style: none; margin: 0 0 26px; display: grid; gap: 8px; }
.panel li { display: flex; gap: 10px; color: rgba(255,255,255,.92); }
.panel li::before { content: "→"; color: var(--amber-400); font-weight: 800; }
.panel .btn { margin-top: auto; align-self: flex-start; }
.panel::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.07); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step); font-weight: 800; font-size: .85rem; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white); padding: 6px 10px; border-radius: 8px; display: inline-block; margin-bottom: 16px;
}
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.section--dark .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--dark .step p { color: #b9c7dc; }

/* ---------- Features / why ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.feature .ficon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(25,195,230,.14); color: var(--cyan-400); margin-bottom: 16px; }
.feature .ficon svg { width: 24px; height: 24px; }
.feature p { color: #b9c7dc; margin: 0; font-size: .96rem; }
.section:not(.section--dark) .feature { background: #fff; border-color: var(--line); }
.section:not(.section--dark) .feature p { color: var(--ink-2); }

/* ---------- Roles table ---------- */
.roles { display: grid; gap: 12px; }
.role {
  display: grid; grid-template-columns: 2.2fr 1fr 1.2fr 1.2fr auto; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; transition: .2s;
}
.role:hover { border-color: color-mix(in srgb, var(--c) 50%, white); box-shadow: var(--shadow-sm); }
.role__title { font-weight: 700; display: flex; align-items: center; gap: 12px; }
.role__title .dicon { width: 36px; height: 36px; border-radius: 10px; }
.role__title .dicon svg { width: 18px; height: 18px; }
.role__meta { font-size: .9rem; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.role__type { font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); justify-self: start; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filters button {
  border: 1px solid var(--line); background: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; font-family: inherit; color: var(--ink-2);
}
.filters button.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.quote__stars { color: var(--amber-400); letter-spacing: 2px; margin-bottom: 10px; }
.quote p { color: var(--ink-2); flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.quote footer b { display: block; font-size: .95rem; }
.quote footer span { font-size: .82rem; color: var(--ink-3); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c, var(--blue-600)); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  background: radial-gradient(500px 300px at 100% 0%, rgba(25,195,230,.35), transparent 60%), linear-gradient(120deg, var(--navy-800), var(--blue-600));
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c6d4ea; margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Forms ---------- */
.lead-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.lead-aside h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lead-aside p { color: var(--ink-2); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .dicon { --c: var(--blue-600); }
.contact-list b { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.tabs button {
  padding: 18px; font-weight: 700; font-family: inherit; font-size: .98rem; border: 0; background: transparent; cursor: pointer; color: var(--ink-3);
  border-bottom: 3px solid transparent;
}
.tabs button[aria-selected="true"] { color: var(--ink); background: #fff; border-bottom-color: var(--accent); }
.form { padding: 30px; display: none; }
.form.is-active { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field label .req { color: var(--safe); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .97rem; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.field input[type="file"] { padding: 10px; background: var(--bg-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.form__note { font-size: .82rem; color: var(--ink-3); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #e8faf3; color: #0d6b4f; border: 1px solid #b6ecd8; }
.form-status.err { display: block; background: #fdeeee; color: #9b1c1f; border: 1px solid #f6c9ca; }

/* ---------- Division page bits ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; gap: 14px; }
.sector h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sector p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.rolelist { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rolelist span { background: #fff; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.rolelist span::before { content: "•"; color: var(--c); margin-right: 8px; }
.compliance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.compliance div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 20px; }
.compliance b { color: #fff; display: block; margin-bottom: 4px; }
.compliance span { color: #b9c7dc; font-size: .9rem; }
.other-divs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.other-divs a { display: flex; gap: 12px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; transition: .2s; }
.other-divs a:hover { border-color: var(--c); text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.other-divs b { display: block; }
.other-divs span { font-size: .82rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb2cf; padding: 72px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c6d4ea; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: #7f93b2; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--blue-600); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__float, .orbit__ring--outer, .orbit__pill, .hiring-banner__pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   AI assistant (Xee)
   ========================================================= */
.xee-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #fff; box-shadow: 0 14px 34px -8px rgba(20,82,204,.7);
  display: grid; place-items: center; transition: transform .2s;
}
.xee-launcher:hover { transform: scale(1.06); }
.xee-launcher svg { width: 30px; height: 30px; }
.xee-launcher::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(25,195,230,.5); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.xee-launcher .xee-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-400); border: 2px solid #fff; }

/* welcome pop-up */
.xee-pop-backdrop {
  position: fixed; inset: 0; background: rgba(6,21,40,.55); backdrop-filter: blur(3px); z-index: 95;
  display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .25s;
}
.xee-pop-backdrop.is-open { opacity: 1; visibility: visible; }
.xee-pop {
  width: 100%; max-width: 520px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(20px) scale(.98); transition: transform .3s ease;
}
.xee-pop-backdrop.is-open .xee-pop { transform: none; }
.xee-pop__head {
  position: relative; padding: 30px 30px 26px; color: #fff;
  background: radial-gradient(400px 200px at 100% 0%, rgba(25,195,230,.45), transparent 60%), linear-gradient(120deg, var(--navy-800), var(--blue-600));
}
.xee-pop__head h3 { color: #fff; font-size: 1.5rem; margin: 14px 0 6px; }
.xee-pop__head p { color: #c6d4ea; margin: 0; }
.xee-pop__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; cursor: pointer; }
.xee-avatar { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.14); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); }
.xee-avatar svg { width: 28px; height: 28px; }
.xee-pop__body { padding: 24px 30px 30px; }
.xee-pop__body > p { font-weight: 700; margin-bottom: 14px; }
.xee-choices { display: grid; gap: 10px; }
.xee-choice {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; font-family: inherit; font-size: .98rem; color: var(--ink); transition: .15s;
}
.xee-choice:hover { border-color: var(--blue-500); background: #f5f9ff; }
.xee-choice b { display: block; }
.xee-choice span { font-size: .85rem; color: var(--ink-3); }
.xee-choice .dicon { --c: var(--blue-600); }
.xee-pop__divs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; justify-content: center; }
.xee-pop__divs span { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); }
.xee-pop__skip { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--ink-3); font-family: inherit; cursor: pointer; font-size: .88rem; }

/* chat panel */
.xee-panel {
  position: fixed; right: 22px; bottom: 100px; z-index: 96; width: 390px; max-width: calc(100vw - 32px); height: 600px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .22s ease; border: 1px solid var(--line);
}
.xee-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.xee-panel__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: #fff; background: linear-gradient(120deg, var(--navy-800), var(--blue-600)); }
.xee-panel__head .xee-avatar { width: 40px; height: 40px; border-radius: 12px; }
.xee-panel__head .xee-avatar svg { width: 22px; height: 22px; }
.xee-panel__head b { display: block; }
.xee-panel__head span { font-size: .8rem; color: #b9e9f5; display: flex; align-items: center; gap: 6px; }
.xee-panel__head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); }
.xee-panel__head button { margin-left: auto; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.xee-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.xee-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.xee-msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.xee-msg--user { background: var(--blue-600); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.xee-msg a { color: inherit; text-decoration: underline; }
.xee-typing { display: inline-flex; gap: 4px; }
.xee-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.xee-typing i:nth-child(2) { animation-delay: .2s; } .xee-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.xee-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; background: var(--bg-soft); }
.xee-quick button {
  border: 1.5px solid color-mix(in srgb, var(--blue-500) 40%, white); color: var(--blue-600); background: #fff; border-radius: 999px; padding: 7px 12px;
  font-size: .84rem; font-weight: 600; cursor: pointer; font-family: inherit;
}
.xee-quick button:hover { background: var(--blue-600); color: #fff; }
.xee-quick__link {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 12px; font-size: .84rem; font-weight: 700;
  background: var(--blue-600); color: #fff !important; text-decoration: none !important;
}
.xee-quick__link.is-wa { background: #25d366; }
.xee-quick__link:hover { filter: brightness(1.08); }
.xee-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.xee-input input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; font-family: inherit; font-size: .95rem; }
.xee-input input:focus { outline: none; border-color: var(--blue-500); }
.xee-input button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue-600); color: #fff; cursor: pointer; display: grid; place-items: center; }
.xee-input button svg { width: 20px; height: 20px; }
.xee-foot { font-size: .72rem; color: var(--ink-3); text-align: center; padding: 0 12px 10px; background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta .btn--outline { display: none; }
  .menu-toggle { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open .nav__menu { position: static; transform: none; opacity: 1; visibility: visible; width: 100%; box-shadow: none; border: 0; padding: 0 0 0 10px; }
  .nav.is-open .nav__drop > button { width: 100%; }
  .hero .container, .page-hero .container { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { width: 100%; max-width: 520px; margin: 0 auto; }
  .divisions { grid-template-columns: 1fr 1fr; }
  .dcard, .dcard:nth-child(4), .dcard:nth-child(5) { grid-column: span 1; }
  .steps, .compliance, .other-divs { grid-template-columns: 1fr 1fr; }
  .features, .quotes, .sectors { grid-template-columns: 1fr 1fr; }
  .lead-wrap, .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .role { grid-template-columns: 1fr 1fr; }
  .role__title { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .topbar__items span.hide-sm { display: none; }
  .header-cta .btn { display: none; }
  .trust .container { grid-template-columns: 1fr; gap: 14px; }
  .hiring-banner { font-size: .8rem; gap: 8px; }
  .hiring-banner__text { flex-basis: 100%; order: 3; }
  .hero__media { padding: 10px 0 40px; }
  .orbit { width: min(330px, 100%); }
  .orbit__pill { padding: 5px 10px 5px 5px; gap: 6px; }
  .orbit__pill .dicon { width: 26px; height: 26px; }
  .orbit__pill .dicon svg { width: 14px; height: 14px; }
  .orbit__pill b { font-size: .78rem; }
  .orbit__pill small { display: none; }
  .divisions, .split, .steps, .features, .quotes, .sectors, .compliance, .other-divs, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .panel, .cta-band { padding: 30px; }
  .hero__float--a { left: 0; }
  .hero__float { font-size: .78rem; padding: 10px 12px; }
  .role { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .xee-panel { right: 16px; bottom: 92px; height: calc(100vh - 120px); }
  .xee-launcher { right: 16px; bottom: 16px; }
  .wa-float { right: 24px; bottom: 90px; }
}

/* =========================================================
   XeeBuild construction page (body.cx)
   ========================================================= */
.cx { --gold: #f5a800; --char: #12151c; --green: #13874d; --build: #f5a800; }
.cx-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(600px 340px at 8% 100%, rgba(245,168,0,.14), transparent 65%),
    linear-gradient(115deg, #12151c 0%, #13161d 100%);
}
.cx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.cx-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 28px; }
.cx-hero .crumbs { margin-bottom: 14px; }
.cx-eyebrow { color: var(--gold); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.cx-eyebrow i { font-style: normal; color: rgba(255,255,255,.35); margin: 0 4px; }
.cx-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08; }
.cx-hero h1 span { color: var(--gold); display: block; }
.cx-hero__lead { color: #d3d9e3; font-size: 1.12rem; margin-bottom: 30px; }
.cx-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.cx-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; border-radius: 10px; text-decoration: none !important;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; min-width: 190px;
}
.cx-btn:hover { transform: translateY(-2px); }
.cx-btn b { display: block; font-size: 1rem; line-height: 1.2; }
.cx-btn small { display: block; font-size: .8rem; opacity: .8; }
.cx-btn__icon svg { width: 26px; height: 26px; display: block; }
.cx-btn--gold { background: var(--gold); color: var(--char); box-shadow: 0 12px 26px -10px rgba(245,168,0,.8); }
.cx-btn--line { color: #fff; border-color: rgba(255,255,255,.6); }
.cx-btn--line:hover { background: rgba(255,255,255,.08); }
.cx-hero__logo img {
  width: 100%; max-width: 330px; height: auto; margin: 0 auto;
  mix-blend-mode: lighten; /* logo's black background takes on the page colour */
}
.cx-features { position: relative; list-style: none; margin: 0; padding: 26px 0 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.cx-features li { display: flex; gap: 12px; align-items: center; }
.cx-features span { color: var(--gold); }
.cx-features svg { width: 30px; height: 30px; display: block; }
.cx-features b { display: block; font-size: .95rem; }
.cx-features small { color: #aab3c2; font-size: .82rem; }

/* client / worker split with characters */
.cx-split-wrap { background: linear-gradient(#f5f6f8, #ffffff); padding: 70px 0 30px; overflow: hidden; }
.cx-split { display: grid; grid-template-columns: 230px 1fr 1fr 240px; gap: 22px; align-items: end; }
.cx-char { position: relative; width: 100%; align-self: end; filter: drop-shadow(0 18px 18px rgba(18,21,28,.18)); }
.cx-char__img { display: block; width: 100%; height: auto; }

/* Character animations */
.cx-char { opacity: 0; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.25,1.2); }
.cx-char--left { transform: translateX(-60px) rotate(-6deg); }
.cx-char--right { transform: translateX(60px) rotate(6deg); }
.cx-char.is-in { opacity: 1; transform: none; }
.cx-char.is-in .cx-char__img { transform-origin: 50% 100%; }
.cx-char--left.is-in .cx-char__img { animation: cx-nod 3.6s ease-in-out 1s infinite; }
.cx-char--right.is-in .cx-char__img { animation: cx-sway 3s ease-in-out 1s infinite; }
.cx-char:hover .cx-char__img { animation: cx-hop .6s ease-out; }
@keyframes cx-nod {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-6px) rotate(-1.5deg); }
  50% { transform: translateY(0) rotate(0); }
  70% { transform: translateY(-3px) rotate(1deg); }
}
@keyframes cx-sway {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg) translateY(-4px); }
}
@keyframes cx-hop {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-18px) scale(1.03); }
  65% { transform: translateY(0) scale(.98, 1.02); }
  100% { transform: translateY(0) scale(1); }
}

/* Speech bubbles */
.cx-bubble {
  position: absolute; z-index: 2; top: -40px; left: 50%; white-space: nowrap;
  background: #fff; color: var(--char); font-size: .82rem; font-weight: 600; padding: 8px 12px; border-radius: 12px;
  box-shadow: 0 10px 24px -10px rgba(18,21,28,.45); border: 2px solid var(--gold);
  opacity: 0; transform: translate(-50%, 10px) scale(.6); transform-origin: 50% 100%;
}
.cx-bubble b { color: #d88f00; }
.cx-bubble::after {
  content: ""; position: absolute; bottom: -8px; left: 50%; width: 12px; height: 12px; background: #fff;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateX(-50%) rotate(45deg);
}
.cx-char--right .cx-bubble { border-color: var(--green); top: -46px; }
.cx-char--right .cx-bubble b { color: var(--green); }
.cx-char--right .cx-bubble::after { border-color: var(--green); }
.cx-char.is-in .cx-bubble { animation: cx-bubble-in .5s cubic-bezier(.2,.8,.3,1.4) 1s forwards, cx-bubble-float 4s ease-in-out 1.6s infinite; }
@keyframes cx-bubble-in { to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes cx-bubble-float {
  0%, 100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -6px) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-char { opacity: 1; transform: none; transition: none; }
  .cx-char .cx-char__img, .cx-char.is-in .cx-char__img, .cx-char:hover .cx-char__img { animation: none; }
  .cx-char .cx-bubble, .cx-char.is-in .cx-bubble { animation: none; opacity: 1; transform: translate(-50%, 0); }
}
.cx-card { background: #fff; border: 1px solid #eceff3; border-radius: 18px; padding: 30px 30px 24px; text-align: center; box-shadow: 0 18px 40px -20px rgba(18,21,28,.25); align-self: stretch; display: flex; flex-direction: column; }
.cx-card--worker { background: #eef8f2; border-color: #d3eedf; }
.cx-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--gold); color: #fff; }
.cx-card--worker .cx-card__icon { background: var(--green); }
.cx-card__icon svg { width: 26px; height: 26px; }
.cx-card h2 { font-size: 1.45rem; margin-bottom: 12px; }
.cx-card p { color: var(--ink-2); font-size: .95rem; }
.cx-card ul { list-style: none; padding: 0; margin: 4px auto 22px; display: grid; gap: 8px; text-align: left; font-size: .92rem; color: var(--ink-2); }
.cx-card li { display: flex; gap: 10px; align-items: center; }
.cx-card li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(245,168,0,.2); flex-shrink: 0; }
.cx-card--worker li::before { content: "\2713"; width: auto; height: auto; background: none; box-shadow: none; color: var(--green); font-weight: 800; }
.cx-cardbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 8px; font-weight: 700;
  background: var(--gold); color: var(--char) !important; text-decoration: none !important; transition: transform .15s, filter .2s;
}
.cx-cardbtn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.cx-card .cx-cardbtn { margin-top: auto; }
.cx-card--worker .cx-cardbtn { background: var(--green); color: #fff !important; }
.cx-cardlink { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--char); }
.cx-cardlink:hover { color: #d88f00; text-decoration: none; }

/* sections */
.cx-section { padding: 64px 0; }
.cx-section--tight { padding: 36px 0 20px; }
.cx-section--soft { background: #f5f6f8; }
.cx-h { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 26px; }
.cx-h--center { text-align: center; }
.cx-standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cx-standards > div { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #eceff3; border-radius: 14px; padding: 18px; box-shadow: 0 8px 20px -14px rgba(18,21,28,.25); }
.cx-standards span { color: var(--gold); }
.cx-standards svg { width: 34px; height: 34px; display: block; }
.cx-standards b { display: block; }
.cx-standards small { color: var(--ink-3); font-size: .84rem; }
.cx-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cx-service {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 24px 14px; border-radius: 14px; background: #fff;
  border: 1px solid #eceff3; color: var(--ink); text-decoration: none !important; box-shadow: 0 8px 20px -14px rgba(18,21,28,.25); transition: .2s;
}
.cx-service:hover { border-color: var(--gold); transform: translateY(-4px); }
.cx-service span { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(245,168,0,.12); color: #d88f00; }
.cx-service svg { width: 30px; height: 30px; }
.cx-service b { font-size: .98rem; }
.cx-service small { color: var(--ink-3); font-size: .8rem; line-height: 1.4; }
.cx-industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cx-industry {
  position: relative; overflow: hidden; border-radius: 14px; padding: 26px 22px; color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background: radial-gradient(260px 160px at 100% 0%, rgba(245,168,0,.28), transparent 70%), linear-gradient(140deg, #1b1f28, #12151c);
}
.cx-industry::after { content: ""; position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; border: 18px solid rgba(255,255,255,.04); border-radius: 50%; }
.cx-industry span { color: var(--gold); margin-bottom: 8px; }
.cx-industry svg { width: 30px; height: 30px; display: block; }
.cx-industry b { font-size: 1.1rem; }
.cx-industry small { color: #b8c0cc; font-size: .86rem; }
.cx-why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.cx-checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.cx-checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.cx-checks li::before { content: "\2713"; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; flex-shrink: 0; }
.cx-why__ctas { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cx-why__ctas .cx-cardlink { margin: 0; }
.cx-trades { background: #f5f6f8; border-radius: 18px; padding: 28px; }
.cx-trades h3 { margin-bottom: 16px; }
.cx-trades .rolelist { justify-content: flex-start; --c: var(--gold); }
.cx #enquire { --accent: #d88f00 !important; }
.cx #enquire .btn--primary { background: var(--gold); color: var(--char); box-shadow: 0 10px 24px -8px rgba(245,168,0,.7); }

/* CTA */
.cx-cta { background: linear-gradient(115deg, #12151c, #1b1f28); color: #fff; padding: 44px 0; }
.cx-cta__inner { display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: center; }
.cx-cta img { width: 100%; height: auto; mix-blend-mode: lighten; }
.cx-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.cx-cta h2 span { color: var(--gold); }
.cx-cta p { color: #c2c9d4; margin: 0; }
.cx-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cx-btn-ghost { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 8px; border: 2px solid rgba(255,255,255,.6); color: #fff; font-weight: 700; text-decoration: none !important; }
.cx-btn-ghost:hover { background: rgba(255,255,255,.08); }

@media (max-width: 1080px) {
  .cx-hero__grid { grid-template-columns: 1fr; }
  .cx-hero__logo { order: -1; }
  .cx-hero__logo img { margin: 0 auto; max-width: 230px; }
  .cx-features, .cx-standards { grid-template-columns: 1fr 1fr; }
  .cx-split { grid-template-columns: 1fr 1fr; }
  .cx-char { display: none; }
  .cx-services { grid-template-columns: repeat(3, 1fr); }
  .cx-industries { grid-template-columns: 1fr 1fr; }
  .cx-why { grid-template-columns: 1fr; }
  .cx-cta__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cx-cta img { max-width: 220px; }
}
@media (max-width: 680px) {
  .cx-split { grid-template-columns: 1fr; }
  .cx-split-wrap { padding-top: 40px; }
  .cx-char--right { display: block; width: 180px; margin: 0 auto -10px; order: 3; }
  .cx-card--worker { order: 2; }
  .cx-standards, .cx-industries { grid-template-columns: 1fr; }
  .cx-services { grid-template-columns: 1fr 1fr; }
  .cx-btn { min-width: 0; flex: 1 1 100%; }
}

/* ---------- XeeBuild v3: compact brand, slogan, hero card, animated SVG characters ---------- */
.cx-brandline { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cx-brandline__logo { width: 92px; height: auto; mix-blend-mode: lighten; }
.cx-slogan {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #fff;
}
.cx-slogan::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.cx-hero__lead strong { color: var(--gold); font-weight: 700; }

.cx-hero__card {
  position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-top: 3px solid var(--gold);
  border-radius: 18px; padding: 28px; max-width: 440px; margin-left: auto; backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.cx-hero__card-kicker { color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 6px; }
.cx-hero__card h2 { color: #fff; font-size: 1.35rem; margin-bottom: 18px; }
.cx-hero__card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.cx-hero__card li { display: flex; gap: 14px; align-items: center; }
.cx-hero__card li > span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(245,168,0,.14); color: var(--gold); flex-shrink: 0; }
.cx-hero__card li svg { width: 22px; height: 22px; }
.cx-hero__card b { display: block; color: #fff; font-size: .98rem; }
.cx-hero__card small { color: #aab3c2; font-size: .84rem; }
.cx-hero__card-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cx-hero__card-btns .cx-cardbtn { flex: 1 1 auto; padding: 12px 16px; font-size: .9rem; }
.cx-hero__card-btns .cx-cardbtn svg { width: 18px; height: 18px; }
.cx-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 8px; font-weight: 700; font-size: .9rem;
  background: #25d366; color: #fff !important; text-decoration: none !important;
}
.cx-wa svg { width: 18px; height: 18px; fill: #fff; }
.cx-sub { color: var(--ink-2); margin: -14px 0 20px; }
.cx-sub strong { color: #d88f00; }
.cx-cta__inner { grid-template-columns: 110px 1fr auto; }

/* SVG characters: crisp vector art with animated parts */
.cx-char svg.cx-char__img { overflow: visible; }
.cx-char .cx-head, .cx-char .cx-eyes, .cx-char .cx-pen-arm, .cx-char .cx-sign { transform-box: view-box; }
.cx-char--left .cx-head { transform-origin: 110px 162px; }
.cx-char--right .cx-head { transform-origin: 120px 162px; }
.cx-char .cx-eyes { transform-box: fill-box; transform-origin: center; }
.cx-char .cx-pen-arm { transform-origin: 160px 180px; }
.cx-char .cx-sign { transform-origin: 120px 190px; }

/* whole body: gentle breathing instead of big sway */
.cx-char--left.is-in .cx-char__img, .cx-char--right.is-in .cx-char__img { animation: cx-breathe 3.4s ease-in-out 1s infinite; }
.cx-char.is-in .cx-head { animation: cx-head-nod 4s ease-in-out 1.2s infinite; }
.cx-char--right.is-in .cx-head { animation: cx-head-tilt 5s ease-in-out 1.2s infinite; }
.cx-char.is-in .cx-eyes { animation: cx-blink 4.6s ease-in-out 1.5s infinite; }
.cx-char--right.is-in .cx-eyes { animation-delay: 2.7s; }
.cx-char.is-in .cx-pen-arm { animation: cx-write 1.6s ease-in-out 1s infinite; }
.cx-char.is-in .cx-sign { animation: cx-sign-bob 2.4s ease-in-out 1s infinite; }
.cx-char:hover .cx-char__img { animation: cx-hop .6s ease-out; }
.cx-char:hover .cx-sign { animation: cx-sign-shake .5s ease-in-out 2; }

@keyframes cx-breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.01); } }
@keyframes cx-head-nod { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-4deg) translateY(1px); } 80% { transform: rotate(2deg); } 90% { transform: rotate(-1deg); } }
@keyframes cx-head-tilt { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-5deg); } 55% { transform: rotate(3deg); } 75% { transform: rotate(0); } }
@keyframes cx-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes cx-write {
  0%, 100% { transform: rotate(0) translate(0, 0); }
  20% { transform: rotate(-3deg) translate(-2px, 1px); }
  40% { transform: rotate(1deg) translate(1px, -1px); }
  60% { transform: rotate(-2deg) translate(-3px, 2px); }
  80% { transform: rotate(2deg) translate(0, 0); }
}
@keyframes cx-sign-bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-6px) rotate(1.5deg); } }
@keyframes cx-sign-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }

@media (max-width: 1080px) {
  .cx-hero__card { margin: 0; max-width: none; }
}
@media (max-width: 680px) {
  .cx-brandline__logo { width: 74px; }
  .cx-hero__card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-char .cx-head, .cx-char .cx-eyes, .cx-char .cx-pen-arm, .cx-char .cx-sign,
  .cx-char.is-in .cx-head, .cx-char.is-in .cx-eyes, .cx-char.is-in .cx-pen-arm, .cx-char.is-in .cx-sign { animation: none !important; }
}

/* ---------- XeeBuild v4: real-photo people in animated frames ---------- */
.cx-photo {
  position: relative; margin: 0; width: 100%; aspect-ratio: 3 / 5; border-radius: 22px; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold), 0 26px 50px -22px rgba(18,21,28,.55);
  background: #2a2016;
}
.cx-char--right .cx-photo { box-shadow: 0 0 0 3px var(--green), 0 26px 50px -22px rgba(18,21,28,.55); }
.cx-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.04); transition: transform .6s ease; }
.cx-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%);
  transform: translateX(-120%);
}
.cx-char { filter: none; }
.cx-photo__tag {
  position: absolute; left: 50%; bottom: -14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--gold); color: var(--char); font-weight: 800; font-size: .8rem; padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 10px 20px -10px rgba(18,21,28,.6); opacity: 0; transform: translate(-50%, 10px);
}
.cx-photo__tag--green { background: var(--green); color: #fff; }
.cx-photo__tag i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: cx-live 1.6s ease-in-out infinite; }
.cx-split { align-items: center; }
.cx-char .cx-bubble { top: -30px; }
.cx-char--right .cx-bubble { top: -30px; }

/* motion: slide in → float, slow zoom on the photo, shine sweep, tag pop */
.cx-char.is-in .cx-photo { animation: cx-float 5s ease-in-out 1s infinite; }
.cx-char--right.is-in .cx-photo { animation-delay: 2.2s; }
.cx-char.is-in .cx-photo img { animation: cx-kenburns 14s ease-in-out 1s infinite alternate; }
.cx-char.is-in .cx-photo::after { animation: cx-shine 6s ease-in-out 1.4s infinite; }
.cx-char.is-in .cx-photo__tag { animation: cx-tag-in .5s cubic-bezier(.2,.8,.3,1.4) 1.2s forwards; }
.cx-char:hover .cx-photo { animation-play-state: paused; }
.cx-char:hover .cx-photo img { animation-play-state: paused; transform: scale(1.12); }
@keyframes cx-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-.6deg); } }
@keyframes cx-kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-2%, 2%); } }
@keyframes cx-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes cx-tag-in { to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes cx-live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (max-width: 680px) {
  .cx-char--right { width: 200px; margin: 30px auto 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-char.is-in .cx-photo, .cx-char.is-in .cx-photo img, .cx-char.is-in .cx-photo::after { animation: none; }
  .cx-photo__tag, .cx-char.is-in .cx-photo__tag { animation: none; opacity: 1; transform: translate(-50%, 0); }
}

.cx-char--left .cx-photo img { object-position: 50% 15%; }

/* XeeCare (and any division) compact logo card in the page hero */
.division-logo-card {
  display: flex; width: fit-content; align-items: center; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 18px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.4);
}
.division-logo-card img { display: block; width: 200px; height: auto; }
@media (max-width: 680px) { .division-logo-card img { width: 170px; } }

/* =========================================================
   XeeCare healthcare page (body.xc)
   ========================================================= */
.xc { --navy: #0b2a55; --navy-2: #0e3a73; --teal: #14a89c; --teal-2: #19c2b3; --sky: #eef6fb; --care: #14a89c; }
.xc .btn--primary { background: var(--teal); }
.xc-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none !important; border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.xc-btn svg { width: 20px; height: 20px; }
.xc-btn:hover { transform: translateY(-2px); }
.xc-btn--teal { background: var(--teal); color: #fff !important; box-shadow: 0 12px 26px -12px rgba(20,168,156,.9); }
.xc-btn--teal:hover { background: #10978c; }
.xc-btn--line { color: #fff !important; border-color: rgba(255,255,255,.7); }
.xc-btn--line:hover { background: rgba(255,255,255,.1); }
.xc-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.75); }
.xc-btn--ghost:hover { background: rgba(255,255,255,.1); }
.xc-btn--sm { padding: 11px 20px; font-size: .88rem; }

/* hero */
.xc-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(110deg, #0a2348 0%, var(--navy) 40%, var(--navy-2) 100%); min-height: 520px; }
.xc-hero__photo { position: absolute; inset: 0 0 0 auto; width: 56%; }
.xc-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.xc-hero__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 5%, rgba(11,42,85,.8) 16%, rgba(11,42,85,0) 42%);
}
.xc-hero__note {
  position: absolute; z-index: 2; right: 3.5%; top: 16%; margin: 0; text-align: right;
  font-family: "Caveat", "Segoe Script", cursive; font-weight: 700; font-size: 2rem; line-height: 1.15; color: var(--navy);
  text-shadow: 0 1px 0 rgba(255,255,255,.6); transform: rotate(-4deg);
}
.xc-hero__note span { display: block; color: var(--teal); margin-top: 8px; }
.xc-hero__note svg { width: 36px; height: 36px; margin-left: auto; display: block; }
.xc-hero__inner { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 64px; }
.xc-hero__copy { max-width: 560px; }
.xc-eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #dbe8f7; margin: 0 0 12px; }
.xc-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4rem); line-height: 1.04; margin-bottom: 18px; }
.xc-hero h1 span { color: var(--teal-2); }
.xc-hero__lead { color: #d6e2f2; font-size: 1.08rem; max-width: 520px; margin-bottom: 28px; }
.xc-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* sections */
.xc-section { padding: 64px 0; }
.xc-section--tight { padding: 40px 0; }
.xc-section--soft { background: var(--sky); }
.xc-kicker { color: var(--teal); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; }
.xc-h { color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.xc-sub { color: var(--ink-2); margin-bottom: 26px; }
.xc-center { text-align: center; }

.xc-sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.xc-sector {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none !important; color: var(--ink);
  border: 1px solid #e3ebf3; box-shadow: 0 12px 28px -18px rgba(11,42,85,.35); transition: transform .2s, box-shadow .2s;
}
.xc-sector:hover { transform: translateY(-5px); box-shadow: 0 20px 36px -18px rgba(11,42,85,.45); }
.xc-sector__img { display: block; aspect-ratio: 504 / 260; overflow: hidden; background: #dfe9f2; }
.xc-sector__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s; }
.xc-sector:hover .xc-sector__img img { transform: scale(1.06); }
.xc-sector__body { position: relative; display: block; padding: 30px 16px 18px; }
.xc-sector__icon {
  position: absolute; top: -24px; left: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; border: 3px solid #fff; box-shadow: 0 8px 16px -8px rgba(11,42,85,.6);
}
.xc-sector__icon svg { width: 22px; height: 22px; }
.xc-sector b { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.xc-sector b i { font-style: normal; color: var(--teal); transition: margin .2s; }
.xc-sector:hover b i { margin-left: 4px; }
.xc-sector small { display: block; color: var(--ink-2); font-size: .84rem; line-height: 1.45; }

.xc-why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 24px; }
.xc-why > div { text-align: center; padding: 8px 22px; border-left: 1px solid #d6e4ef; }
.xc-why > div:first-child { border-left: 0; }
.xc-why span { display: inline-grid; place-items: center; width: 56px; height: 56px; color: var(--teal); margin-bottom: 10px; }
.xc-why svg { width: 38px; height: 38px; stroke-width: 1.7; }
.xc-why b { display: block; color: var(--navy); margin-bottom: 6px; }
.xc-why small { color: var(--ink-2); font-size: .88rem; line-height: 1.5; }

/* duo cards */
.xc-duo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
.xc-duo__card {
  display: grid; grid-template-columns: 150px 1fr 170px; align-items: stretch; background: var(--sky); border-radius: 18px; overflow: hidden;
  border: 1px solid #dce9f3; box-shadow: 0 14px 30px -22px rgba(11,42,85,.45);
}
.xc-duo__card--org { grid-template-columns: 1fr 180px; background: #eaf6f5; border-color: #d2ece9; }
.xc-duo__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; min-height: 240px; }
.xc-duo__body { padding: 26px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.xc-duo__body h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 10px; }
.xc-duo__body p { color: var(--ink-2); font-size: .92rem; }
.xc-duo__body .xc-btn { margin-top: auto; }
.xc-duo__list { padding: 26px 18px 22px 0; }
.xc-duo__list b { color: var(--navy); font-size: .9rem; }
.xc-duo__list ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; }
.xc-duo__list li { font-size: .85rem; color: var(--ink-2); display: flex; gap: 8px; }
.xc-duo__list li::before { content: "\2713"; color: var(--teal); font-weight: 800; }

/* process */
.xc-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.xc-steps li { position: relative; text-align: center; padding: 0 8px; }
.xc-steps li:not(:last-child)::after { content: "\2192"; position: absolute; right: -14px; top: 12px; color: #9fb6cc; font-size: 1.2rem; }
.xc-steps__top { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 12px; }
.xc-steps__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 800; font-size: .85rem; box-shadow: 0 8px 18px -8px rgba(20,168,156,.9); }
.xc-steps__icon { color: var(--navy); }
.xc-steps__icon svg { width: 30px; height: 30px; stroke-width: 1.7; }
.xc-steps b { display: block; color: var(--navy); margin-bottom: 4px; }
.xc-steps small { color: var(--ink-2); font-size: .86rem; }

/* standards */
.xc-standards { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(11,42,85,.6); }
.xc-standards__dark {
  position: relative; padding: 36px 40px; color: #fff;
  background: radial-gradient(420px 260px at 0% 100%, rgba(25,194,179,.25), transparent 70%), linear-gradient(120deg, var(--navy), var(--navy-2));
}
.xc-standards__dark::after { content: ""; position: absolute; right: 24px; bottom: 18px; width: 120px; height: 120px; opacity: .08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") no-repeat center / contain; }
.xc-standards__dark .xc-kicker { color: #9fe3da; }
.xc-standards__dark h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.xc-standards__dark p { color: #d0deef; font-size: .95rem; }
.xc-standards__list { background: var(--sky); padding: 32px 36px; }
.xc-standards__list > p { color: var(--navy); font-weight: 700; font-size: .95rem; }
.xc-standards__list ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.xc-standards__list li { display: flex; gap: 9px; color: var(--ink-2); font-size: .9rem; }
.xc-standards__list li::before { content: "\2713"; color: var(--teal); font-weight: 800; }

.xc #enquire { --accent: var(--teal) !important; }
.xc #enquire .btn--primary { background: var(--teal); box-shadow: 0 10px 24px -8px rgba(20,168,156,.7); }

/* join band */
.xc-join { background: linear-gradient(110deg, var(--navy), var(--navy-2)); color: #fff; padding: 40px 0; }
.xc-join__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.xc-join__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
.xc-join__icon svg { width: 34px; height: 34px; }
.xc-join h2 { color: #fff; margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.xc-join h2 span { color: var(--teal-2); }
.xc-join__btns b { display: block; margin-bottom: 10px; font-size: .95rem; }
.xc-join__btns > div { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .xc-hero__photo { position: relative; width: 100%; height: 300px; }
  .xc-hero__photo::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(11,42,85,0) 45%); }
  .xc-hero__note { font-size: 1.5rem; top: 10%; }
  .xc-hero__inner { padding-top: 10px; }
  .xc-sectors { grid-template-columns: repeat(3, 1fr); }
  .xc-why { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .xc-why > div:nth-child(4) { border-left: 0; }
  .xc-duo { grid-template-columns: 1fr; }
  .xc-steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .xc-steps li::after { display: none; }
  .xc-standards { grid-template-columns: 1fr; }
  .xc-join__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 680px) {
  .xc-hero__photo { height: 240px; }
  .xc-hero__note { display: none; }
  .xc-sectors { grid-template-columns: 1fr 1fr; }
  .xc-sector:last-child { grid-column: 1 / -1; }
  .xc-why { grid-template-columns: 1fr; }
  .xc-why > div { border-left: 0; }
  .xc-duo__card { grid-template-columns: 120px 1fr; }
  .xc-duo__list { grid-column: 1 / -1; padding: 0 22px 22px; }
  .xc-duo__card--org { grid-template-columns: 1fr 120px; }
  .xc-steps { grid-template-columns: 1fr 1fr; }
  .xc-standards__dark, .xc-standards__list { padding: 26px 22px; }
  .xc-standards__list ul { grid-template-columns: 1fr; }
  .xc-btn { width: 100%; justify-content: center; }
}

/* XeeCare duo cards: square photos (professional with CV / recruiter handshake) */
.xc-duo { grid-template-columns: 1.15fr 1fr; }
.xc-duo__card { grid-template-columns: 220px 1fr 160px; }
.xc-duo__card--org { grid-template-columns: 1fr 250px; }
.xc-duo__card:not(.xc-duo__card--org) .xc-duo__photo { object-position: 80% 30%; }
.xc-duo__card--org .xc-duo__photo { object-position: 62% 40%; }
.xc-duo__photo { min-height: 270px; transition: transform .6s ease; }
.xc-duo__card { position: relative; }
.xc-duo__card:hover .xc-duo__photo { transform: scale(1.04); }
@media (max-width: 1080px) {
  .xc-duo__card { grid-template-columns: 240px 1fr 170px; }
  .xc-duo__card--org { grid-template-columns: 1fr 260px; }
}
@media (max-width: 680px) {
  .xc-duo__card, .xc-duo__card--org { grid-template-columns: 1fr; }
  .xc-duo__photo { height: 240px; min-height: 0; }
  .xc-duo__card--org .xc-duo__photo { order: -1; }
  .xc-duo__list { padding: 0 22px 22px; }
}

@media (max-width: 1080px) { .xc-duo { grid-template-columns: 1fr; } }

/* XeeCare sector cards: 4K-sourced photos, pre-cropped to the card ratio */
.xc-sector__img { aspect-ratio: 1600 / 824; }
.xc-sector__img img { object-position: 50% 50%; }

/* XeeCare standalone site (www.xeecare.com): header, banner, footer */
.xc-topbar { background: linear-gradient(90deg, #0b2a55, #0e3a73 50%, #14a89c); }
.xc-topbar .hiring-banner strong { background: #fff; color: #0b2a55; }
.xc-topbar .hiring-banner a { color: #bff3ec; }
.xc-header .brand { gap: 0; }
.xc-header__logo { height: 46px; width: auto; display: block; }
.xc-header .nav > a:hover { color: #14a89c; }
.xc-header .btn--primary { background: #14a89c; box-shadow: 0 10px 24px -10px rgba(20,168,156,.9); }
.xc-header .btn--outline { border-color: #0b2a55; color: #0b2a55; }
.xc-footer { background: #071d3c; }
.xc-footer__logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 16px; }
.xc-footer__logo img { display: block; width: 170px; height: auto; }
@media (max-width: 680px) { .xc-header__logo { height: 38px; } }
.xc-header .nav > a { white-space: nowrap; padding: 10px 11px; font-size: .92rem; }
.xc-header .header-cta .btn { white-space: nowrap; }
@media (max-width: 1260px) { .xc-header .nav > a { padding: 8px 7px; font-size: .86rem; } .xc-header .header-cta .btn { padding: 9px 14px; font-size: .84rem; } }

/* XeeCare v2 hero (4K photo) + "Connect. Care. Compassion." slogan */
.xc-hero__photo img { object-position: 32% 28%; }
.xc-hero__note {
  background: rgba(255,255,255,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 14px 20px 12px; border-radius: 18px; box-shadow: 0 18px 40px -22px rgba(11,42,85,.55);
  top: 12%; right: 3%; transform: rotate(-3deg); text-shadow: none;
}
.xc-slogan { display: inline-flex; gap: 6px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.xc-slogan i { font-style: normal; color: var(--teal-2); }
.xc-hero__slogan { margin: 0 0 12px; color: #fff; display: flex; align-items: center; gap: 10px; }
.xc-hero__slogan::before { content: ""; width: 28px; height: 2px; background: var(--teal-2); border-radius: 2px; }
.xc-values { color: var(--teal); }
.xc-join__slogan { margin: 0 0 6px; color: #bff3ec; }
.xc-join__slogan .xc-slogan i { color: #fff; }
@media (max-width: 1080px) { .xc-hero__note { top: 8%; padding: 10px 14px; } }

.xc-slogan { gap: 0; }
.xc-slogan i { margin-right: .55em; }
.xc-slogan i:last-child { margin-right: 0; }

/* XeeCare hero v3: young nurse (left of photo) with older woman — keep her face clear, note bottom-right */
.xc-hero__photo img { object-position: 28% 30%; }
.xc-hero__photo::before { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 3%, rgba(11,42,85,.7) 10%, rgba(11,42,85,0) 26%); }
.xc-hero__note { top: auto; bottom: 9%; right: 3%; }
@media (max-width: 1080px) {
  .xc-hero__photo::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(11,42,85,0) 40%); }
  .xc-hero__note { top: auto; bottom: 14%; }
  .xc-hero__photo img { object-position: 30% 25%; }
}

/* XeeCare hero v4: young nurse in blue scrubs (from the XeeCare mockup) */
.xc-hero__photo img { object-position: 38% 30%; }
.xc-hero__photo::before { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 4%, rgba(11,42,85,.75) 13%, rgba(11,42,85,0) 34%); }
.xc-hero__note { top: 12%; bottom: auto; right: 3%; }
@media (max-width: 1080px) {
  .xc-hero__photo::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(11,42,85,0) 40%); }
  .xc-hero__note { top: 8%; bottom: auto; }
  .xc-hero__photo img { object-position: 40% 25%; }
}

.xc-hero__note { top: 5%; font-size: 1.75rem; padding: 10px 16px 8px; }
.xc-hero__note svg { width: 28px; height: 28px; }
@media (max-width: 1080px) { .xc-hero__note { top: 5%; font-size: 1.35rem; } }

/* XeeCare hero v5: branded XeeCare nurse with elderly resident (supplied image) */
.xc-hero__photo img { object-position: 40% 22%; }
.xc-hero__photo::before { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 3%, rgba(11,42,85,.6) 9%, rgba(11,42,85,0) 20%); }
.xc-hero__note { top: auto; bottom: 7%; right: 3%; }
@media (max-width: 1080px) {
  .xc-hero__photo::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(11,42,85,0) 35%); }
  .xc-hero__photo img { object-position: 45% 20%; }
  .xc-hero__note { top: auto; bottom: 16%; }
}

/* =========================================================
   Motion system (all pages). Content is visible without JS;
   animations only start once <html class="js"> is set, and
   everything is switched off for prefers-reduced-motion.
   ========================================================= */
:root { --ease-out: cubic-bezier(.2,.7,.2,1); }

/* scroll reveals */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease-out) var(--d, 0s), transform .75s var(--ease-out) var(--d, 0s); will-change: opacity, transform; }
.js .reveal.reveal--left { transform: translateX(-36px); }
.js .reveal.reveal--right { transform: translateX(36px); }
.js .reveal.reveal--zoom { transform: scale(.95); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .section-head.is-in .eyebrow::before { animation: xb-line .8s var(--ease-out) .2s both; }
@keyframes xb-line { from { width: 0; } }

/* hero entrances (on page load) */
@keyframes xb-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes xb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes xb-settle { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes xb-pop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.js .hero__copy > *, .js .page-hero .container > div:first-child > *, .js .cx-hero__copy > *, .js .xc-hero__copy > * {
  animation: xb-rise .9s var(--ease-out) both;
}
.js .hero__copy > :nth-child(1), .js .page-hero .container > div:first-child > :nth-child(1), .js .cx-hero__copy > :nth-child(1), .js .xc-hero__copy > :nth-child(1) { animation-delay: .05s; }
.js .hero__copy > :nth-child(2), .js .page-hero .container > div:first-child > :nth-child(2), .js .cx-hero__copy > :nth-child(2), .js .xc-hero__copy > :nth-child(2) { animation-delay: .14s; }
.js .hero__copy > :nth-child(3), .js .page-hero .container > div:first-child > :nth-child(3), .js .cx-hero__copy > :nth-child(3), .js .xc-hero__copy > :nth-child(3) { animation-delay: .23s; }
.js .hero__copy > :nth-child(4), .js .page-hero .container > div:first-child > :nth-child(4), .js .cx-hero__copy > :nth-child(4), .js .xc-hero__copy > :nth-child(4) { animation-delay: .32s; }
.js .hero__copy > :nth-child(5), .js .page-hero .container > div:first-child > :nth-child(5), .js .cx-hero__copy > :nth-child(5), .js .xc-hero__copy > :nth-child(5) { animation-delay: .41s; }
.js .hero__copy > :nth-child(6), .js .page-hero .container > div:first-child > :nth-child(6), .js .cx-hero__copy > :nth-child(6), .js .xc-hero__copy > :nth-child(6) { animation-delay: .50s; }
.js .hero__copy > :nth-child(n+7), .js .page-hero .container > div:first-child > :nth-child(n+7), .js .cx-hero__copy > :nth-child(n+7), .js .xc-hero__copy > :nth-child(n+7) { animation-delay: .58s; }
.js .hero__media { animation: xb-fade-in 1.2s var(--ease-out) .25s both; }
.js .page-hero__card, .js .cx-hero__card { animation: xb-pop .9s var(--ease-out) .45s both; }
.js .xc-hero__photo img { animation: xb-settle 1.6s var(--ease-out) both; }
.js .xc-hero__note { animation: xb-pop .8s var(--ease-out) .9s both; }
.js .cx-features li { animation: xb-rise .8s var(--ease-out) both; }
.js .cx-features li:nth-child(1) { animation-delay: .55s; } .js .cx-features li:nth-child(2) { animation-delay: .63s; }
.js .cx-features li:nth-child(3) { animation-delay: .71s; } .js .cx-features li:nth-child(4) { animation-delay: .79s; }
.js .topbar { animation: xb-fade-in .6s ease both; }

/* gentle idle motion on hero decorations */
.xc-hero__note span svg { animation: xb-beat 2.4s ease-in-out 2s infinite; transform-origin: center; }
@keyframes xb-beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } 45% { transform: scale(.96); } }
.page-hero__card .dicon { animation: float 5s ease-in-out infinite; }

/* header: compact & elevated once scrolled */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header .container { transition: height .3s ease; }
.is-scrolled .site-header { box-shadow: 0 10px 30px -18px rgba(10,31,58,.45); background: rgba(255,255,255,.98); }
.is-scrolled .site-header .container { height: 64px; }
.xc-header__logo, .brand__mark { transition: transform .3s ease, height .3s ease; }
.is-scrolled .xc-header__logo { height: 40px; }
.is-scrolled .brand__mark { transform: scale(.9); }

/* reading progress bar */
.scroll-progress {
  position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400), var(--teal-400)); pointer-events: none;
}
.xc .scroll-progress { background: linear-gradient(90deg, #0b2a55, #14a89c, #19c2b3); }
.cx .scroll-progress { background: linear-gradient(90deg, #f5a800, #ffcf4d); }

/* buttons: light sweep on hover */
.btn, .cx-btn, .cx-cardbtn, .xc-btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after, .cx-btn::after, .cx-cardbtn::after, .xc-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn:hover::after, .cx-btn:hover::after, .cx-cardbtn:hover::after, .xc-btn:hover::after { transform: translateX(120%); }
.btn svg, .xc-btn svg, .cx-cardbtn svg { transition: transform .25s ease; }
.btn:hover svg:last-child, .xc-btn:hover svg:last-child, .cx-cardbtn:hover svg:last-child { transform: translateX(3px); }

/* cards: consistent lift + icon nudge */
.feature, .step, .sector, .quote, .other-divs a, .cx-standards > div { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature:hover, .step:hover, .sector:hover, .cx-standards > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dcard .dicon, .sector .dicon, .xc-why span, .cx-service span, .xc-steps__icon { transition: transform .35s var(--ease-out); }
.dcard:hover .dicon, .sector:hover .dicon, .xc-why > div:hover span, .cx-service:hover span { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.xc-why > div { transition: transform .25s ease; }
.xc-why > div:hover { transform: translateY(-4px); }
.xc-steps li:hover .xc-steps__num { transform: scale(1.1); }
.xc-steps__num { transition: transform .25s ease; }
.cx-industry { transition: transform .25s ease, box-shadow .25s ease; }
.cx-industry:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(0,0,0,.6); }

/* reduced motion: no animation anywhere */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.reveal--left, .js .reveal.reveal--right, .js .reveal.reveal--zoom { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero__copy > *, .js .page-hero .container > div:first-child > *, .js .cx-hero__copy > *, .js .xc-hero__copy > *,
  .js .hero__media, .js .page-hero__card, .js .cx-hero__card, .js .xc-hero__photo img, .js .xc-hero__note, .js .cx-features li,
  .js .topbar, .xc-hero__note span svg, .page-hero__card .dicon { animation: none !important; }
  .btn::after, .cx-btn::after, .cx-cardbtn::after, .xc-btn::after { display: none; }
  .scroll-progress { display: none; }
}

/* XeeBuild CTA band: centre and stack the buttons on smaller screens */
@media (max-width: 1080px) { .cx-cta__btns { justify-content: center; } }
@media (max-width: 680px) {
  .cx-cta__inner { gap: 18px; }
  .cx-cta__btns { width: 100%; flex-direction: column; align-items: stretch; }
  .cx-cta__btns > a { justify-content: center; text-align: center; }
}

@media (max-width: 1080px) { .cx-cta__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* never allow sideways scrolling (animated elements start slightly off-position) */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* on tablets & phones, reveal upwards only (no side-slides) */
@media (max-width: 1080px) {
  .js .reveal.reveal--left, .js .reveal.reveal--right { transform: translateY(24px); }
  .js .reveal.reveal--left.is-in, .js .reveal.reveal--right.is-in { transform: none; }
}

@media (max-width: 1080px) { .xc-hero__note { top: auto; bottom: 5%; } }

/* slogan separators: centred dots with even spacing */
.xc-slogan i, .xc-slogan i:last-child { margin: 0 .55em; }
