/* =========================================================
   RSJ Engineering Sdn Bhd — site styles
   Brand colours are taken from the logo (flame, leaf, water).
   ========================================================= */
:root {
  color-scheme: light;
  --ink: #13212c;          /* dark sections, header text */
  --ink-2: #1d3141;
  --ink-3: #2a4254;
  --paper: #f4f7f8;        /* page ground */
  --white: #ffffff;
  --text: #1a2631;
  --muted: #566573;
  --line: #d9e1e6;
  --fire: #f39314;         /* logo orange */
  --fire-deep: #b85f06;    /* orange for text on white */
  --fire-soft: #fff1de;
  --water: #1c9dc1;        /* logo blue */
  --water-deep: #0c6f8c;
  --water-soft: #e2f4f9;
  --leaf: #5ba83a;         /* logo green */
  --leaf-deep: #3b7a22;
  --leaf-soft: #e8f4e1;
  --todo: #fff3a3;
  --radius: 6px;
  --wrap: 1180px;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--water-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 2px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #d6e0e7; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.stack { display: grid; gap: 16px; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }

.eyebrow {
  font-family: var(--display); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fire-deep);
}
.section--ink .eyebrow, .hero .eyebrow { color: var(--fire); }

/* Placeholder text you must replace before going live */
.todo { background: var(--todo); color: #3d3500; padding: 0 4px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  padding: 14px 24px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn--fire { background: var(--fire); color: var(--ink); }
.btn--fire:hover { background: #ffa936; color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--wa { background: #1faa53; color: #fff; }
.btn--wa:hover { background: #178a43; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #b9c7d1; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #e3ebf0; text-decoration: none; }
.topbar a:hover { color: var(--fire); }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 50px; width: auto; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.05rem; line-height: 1.1; letter-spacing: .02em; }
.brand__name small { display: block; font-weight: 600; font-size: .66rem; letter-spacing: .2em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--text);
  text-decoration: none; padding: 10px 12px; border-radius: 4px;
}
.nav a:hover { color: var(--fire-deep); }
.nav a[aria-current="page"] { color: var(--fire-deep); box-shadow: inset 0 -3px 0 var(--fire); border-radius: 0; }
.nav .btn { margin-left: 10px; padding: 11px 18px; }
.nav .btn[aria-current="page"] { box-shadow: none; border-radius: var(--radius); color: var(--ink); }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
    box-shadow: 0 14px 30px rgba(19,33,44,.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--fire); padding-left: 12px; }
  .nav .btn { margin: 14px 0 0; }
  .topbar__hours { display: none; }
}

/* ---------- Photo slots ----------
   Each .ph shows a labelled placeholder until the named image file exists.
   Upload a photo with the exact file name shown and it appears automatically. */
.ph {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(19,33,44,.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #dfe8ed, #c9d6de);
  aspect-ratio: 4 / 3; max-width: 100%;
}
.ph::after {
  content: "PHOTO \2192  " attr(data-file);
  position: absolute; inset: auto 12px 12px 12px;
  font: 600 .74rem/1.3 var(--body); letter-spacing: .02em;
  color: var(--ink-2); background: rgba(255,255,255,.85); padding: 6px 9px; border-radius: 4px;
  word-break: break-all;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--square { aspect-ratio: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #d3dee6; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(19,33,44,.97) 0%, rgba(19,33,44,.9) 45%, rgba(19,33,44,.55) 100%),
    radial-gradient(circle at 85% 20%, rgba(28,157,193,.25), transparent 45%),
    radial-gradient(circle at 70% 90%, rgba(243,147,20,.18), transparent 40%);
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-block: clamp(56px, 9vw, 110px); }
.hero h1 { color: var(--white); margin: 16px 0 20px; }
.hero h1 em { font-style: normal; color: var(--fire); }
.hero .lead { color: #c3d0da; margin-bottom: 32px; }
.hero__mark { justify-self: center; width: min(260px, 60%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

.tri { display: flex; height: 5px; }
.tri span { flex: 1; }
.tri span:nth-child(1) { background: var(--fire); }
.tri span:nth-child(2) { background: var(--leaf); }
.tri span:nth-child(3) { background: var(--water); }

.page-hero { background: var(--ink); color: #c3d0da; }
.page-hero .wrap { padding-block: clamp(44px, 6vw, 72px); display: grid; gap: 14px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { font-size: .9rem; color: #94a6b3; }
.crumbs a { color: #c3d0da; text-decoration: none; }
.crumbs a:hover { color: var(--fire); }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; align-items: center; gap: 28px; padding-block: 22px; flex-wrap: wrap; }
.trust__label { font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust__list { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.trust__list li { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .98rem; }

/* ---------- Service groups ---------- */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; border-top: 4px solid var(--c, var(--fire)); }
.group--fire { --c: var(--fire); --cd: var(--fire-deep); --cs: var(--fire-soft); }
.group--water { --c: var(--water); --cd: var(--water-deep); --cs: var(--water-soft); }
.group--leaf { --c: var(--leaf); --cd: var(--leaf-deep); --cs: var(--leaf-soft); }
.group__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--cs); color: var(--cd); display: grid; place-items: center; }
.group__icon svg { width: 28px; height: 28px; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.group li { display: flex; gap: 10px; align-items: baseline; }
.group li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; transform: translateY(-2px); }
.group p { color: var(--muted); }

/* Services page detail rows */
.svc-cat { display: grid; gap: 28px; }
.svc-cat + .svc-cat { margin-top: 72px; }
.svc-cat__head { display: flex; align-items: center; gap: 16px; }
.svc-cat__head .group__icon { flex: none; }
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.svc .ph { border-radius: 0; aspect-ratio: 16/10; }
.svc__body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.svc__body ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }
.svc__tag { font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cd); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--leaf); flex: none; margin-top: 2px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { display: grid; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink-3); }
.section--ink .value p { color: #a9b9c5; }

.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cred { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; }
.cred strong { font-family: var(--display); color: var(--ink); }
.cred span { color: var(--muted); font-size: .95rem; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.proj .ph { border-radius: 0; }
.proj__body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.proj__meta { font-size: .92rem; color: var(--muted); }
.status { justify-self: start; font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; }
.status--done { background: var(--leaf-soft); color: var(--leaf-deep); }
.status--live { background: var(--fire-soft); color: var(--fire-deep); display: inline-flex; align-items: center; gap: 6px; }
.status--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fire); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.scope { display: flex; flex-wrap: wrap; gap: 8px; }
.scope span { font-size: .82rem; font-weight: 600; background: var(--paper); border: 1px solid var(--line); padding: 3px 10px; border-radius: 100px; color: var(--ink-2); }

.tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tabs a { font-family: var(--display); font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--ink); padding: 10px 18px; border: 2px solid var(--line); border-radius: 100px; background: var(--white); }
.tabs a:hover { border-color: var(--ink); }

/* ---------- CTA band ---------- */
.cta { background: var(--fire); color: var(--ink); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 44px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta p { font-size: 1.08rem; margin-top: 6px; }
.cta .btn--dark { background: var(--ink); color: var(--white); }
.cta .btn--dark:hover { background: var(--ink-2); color: var(--white); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--ink); }
.field .req { color: var(--fire-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid #c5d0d8; border-radius: var(--radius); background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 3px var(--water-soft); }
.field small { color: var(--muted); font-size: .88rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chips label { font-family: var(--body); font-weight: 500; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid #c5d0d8; border-radius: 100px; cursor: pointer; }
.chips input { width: auto; accent-color: var(--fire-deep); }
.chips label:has(input:checked) { border-color: var(--fire); background: var(--fire-soft); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status.ok { background: var(--leaf-soft); color: var(--leaf-deep); }
.form-status.err { background: var(--fire-soft); color: #7a3d00; }

/* Service tag — styled after the tag hung on a serviced extinguisher */
.svc-tagcard {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px 10px 10px 10px;
  position: relative; padding: 34px 26px 26px; display: grid; gap: 14px;
}
.svc-tagcard::before { content: ""; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.svc-tagcard__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px dashed var(--line); padding-bottom: 12px; gap: 12px; }
.svc-tagcard__head strong { font-family: var(--display); color: var(--fire-deep); letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.svc-tagcard__months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; font: 700 .64rem/1 var(--display); text-align: center; color: var(--muted); }
.svc-tagcard__months span { border: 1px solid var(--line); padding: 5px 0; border-radius: 3px; }
.svc-tagcard__months span.on { background: var(--fire); border-color: var(--fire); color: var(--ink); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font: 800 1rem var(--display); }
.steps strong { font-family: var(--display); color: var(--ink); display: block; }
.steps span { color: var(--muted); }

.aside-stack { display: grid; gap: 24px; align-content: start; }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 16px; }
.job { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .93rem; }
.job p { grid-column: 1 / -1; color: var(--muted); }
.job .btn { grid-row: 1 / span 2; grid-column: 2; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.ccard { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ccard .group__icon { width: 48px; height: 48px; }
.ccard strong { font-family: var(--display); color: var(--ink); display: block; margin-bottom: 2px; }
.ccard a { text-decoration: none; font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }
.map__fallback { padding: 28px; display: grid; gap: 12px; justify-items: start; }

/* ---------- Footer ---------- */
.footer { background: #0e1921; color: #9fb0bc; font-size: .95rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 60px 40px; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #d3dee6; text-decoration: none; }
.footer a:hover { color: var(--fire); }
.footer__brand img { height: 64px; width: auto; margin-bottom: 16px; }
.footer__brand strong { color: var(--white); font-family: var(--display); display: block; margin-bottom: 8px; }
.footer__bottom { border-top: 1px solid #22333f; }
.footer__bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 20px; grid-template-columns: none; font-size: .86rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #1faa53; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #178a43; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero__mark { display: none; }
  .groups, .proj-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .groups, .proj-grid, .values, .form-row { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .job .btn { grid-row: auto; grid-column: auto; justify-self: start; }
  .brand__name small { display: none; }
  .brand img { height: 42px; }
  .topbar__email { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== v2 additions ===== */
/* Stats strip */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 30px; }
.stat { display: grid; gap: 4px; padding-left: 18px; border-left: 3px solid var(--line); }
.stat:nth-child(1) { border-color: var(--fire); } .stat:nth-child(2) { border-color: var(--leaf); }
.stat:nth-child(3) { border-color: var(--water); } .stat:nth-child(4) { border-color: var(--ink-3); }
.stat strong { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Client name wall */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.clients__col h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.clients__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.clients__col li { font-family: var(--display); font-weight: 600; color: var(--ink); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }

/* Project cards */
.proj__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proj__years { font-size: .88rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Timeline (real chronological sequence) */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 820px; }
.tl li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.tl li:last-child { border-bottom: 1px solid var(--line); }
.tl__year { font-family: var(--display); font-weight: 800; color: var(--fire-deep); font-variant-numeric: tabular-nums; }

/* Credentials */
.cred em { font-style: normal; font-family: var(--display); font-weight: 700; color: var(--fire-deep); font-size: .95rem; }
.cred small { display: inline-block; margin-top: 6px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.creds { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Leadership */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.leader { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.leader__init { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font: 800 1.1rem var(--display); letter-spacing: .04em; }
.leader__role { display: block; font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--fire-deep); margin: 4px 0 10px; }
.leader p { color: var(--muted); font-size: .98rem; }

/* Systems list (services page, dark band) */
.systems { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.systems li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--ink-3); }
.systems strong { font-family: var(--display); color: var(--white); }
.systems span { color: #a9b9c5; font-size: .96rem; }

/* Maintenance contracts */
.maint { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.maint h3 { margin-bottom: 14px; }
.mlist { list-style: none; margin: 0; padding: 0; }
.mlist li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.mlist li > div { display: grid; gap: 2px; }
.mlist strong { font-family: var(--display); font-size: .98rem; color: var(--ink); }
.mlist span { color: var(--muted); font-size: .94rem; }
.mlist .status { flex: none; white-space: nowrap; }

/* Track record table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.track { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .97rem; }
.track th, .track td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.track thead th { font-family: var(--display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.track .track__sec th { font-family: var(--display); color: var(--ink); background: var(--fire-soft); font-size: .9rem; }
.track td:first-child { font-weight: 600; color: var(--ink); }
.track .num { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }

/* Map */
.map__fallback { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; }

/* Calendly */
#calendly-slot .calendly-inline-widget { min-width: 280px; height: 720px; }

@media (max-width: 980px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .clients, .maint, .leaders { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tl li { grid-template-columns: 1fr; gap: 4px; }
  .mlist li { flex-direction: column; gap: 8px; }
  .topbar__items a:nth-child(2) { display: none; }
}

/* ===== v3 additions: team, certificates, lightbox ===== */
.team { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.team__photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.team__photo img { width: 100%; height: auto; }
.team__text { display: grid; gap: 16px; }
.team__text p:not(.lead) { color: var(--muted); }

.cert-group + .cert-group { margin-top: 64px; }
.cert-group__title { font-size: 1.35rem; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.cert { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.cert__img { display: block; background: #e9eef1; padding: 16px; border-bottom: 1px solid var(--line); }
.cert__img img { width: 100%; height: auto; aspect-ratio: 480 / 673; object-fit: contain; background: #fff; box-shadow: 0 4px 14px rgba(19,33,44,.12); transition: transform .2s; }
.cert__img:hover img { transform: translateY(-3px); }
.cert__body { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; }
.cert__issuer { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cert__body h3 { font-size: 1.05rem; }
.cert__body p { color: var(--muted); font-size: .95rem; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8,16,23,.82); }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; margin: 0 auto; background: #fff; }
.lightbox__cap { color: #fff; text-align: center; margin-top: 10px; font-weight: 600; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }

.accred { display: none; }

@media (max-width: 980px) { .team { grid-template-columns: 1fr; } }

/* ===== v4: Contracting / Servicing split ===== */
.hero__alt { margin-top: 18px; font-size: .95rem; color: #b9c7d1; }
.hero__alt a { color: var(--fire); font-weight: 600; }

.doors__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.door { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.door--contract { background: var(--ink); border-color: var(--ink); color: #c3d0da; }
.door--contract h3 { color: var(--white); }
.door h3 { font-size: 1.6rem; }
.door__for { font-family: var(--display); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fire-deep); }
.door--contract .door__for { color: var(--fire); }
.door .checks { margin-top: 4px; }
.door .btn-row { margin-top: 8px; }
.door--contract .btn--primary, .door--contract .btn--fire { background: var(--fire); color: var(--ink); }
.btn--primary { background: var(--ink); color: #fff; }
.door--contract .btn--outline { border-color: rgba(255,255,255,.45); color: #fff; }
.door--contract .btn--outline:hover { background: #fff; color: var(--ink); }

.life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: none; }
.life__step { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 24px 28px 0; border-top: 2px solid var(--line); }
.life__step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--fire); }
.life__num { font-family: var(--display); font-weight: 800; font-size: .85rem; color: var(--fire-deep); letter-spacing: .08em; }
.life__icon svg { width: 30px; height: 30px; color: var(--ink); }
.life__step p { color: var(--muted); font-size: .96rem; }

.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); display: grid; gap: 6px; }
.sector p { color: var(--muted); font-size: .95rem; }

.crosslink { background: var(--white); border-top: 1px solid var(--line); }
.crosslink .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 28px; }
.crosslink p { color: var(--muted); max-width: 70ch; }
.crosslink strong { color: var(--ink); }

.footer .wrap { grid-template-columns: 1.3fr .8fr .9fr 1fr 1.25fr; gap: 32px; }
.footer__bottom .wrap { grid-template-columns: none; }

@media (max-width: 980px) {
  .doors__grid, .life { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .doors__grid, .life, .sectors { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
}

/* ===== v5: two-business navigation + responsive top bar ===== */
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; justify-content: flex-start; padding-block: 8px; }
.topbar a, .tb-hours { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb-hours { margin-left: auto; color: #b9c7d1; }
.tb-ic { flex: none; opacity: .85; }

.nav__sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.nav__group { position: relative; }
.nav__toggle { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--text); background: none; border: 0; padding: 10px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; }
.nav__toggle::before { content: ""; width: 8px; height: 8px; border-radius: 2px; flex: none; }
.nav__group--pc .nav__toggle::before { background: var(--ink); }
.nav__group--hb .nav__toggle::before { background: var(--fire); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__group:hover .nav__toggle svg, .nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__panel { position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -16px rgba(19,33,44,.3); padding: 14px 8px 10px; display: none; flex-direction: column; z-index: 60; }
.nav__group:hover .nav__panel, .nav__group:focus-within .nav__panel, .nav__group.is-open .nav__panel { display: flex; }
.nav .nav__panel a { padding: 9px 12px; border-radius: 4px; font-size: .9rem; box-shadow: none; }
.nav .nav__panel a:hover { background: var(--paper); }
.nav__for { display: block; padding: 0 12px 10px; margin-bottom: 6px; font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.nav__group.is-current > .nav__toggle { color: var(--fire-deep); box-shadow: inset 0 -3px 0 var(--fire); }
.nav__mobile-only { display: none; }

@media (max-width: 1180px) {
  .nav { max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav__sep { display: none; }
  .nav__group { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .nav__toggle { width: 100%; padding: 16px 4px 4px; font-size: .95rem; cursor: default; }
  .nav__toggle svg { display: none; }
  .nav__panel { position: static; display: flex; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0 18px; background: none; }
  .nav__for { border: 0; padding: 0 0 6px; margin: 0; text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 500; }
  .nav .nav__panel a { padding: 9px 0; border-bottom: 0; font-size: .92rem; color: var(--muted); }
  .nav__group.is-current > .nav__toggle { box-shadow: none; }
  .nav__mobile-only { display: block; }
}
@media (max-width: 640px) {
  .topbar { font-size: 12px; }
  .topbar .wrap { justify-content: space-between; gap: 6px 12px; }
  .tb-lbl { display: none; }
  .tb-hours { margin-left: 0; }
}

/* =========================================================
   OPTION 2 — corporate edition
   Navy and white, serif headings, hairline rules, square corners.
   Loaded after the base styles and overrides them.
   ========================================================= */
:root {
  --ink: #0d2238;
  --ink-2: #13304d;
  --ink-3: #244566;
  --paper: #f6f7f9;
  --text: #1e2a36;
  --muted: #5b6977;
  --line: #e2e6eb;
  --fire: #e98a14;
  --fire-deep: #a85a05;
  --fire-soft: #fbf1e3;
  --water-deep: #1d5f8a;
  --radius: 2px;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --body: "Public Sans", "Segoe UI", Arial, sans-serif;
}
body { font-size: 16.5px; line-height: 1.65; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.005em; }
h1 { font-weight: 600; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.12; }
h2 { font-weight: 600; font-size: clamp(1.65rem, 2.8vw, 2.25rem); }
h3 { font-weight: 600; font-size: 1.15rem; }
.lead { font-size: 1.1rem; }

/* Labels use the sans face, with a short rule */
.eyebrow {
  font-family: var(--body); font-weight: 600; font-size: .74rem; letter-spacing: .16em; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--fire); }
.section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #c9d6e2; }

/* Buttons: square, navy primary */
.btn { font-family: var(--body); font-weight: 600; font-size: .92rem; border-radius: var(--radius); padding: 14px 26px; letter-spacing: .01em; }
.btn:hover { transform: none; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-3); color: #fff; }
.btn--fire { background: var(--fire); color: #1b1305; }
.btn--fire:hover { background: #f59d2c; color: #1b1305; }
.btn--outline { border-color: #b9c3cd; color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.5); }

/* Top bar & header */
.topbar { background: var(--ink); font-size: .84rem; }
.header { border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(13,34,56,.03); }
.header .wrap { min-height: 88px; }
.brand--full img { height: 56px; width: auto; }
.nav a { font-family: var(--body); font-weight: 500; font-size: .9rem; color: var(--text); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.nav .btn { background: var(--ink); color: #fff; }
.nav .btn:hover { background: var(--ink-3); color: #fff; }
.nav .btn[aria-current="page"] { color: #fff; }

/* No tricolour stripe in this edition */
.tri { display: none; }

/* Home hero: light, split with the team photo */
.hero--pro { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); color: var(--text); isolation: isolate; }
.hero--pro::before { display: none; }
.hero--pro .wrap { grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 7vw, 96px); }
.hero--pro h1 { color: var(--ink); margin: 18px 0 20px; }
.hero--pro .lead { color: var(--muted); margin-bottom: 30px; }
.hero--pro .eyebrow { color: var(--ink-3); }
.hero__photo { margin: 0; position: relative; }
.hero__photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 16px 16px 0 -1px #fff, 16px 16px 0 0 #c9d2db, 0 24px 48px -24px rgba(13,34,56,.45); }
.hero__photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 26px; }

/* Accreditation band */
.accred { display: block; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.accred .wrap { display: grid; grid-template-columns: repeat(6, 1fr); }
.accred__item { display: flex; gap: 10px; align-items: flex-start; padding: 22px 14px; text-decoration: none; color: var(--text); border-left: 1px solid var(--line); }
.accred__item:last-child { border-right: 1px solid var(--line); }
.accred__item:hover { background: var(--paper); color: var(--text); }
.accred__item svg { width: 22px; height: 22px; flex: none; color: var(--ink-3); margin-top: 2px; }
.accred__item strong { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.accred__item small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }

/* Stats: large serif figures between hairlines */
.stats { background: var(--paper); border-bottom: 0; }
.stats .wrap { padding-block: 44px; gap: 0; }
.stat { border-left: 1px solid var(--line) !important; padding: 4px 24px; }
.stat:first-child { border-left: 0 !important; padding-left: 0; }
.stat strong { font-family: var(--display); font-weight: 600; font-size: 2.2rem; color: var(--ink); }

/* Inner page headers */
.page-hero { background: var(--ink); }
.page-hero .wrap { padding-block: clamp(48px, 6vw, 80px); }
.page-hero h1 { font-weight: 600; }

/* Cards: flat, hairline borders, no coloured tops */
.group, .svc, .proj, .cred, .job, .ccard, .form-card, .cert, .svc-tagcard, .leader { border-radius: var(--radius); box-shadow: none; }
.group { border-top: 1px solid var(--line); padding: 30px; }
.group__icon { border-radius: 0; background: transparent; color: var(--ink); width: auto; height: auto; justify-content: start; }
.group__icon svg { width: 30px; height: 30px; }
.group li::before { background: var(--ink-3); border-radius: 0; width: 6px; height: 6px; }
.svc-cat__head .group__icon, .ccard .group__icon { width: 44px; height: 44px; border: 1px solid var(--line); justify-content: center; }
.svc__tag, .cert__issuer { color: var(--ink-3); font-family: var(--body); }
.svc__body a, .proj a { color: var(--ink); }

/* Status labels: squared */
.status { border-radius: 0; font-family: var(--body); font-size: .68rem; letter-spacing: .12em; padding: 4px 8px; }
.status--done { background: #eaf2ec; color: #2c6a3b; }
.status--live { background: #f4ecdf; color: #8a4d06; }
.status--live::before { animation: none; background: #c9771a; }
.scope span, .tabs a { border-radius: 0; }
.tabs a { font-family: var(--body); font-weight: 600; border-width: 1px; }
.tabs a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Credentials */
.cred em { color: var(--ink-3); font-family: var(--body); font-weight: 600; }
.cred strong { font-family: var(--display); font-size: 1.1rem; }

/* Timeline */
.tl__year { color: var(--ink); font-family: var(--display); font-size: 1.1rem; }

/* Values band */
.section--ink { background: var(--ink); }
.value { border-top-color: rgba(255,255,255,.25); }

/* Clients: two-line list with serif names */
.clients__col li { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.clients__col h3 { font-family: var(--body); color: var(--ink-3); }

/* Track table */
.track .track__sec th { background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 1rem; }
.table-wrap { border-radius: var(--radius); }

/* Maintenance */
.mlist strong { font-family: var(--body); font-weight: 700; }

/* CTA: navy band */
.cta { background: var(--ink-2); color: #d5dfe8; }
.cta h2 { color: #fff; }
.cta p { color: #b9c7d3; }
.cta .btn--dark { background: var(--fire); color: #1b1305; }
.cta .btn--dark:hover { background: #f59d2c; color: #1b1305; }
.cta .btn--outline { border-color: rgba(255,255,255,.45); color: #fff; }
.cta .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Forms */
.field label, .field legend { font-family: var(--body); font-weight: 600; }
.field input, .field select, .field textarea { border-radius: var(--radius); border-width: 1px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-3); box-shadow: 0 0 0 3px #e3eaf1; }
.chips label { border-radius: 0; }
.chips label:has(input:checked) { border-color: var(--ink); background: #eef2f6; }
.steps li::before { border-radius: 0; font-family: var(--display); }
.svc-tagcard__months span.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Footer */
.footer { background: #0a1a2b; }
.footer h4 { font-family: var(--body); font-size: .76rem; }
.footer__brand strong { font-family: var(--display); font-size: 1.1rem; }

/* WhatsApp button: smaller, squarer */
.wa-float { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 8px 18px rgba(0,0,0,.2); }

@media (max-width: 1180px) {
  .accred .wrap { grid-template-columns: repeat(3, 1fr); }
  .accred__item:nth-child(3n) { border-right: 1px solid var(--line); }
  .accred__item:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .hero--pro .wrap { grid-template-columns: 1fr; }
  .hero__photo img { box-shadow: 0 16px 32px -20px rgba(13,34,56,.45); }
  .stat { padding: 12px 0; border-left: 0 !important; }
}
@media (max-width: 640px) {
  .accred .wrap { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .accred__item { border-right: 0 !important; border-top: 1px solid var(--line); }
  .accred__item:nth-child(odd) { border-left: 0; }
  .brand--full img { height: 44px; }
  .header .wrap { min-height: 72px; }
}

/* ===== Option 2 motion ===== */
/* Service hub */
.hub { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__lines line { stroke: #c9d2db; stroke-width: .35; stroke-dasharray: 1.2 1.2; transition: stroke .3s, stroke-width .3s; vector-effect: non-scaling-stroke; }
.hub__lines line { stroke-width: 1.5; }
.hub__lines line.is-active { stroke: var(--fire); stroke-dasharray: none; stroke-width: 2.5; }
.hub__ring { fill: none; stroke: #e1e6eb; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hub__core { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 8px #fff, 0 0 0 9px #d5dce3, 0 24px 48px -20px rgba(13,34,56,.5); }
.hub__img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform .8s ease; transform: scale(1.06); display: grid; place-items: center; }
.hub__img.is-active { opacity: 1; transform: scale(1); }
.hub__img img { width: 100%; height: 100%; object-fit: cover; }
.hub__img .hub__logo { width: 38%; height: auto; object-fit: contain; }
.hub__node {
  position: absolute; transform: translate(-50%, -50%); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer; font: 600 .8rem/1.2 var(--body); color: var(--ink); text-align: center;
}
.hub__node svg { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: #fff; color: var(--ink); border: 1px solid #d5dce3; box-shadow: 0 6px 16px -10px rgba(13,34,56,.4); transition: background .25s, color .25s, border-color .25s, transform .25s; box-sizing: border-box; }
.hub__node span { background: rgba(255,255,255,.92); padding: 2px 6px; white-space: nowrap; }
.hub__node:hover svg, .hub__node:focus-visible svg, .hub__node.is-active svg { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.08); }
.hub__node.is-active svg { background: var(--fire); border-color: var(--fire); color: #1b1305; }
.hub__node:focus-visible { outline: none; }
.hub__node:focus-visible svg { outline: 3px solid var(--fire); outline-offset: 3px; }
.hub__cap { grid-column: 2; display: grid; gap: 4px; max-width: 540px; margin: 8px auto 0; text-align: center; min-height: 6.2em; }
.hub__cap strong { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.hub__cap span { color: var(--muted); font-size: .95rem; }
.hub__cap a { font-weight: 600; color: var(--ink); font-size: .92rem; }
.hero--pro .wrap { row-gap: 0; }
.hero--pro .hero__text { grid-row: span 2; }
@media (max-width: 980px) { .hero--pro .hero__text { grid-row: auto; } .hub__cap { grid-column: auto; } .hub { margin-top: 12px; } }
@media (max-width: 640px) { .hub__node svg { width: 42px; height: 42px; padding: 10px; } .hub__node { font-size: .72rem; } .hub { width: 94%; } }

/* Hero load sequence (only when motion.js adds .motion) */
.motion .hero--pro .hero__text > *, .motion .hero--pro .hub, .motion .hero--pro .hub__cap, .motion .accred__item { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.motion .hero--pro .hub { transform: scale(.94); }
.motion-ready .hero--pro .hero__text > *, .motion-ready .hero--pro .hub, .motion-ready .hero--pro .hub__cap, .motion-ready .accred__item { opacity: 1; transform: none; }
.motion-ready .hero--pro .hero__text > :nth-child(1) { transition-delay: .05s; }
.motion-ready .hero--pro .hero__text > :nth-child(2) { transition-delay: .18s; }
.motion-ready .hero--pro .hero__text > :nth-child(3) { transition-delay: .32s; }
.motion-ready .hero--pro .hero__text > :nth-child(4) { transition-delay: .46s; }
.motion-ready .hero--pro .hub { transition-delay: .25s; transition-duration: 1.1s; }
.motion-ready .hero--pro .hub__cap { transition-delay: .6s; }
.motion-ready .accred__item:nth-child(1) { transition-delay: .6s; } .motion-ready .accred__item:nth-child(2) { transition-delay: .68s; }
.motion-ready .accred__item:nth-child(3) { transition-delay: .76s; } .motion-ready .accred__item:nth-child(4) { transition-delay: .84s; }
.motion-ready .accred__item:nth-child(5) { transition-delay: .92s; } .motion-ready .accred__item:nth-child(6) { transition-delay: 1s; }
/* Heading underline draw */
.hero--pro h1 { position: relative; }
.motion .hero--pro .eyebrow::before { width: 0; transition: width .9s .5s ease; }
.motion-ready .hero--pro .eyebrow::before { width: 28px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Subtle hover lift on cards */
.group, .svc, .proj, .cert, .cred { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.group:hover, .svc:hover, .proj:hover, .cert:hover, .cred:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(13,34,56,.35); border-color: #cfd7df; }
.reveal.is-in:hover { transform: translateY(-3px); }



/* ===== v4 pro: split ===== */
.hero--pro .hero__alt { color: var(--muted); }
.hero--pro .hero__alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.door h3 { font-family: var(--display); font-weight: 600; }
.door__for { font-family: var(--body); font-weight: 600; }
.door--contract .door__for { color: #f0b464; }
.life__num { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink-3); }
.life__icon svg { color: var(--ink-3); }
.sector h3 { font-family: var(--display); }
.hub__node span em { font-style: normal; color: var(--fire-deep); margin-right: 3px; font-weight: 700; }
.hub__node span { font-size: .84rem; }
.hub__node svg { width: 58px; height: 58px; padding: 15px; }

/* ===== v5 pro nav ===== */
.nav__toggle { font-family: var(--body); font-weight: 500; }
.nav__group.is-current > .nav__toggle { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.nav__panel { border-radius: var(--radius); }
@media (max-width: 1180px) { .nav__group.is-current > .nav__toggle { box-shadow: none; } .nav__toggle { font-weight: 600; } }

@media (max-width: 640px) {
  .hub { width: 84%; }
  .hub__node span { font-size: .74rem; }
  .hub__node svg { width: 46px; height: 46px; padding: 12px; }
  .topbar .wrap { gap: 4px 12px; padding-block: 6px; }
}

/* ===== v6: anchor offset + map ===== */
[id] { scroll-margin-top: 110px; }
.map__frame { position: relative; height: 380px; background:
  repeating-linear-gradient(0deg, transparent 0 39px, #e6ebf0 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, #e6ebf0 39px 40px), #f3f6f8; }
.map__under { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--ink); text-align: center; padding: 20px; font-weight: 600; }
.map__under svg { width: 40px; height: 40px; color: var(--fire); }
.map__frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; }
.map iframe { height: 100%; }
@media (max-width: 640px) { .map__frame { height: 300px; } }
.map__under small { font-weight: 400; color: var(--muted); font-size: .88rem; }
/* Section links: line up the section title (not the padded section edge) just below the menu bar */
.section[id] { scroll-margin-top: calc(118px - clamp(56px, 8vw, 96px)); }
@media (max-width: 1180px) { [id] { scroll-margin-top: 92px; } .section[id] { scroll-margin-top: calc(92px - clamp(56px, 8vw, 96px)); } }

/* ===== v7: Home & Business Services mega menu ===== */
.nav__group.wide .nav__panel { left: auto; right: 0; width: min(680px, 92vw); padding: 16px 12px 12px; }
.nav__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.nav__col { display: flex; flex-direction: column; }
.nav .nav__panel a.nav__colhead { font-weight: 700; color: var(--ink); font-size: .84rem; padding: 8px 12px 6px; border-bottom: 2px solid var(--fire); margin: 0 12px 4px; padding-inline: 0; border-radius: 0; }
.nav .nav__panel a.nav__colhead:hover { background: none; color: var(--fire-deep); }
.nav .nav__col a:not(.nav__colhead) { font-size: .88rem; padding: 7px 12px; }
.nav__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 12px 2px; border-top: 1px solid var(--line); }
.nav .nav__foot a:first-child { padding: 0; font-weight: 600; color: var(--ink); }
.nav .nav__foot a:first-child:hover { background: none; text-decoration: underline; }
.nav .nav__panel a.nav__book { color: #1b1305; padding: 10px 18px; margin: 0; }
.nav .nav__panel a.nav__book:hover { background: #f59d2c; color: #1b1305; }

@media (max-width: 1180px) {
  .nav__group.wide .nav__panel { width: auto; padding: 0 0 0 18px; }
  .nav__cols { grid-template-columns: 1fr; gap: 0; }
  .nav .nav__panel a.nav__colhead { margin: 10px 0 2px; padding: 6px 0 4px; border-bottom-width: 0; font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
  .nav .nav__col a:not(.nav__colhead) { padding: 8px 0; }
  .nav__foot { padding: 12px 0 6px; flex-wrap: wrap; }
  .nav__foot .nav__book { display: none; }
}
.nav .nav__panel a.nav__book { background: var(--fire); border-color: var(--fire); color: #1b1305; }
.nav .nav__panel a.nav__book:hover { background: #f59d2c; color: #1b1305; }
/* v8: simple Home & Business Services list with booking button under it */
.nav .nav__panel a.nav__book { display: block; text-align: center; margin: 10px 12px 4px; padding: 11px 16px; font-weight: 600; }
@media (max-width: 1180px) {
  .nav .nav__panel a.nav__book { display: inline-block; margin: 10px 0 6px; align-self: flex-start; color: #1b1305; }
  .nav > .btn--fire { display: none; }
}
