/* ==========================================================================
   BMAS — Business Momentum Advisory Services
   One stylesheet: tokens, base, layout, components, tools, print.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@property --score {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --brand: #11707a;
  --brand-600: #0e5f68;
  --brand-700: #0b4f57;
  --brand-800: #093d43;
  --brand-100: #d2eaec;
  --brand-50: #ecf6f7;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --bg: #f6f8f9;
  --gold: #f1b013;
  --gold-600: #d99c0a;
  --gold-50: #fef8e7;
  --accent: #c2620d;
  --green: #15803d;
  --amber: #b45309;
  --red: #b91c1c;
  --whatsapp: #1da851;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 10px 30px -12px rgb(15 23 42 / 0.16);
  --shadow-lg: 0 30px 60px -28px rgb(15 23 42 / 0.4);
  --container: 1200px;
  --header-h: 76px;
  --hero-bg:
    radial-gradient(900px 420px at 90% -10%, rgb(241 176 19 / 0.2), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgb(17 112 122 / 0.55), transparent 60%),
    linear-gradient(135deg, #0f5a5c 0%, #0c3f47 45%, #0e1b30 100%);
  --font: "Geist", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.04em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); letter-spacing: -0.035em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--brand-700); }
strong { color: var(--ink); font-weight: 650; }
.hero strong, .page-hero--dark strong, .card--dark strong, .cta-band strong { color: #fff; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
::selection { background: var(--brand-100); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .hero .eyebrow, .page-hero--dark .eyebrow, .cta-band .eyebrow, .card--dark .eyebrow { color: var(--gold); }
.lede { font-size: 1.15rem; line-height: 1.65; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.78rem 1.25rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 0.85rem; font-size: 0.85rem; border-radius: 8px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-2); color: #fff; box-shadow: 0 8px 20px -10px rgb(15 23 42 / 0.6); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-600); color: #fff; box-shadow: 0 8px 20px -10px rgb(17 112 122 / 0.7); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-600); color: var(--ink); box-shadow: 0 8px 22px -10px rgb(217 156 10 / 0.8); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn--ghost-light { color: #fff; border-color: rgb(255 255 255 / 0.32); background: rgb(255 255 255 / 0.04); }
.btn--ghost-light:hover { color: #fff; background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.5); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #188f45; color: #fff; }
.btn--text { padding: 0.4rem 0.2rem; color: var(--muted); background: none; }
.btn--text:hover { color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn-row--center { justify-content: center; }
.span-all { grid-column: 1 / -1; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--brand); }
.link-arrow .icon { transition: transform 0.2s; }
.link-arrow:hover .icon, .card--link:hover .link-arrow .icon { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #cbd5e1; font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; color: #cbd5e1; }
.topbar a.topbar__item:hover { color: #fff; }
.topbar .icon { width: 0.95rem; height: 0.95rem; color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / 0.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(15 23 42 / 0.4); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 6px 14px -8px rgb(17 112 122 / 0.8); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand__text strong { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; color: inherit; }
.brand__text span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.01em; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--light .brand__text span { color: #94a3b8; }

.site-nav { display: flex; align-items: center; gap: 1rem; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .nav-menu-btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.55rem 0.72rem;
  border-radius: 8px; border: 0; background: none; color: var(--ink-2); font-weight: 500; font-size: 0.94rem; cursor: pointer;
}
.nav-list > li > a:hover, .nav-menu-btn:hover, .has-menu.is-open .nav-menu-btn { background: var(--brand-50); color: var(--brand-700); }
.nav-list > li > a[aria-current="page"], .nav-menu-btn[aria-current="page"] { color: var(--brand-700); font-weight: 650; }
.nav-list > li > a[aria-current="page"]::after, .nav-menu-btn[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.72rem; right: 0.72rem; bottom: 0.2rem; height: 2px; border-radius: 2px; background: var(--gold);
}
.nav-menu-btn .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.2s; }
.has-menu.is-open .nav-menu-btn .icon { transform: rotate(180deg); }
.nav-cta .icon { width: 1rem; height: 1rem; }
.nav-toggle { display: none; }

.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 640px; max-width: calc(100vw - 2rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; padding: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0.35rem 0.6rem 0.4rem; }
.mega a { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem; border-radius: 12px; color: var(--ink); }
.mega a:hover, .mega a[aria-current="page"] { background: var(--bg); color: var(--ink); }
.mega a strong { display: block; font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
.mega a small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.mega__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.mega__icon--gold { background: var(--gold-50); color: #a16207; }
.mega__icon .icon { width: 18px; height: 18px; }

@media (hover: hover) and (min-width: 1121px) {
  .has-menu:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-menu:hover .nav-menu-btn { background: var(--brand-50); color: var(--brand-700); }
}

@media (max-width: 1120px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle .icon { width: 22px; height: 22px; }
  .nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
  .site-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 59; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 2rem; background: #fff; overflow-y: auto; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-menu-btn { width: 100%; justify-content: space-between; padding: 0.95rem 0.25rem; font-size: 1.05rem; border-radius: 0; }
  .nav-list > li > a:hover, .nav-menu-btn:hover, .has-menu.is-open .nav-menu-btn { background: none; }
  .nav-list > li > a[aria-current="page"]::after, .nav-menu-btn[aria-current="page"]::after { display: none; }
  .mega {
    position: static; width: auto; max-width: none; transform: none; display: none; opacity: 1; visibility: visible;
    grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 0.75rem; border-radius: 0;
  }
  .has-menu.is-open .mega { display: grid; transform: none; }
  .mega::before { display: none; }
  .nav-cta { width: 100%; padding: 0.95rem; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
}

/* ---------- Heroes ---------- */
.hero, .page-hero--dark {
  position: relative; overflow: hidden; color: #cbd5e1; isolation: isolate;
  background: var(--hero-bg);
}
.hero::after, .page-hero--dark::after, .page-hero::after, .cta-band__inner::after {
  content: ""; position: absolute; z-index: -1; right: -60px; bottom: -90px; width: 520px; height: 520px;
  background: url("../img/watermark.svg") center / contain no-repeat; opacity: 0.08; transform: rotate(-12deg); pointer-events: none;
}
.hero h1, .page-hero--dark h1, .hero h2 { color: #fff; }
.hero .lede, .page-hero--dark .lede { color: #cbd5e1; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 3.5rem; align-items: center; padding: 6rem 0 5.5rem; }
.hero__actions { margin-top: 2rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 2.25rem; padding: 0; list-style: none; font-size: 0.9rem; color: #a7c4c2; }
.hero__proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__proof .icon { color: var(--gold); width: 1rem; height: 1rem; }
.hero h1 .accent { color: var(--gold); }

.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 4.5rem 0 3.75rem; background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); border-bottom: 1px solid var(--line); }
.page-hero::after { background-image: url("../img/watermark-dark.svg"); opacity: 0.06; }
.page-hero--dark::after { background-image: url("../img/watermark.svg"); opacity: 0.08; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { max-width: 46rem; margin-bottom: 0; }
.page-hero.page-hero--dark { border-bottom: 0; background: var(--hero-bg); color: #cbd5e1; padding-bottom: 6.5rem; }
.page-hero--dark .lede { max-width: 44rem; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem; align-items: center; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.page-hero--dark .breadcrumbs, .page-hero--dark .breadcrumbs a { color: #94b8b6; }
.page-hero--dark .breadcrumbs li + li::before { color: #4b6b70; }

/* Glass panel in the home hero */
.panel-glass { position: relative; border-radius: 22px; padding: 1.75rem; background: linear-gradient(160deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03)); border: 1px solid rgb(255 255 255 / 0.14); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.6); backdrop-filter: blur(8px); }
.panel-glass__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.25rem; }
.panel-glass__head .brand__mark { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.1); }
.panel-glass__head strong { display: block; color: #fff; font-size: 1.05rem; }
.panel-glass__head span { font-size: 0.85rem; color: #94b8b6; }
.tool-links { display: grid; gap: 0.6rem; }
.tool-link { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border-radius: 14px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); color: #e2e8f0; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.tool-link:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(241 176 19 / 0.5); color: #fff; transform: translateX(2px); }
.tool-link__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgb(241 176 19 / 0.14); color: var(--gold); flex: none; }
.tool-link__icon .icon { width: 20px; height: 20px; }
.tool-link strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 600; }
.tool-link small { display: block; color: #94b8b6; font-size: 0.8rem; }
.tool-link > .icon:last-child { margin-left: auto; color: #94b8b6; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.stat { padding: 1rem 1.1rem; border-radius: 14px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.12); }
.stat__label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #94b8b6; }
.stat__value { display: block; margin-top: 0.2rem; font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--white { background: #fff; }
.section--tint { background: var(--brand-50); }
.section--line { border-top: 1px solid var(--line); }
.section-head { max-width: 48rem; margin-bottom: 2.75rem; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; }
.section-head--split > div { max-width: 46rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.split--top { align-items: start; }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 0.45rem; }
.card > p, .card__text { color: var(--muted); }
.card--lg { padding: 2.25rem; border-radius: var(--radius-lg); }
.card--muted { background: var(--bg); box-shadow: none; }
.card--link { display: flex; flex-direction: column; color: inherit; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card--link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card--link .link-arrow { margin-top: auto; padding-top: 1.25rem; }
.card--dark { background: radial-gradient(600px 300px at 100% 0%, rgb(241 176 19 / 0.12), transparent 60%), linear-gradient(150deg, #0f172a, #12283a); color: #cbd5e1; border-color: transparent; }
.card--dark h2, .card--dark h3 { color: #fff; }
.card--dark > p { color: #cbd5e1; }
.card--accent-top { border-top: 3px solid var(--brand); }

.icon-badge { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 1.25rem; flex: none; }
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--gold { background: var(--gold-50); color: #a16207; }
.icon-badge--ink { background: var(--ink); color: var(--gold); }
.icon-badge--sm { width: 40px; height: 40px; border-radius: 11px; margin: 0; }
.icon-badge--sm .icon { width: 20px; height: 20px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311707a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}
.card--dark .check-list li::before, .on-dark .check-list li::before { background-color: rgb(241 176 19 / 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1b013' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }
.chip .icon { width: 1rem; height: 1rem; color: var(--brand); }

.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.28rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge--brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.badge--gold { background: var(--gold-50); color: #92400e; border-color: #fde68a; }
.badge--low { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.badge--mid { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.badge--high { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.notice { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.95rem 1.1rem; border-radius: 12px; background: var(--gold-50); border: 1px solid #fde68a; color: #78350f; font-size: 0.9rem; line-height: 1.55; }
.notice .icon { margin-top: 0.15rem; }
.notice--info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-800); }
.notice--plain { background: var(--bg); border-color: var(--line); color: var(--text); }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-block; margin-bottom: 1rem; padding: 0.2rem 0.55rem; border-radius: 8px; background: var(--ink); color: var(--gold); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); }

/* Feature (service cluster) rows */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: start; padding: 3rem 0; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature__intro .icon-badge { width: 56px; height: 56px; }
.feature__intro p { font-size: 1.05rem; color: var(--muted); }
.feature__body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.feature__body h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.feature__body .btn-row { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.partner-note { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem; margin-bottom: 1rem; border-radius: 999px; background: var(--gold-50); border: 1px solid #fde68a; color: #92400e; font-size: 0.85rem; font-weight: 500; }

/* Strip of compliance bodies */
.strip { padding: 1.75rem 0; background: #fff; border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; justify-content: space-between; }
.strip__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.strip__items { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; list-style: none; padding: 0; margin: 0; }
.strip__items li { font-weight: 700; color: var(--ink-2); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 0.5rem; }
.strip__items li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Quote / statement */
.statement { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }

/* Contact cards */
.contact-list { display: grid; gap: 0.9rem; list-style: none; padding: 0; margin: 0; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: inherit; }
a.contact-item:hover { border-color: var(--brand-100); box-shadow: var(--shadow); color: inherit; }
.contact-item strong { display: block; font-size: 0.95rem; }
.contact-item span { color: var(--muted); font-size: 0.92rem; }

/* CTA band */
.cta-band { padding: 0 0 5.5rem; }
main:has(> .section--white:last-child) + .cta-band { padding-top: 5.5rem; }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  padding: 3.25rem; border-radius: 26px; color: #cbd5e1;
  background: radial-gradient(700px 300px at 100% 0%, rgb(241 176 19 / 0.22), transparent 60%), linear-gradient(135deg, #0f5a5c, #0e1b30);
}
.cta-band__inner::after { right: -40px; bottom: -160px; width: 420px; height: 420px; }
.cta-band h2 { color: #fff; font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.cta-band p { margin-bottom: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1324; color: #94a3b8; padding: 4.5rem 0 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 0.9fr; gap: 2.5rem; }
.footer-brand > p { margin: 1.25rem 0; max-width: 24rem; }
.footer-title { color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 0.2rem; width: 1rem; height: 1rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.08); color: #e2e8f0; transition: background 0.15s, color 0.15s, transform 0.15s; }
.social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 3.5rem; padding: 1.5rem 0; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.label, .field > label { font-weight: 600; font-size: 0.88rem; color: var(--ink-2); }
.label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: 0.97rem; color: var(--ink); background: #fff; transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder, .textarea::placeholder { color: #94a3b8; }
.input:hover, .select:hover, .textarea:hover { border-color: #94a3b8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(17 112 122 / 0.14); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgb(185 28 28 / 0.1); }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.85rem center / 1.05rem no-repeat; }
.hint { font-size: 0.82rem; color: var(--muted); }
.error-text { font-size: 0.82rem; color: var(--red); }
.input-group { position: relative; }
.input-group__prefix { position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-group .input { padding-left: 2.3rem; }
.input-group--icon .icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-group--icon .input { padding-left: 2.6rem; }
.check { display: flex; align-items: flex-start; gap: 0.65rem; cursor: pointer; font-size: 0.95rem; }
.check input { width: 1.1rem; height: 1.1rem; margin: 0.22rem 0 0; accent-color: var(--brand); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; align-items: center; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.segmented label { position: relative; padding: 0.5rem 1rem; border-radius: 9px; font-weight: 600; font-size: 0.9rem; color: var(--muted); cursor: pointer; transition: background 0.15s, color 0.15s; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(15 23 42 / 0.12); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 1px; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

.success-panel { display: none; text-align: center; padding: 2rem 1rem; }
.success-panel.is-visible { display: block; }
.success-panel .icon-badge { margin-inline: auto; background: #dcfce7; color: var(--green); }

/* ---------- Tool pages ---------- */
.tool-shell { margin-top: -3.5rem; position: relative; z-index: 2; padding-bottom: 5rem; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 1.5rem; align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.panel__head h2, .panel__head h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.02em; }
.panel + .panel { margin-top: 1.5rem; }
.grid > .panel + .panel { margin-top: 0; }
.panel__section + .panel__section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.result-hero { position: relative; overflow: hidden; border-radius: 18px; padding: 1.5rem 1.6rem; color: #b9dcd9; background: radial-gradient(400px 200px at 100% 0%, rgb(241 176 19 / 0.25), transparent 60%), linear-gradient(135deg, var(--brand), #0c3f47); }
.result-hero__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.result-hero__value { display: block; margin: 0.25rem 0 0.2rem; font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result-hero__sub { font-size: 0.9rem; }

.breakdown { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.breakdown th, .breakdown td { padding: 0.7rem 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.breakdown td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; white-space: nowrap; padding-left: 1rem; }
.breakdown th small { display: block; color: var(--muted); font-size: 0.8rem; }
.breakdown tr.is-total th, .breakdown tr.is-total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 750; color: var(--ink); padding-top: 0.9rem; }
.breakdown tr.is-negative td { color: var(--red); }
.breakdown caption { text-align: left; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 0.4rem; }

.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--line); }
.bar span { display: block; height: 100%; transition: width 0.4s ease; }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; list-style: none; padding: 0; margin: 0.75rem 0 0; font-size: 0.82rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.c-net { background: var(--brand); } .c-paye { background: #0f172a; } .c-napsa { background: var(--gold); } .c-nhima { background: #60a5fa; } .c-other { background: #94a3b8; }

.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty-state .icon-badge { margin: 0 auto 1rem; background: var(--bg); color: var(--muted); }

details.disclosure { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
details.disclosure summary { cursor: pointer; padding: 0.85rem 1rem; font-weight: 600; font-size: 0.92rem; color: var(--ink-2); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure summary .icon { transition: transform 0.2s; }
details.disclosure[open] summary .icon { transform: rotate(180deg); }
details.disclosure .disclosure__body { padding: 0 1rem 1rem; font-size: 0.9rem; }

/* HR metrics */
.metric-card { display: flex; flex-direction: column; }
.metric-card .form-grid { margin: 1.1rem 0; }
.metric-card .field { justify-content: space-between; }
.metric-result { margin-top: auto; padding: 1rem 1.1rem; border-radius: 12px; background: var(--brand-50); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.metric-result__value { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.metric-result__label { font-size: 0.82rem; color: var(--brand-800); }
.metric-card .formula { font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; }

/* Compliance assessment */
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #22a39f); border-radius: inherit; transition: width 0.3s ease; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.q-section { border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; background: var(--bg); }
.q-section + .q-section { margin-top: 1.25rem; }
.q-section__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.q-section__head h3 { margin: 0; font-size: 1.1rem; }
.q-section__head .count { margin-left: auto; font-size: 0.8rem; color: var(--muted); }
.question { padding: 1.1rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color 0.15s; }
.question + .question { margin-top: 0.75rem; }
.question.is-answered { border-color: var(--brand-100); }
.question legend { font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; float: left; width: 100%; }
.question legend + * { clear: both; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font-size: 0.92rem; font-weight: 500; cursor: pointer; transition: all 0.15s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice::before { content: ""; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--line-strong); transition: all 0.15s; }
.choice:hover { border-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand-800); }
.choice:has(input:checked)::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.choice--no:has(input:checked) { border-color: #f87171; background: #fef2f2; color: #991b1b; }
.choice--no:has(input:checked)::before { border-color: #dc2626; background: #dc2626; }
.choice--unsure:has(input:checked) { border-color: #fbbf24; background: var(--gold-50); color: #92400e; }
.choice--unsure:has(input:checked)::before { border-color: #d97706; background: #d97706; }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.meter { --score: 0; --meter-color: var(--line-strong); width: 210px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--meter-color) calc(var(--score) * 1%), #e8edf2 0); transition: --score 1s cubic-bezier(.2,.8,.2,1); }
.meter__inner { width: 78%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; box-shadow: inset 0 3px 10px rgb(15 23 42 / 0.07); }
.meter__value { font-size: 2.8rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.meter__label { margin-top: 0.4rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.meter--low { --meter-color: #16a34a; } .meter--mid { --meter-color: #f59e0b; } .meter--high { --meter-color: #dc2626; }
.gap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.gap { display: flex; gap: 0.85rem; padding: 0.95rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.gap .icon { margin-top: 0.15rem; color: var(--red); }
.gap--unsure .icon { color: var(--amber); }
.gap strong { display: block; font-size: 0.93rem; }
.gap span { display: block; font-size: 0.87rem; color: var(--muted); }
.gap em { font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.gap--unsure em { color: var(--amber); }
.section-scores { display: grid; gap: 0.6rem; }
.section-score { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; font-size: 0.88rem; }
.section-score .progress { grid-column: 1 / -1; height: 6px; }

/* Quiz */
.quiz { max-width: 780px; margin-inline: auto; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.75rem; font-size: 0.88rem; color: var(--muted); }
.quiz__question { font-size: clamp(1.25rem, 2.4vw, 1.55rem); margin: 1.5rem 0 1.25rem; letter-spacing: -0.025em; }
.options { display: grid; gap: 0.65rem; }
.option { display: flex; align-items: center; gap: 0.9rem; width: 100%; padding: 1rem 1.1rem; text-align: left; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; font-size: 0.98rem; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.15s; color: var(--ink); }
.option:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-50); }
.option:disabled { cursor: default; }
.option__key { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.option.is-correct { border-color: #22c55e; background: #f0fdf4; }
.option.is-correct .option__key { background: #16a34a; border-color: #16a34a; color: #fff; }
.option.is-wrong { border-color: #f87171; background: #fef2f2; }
.option.is-wrong .option__key { background: #dc2626; border-color: #dc2626; color: #fff; }
.option.is-dimmed { opacity: 0.6; }
.explain { margin-top: 1.25rem; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.score-ring { width: 160px; }
.score-ring .meter__value { font-size: 2.2rem; }
.review-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.review-item { padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.review-item strong { display: block; margin-bottom: 0.25rem; font-size: 0.95rem; }
.review-item p { font-size: 0.88rem; color: var(--muted); margin: 0.25rem 0 0; }
.review-item .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.review-item.is-right .tag { color: var(--green); }
.review-item.is-wrong .tag { color: var(--red); }

/* Service cafeteria */
.cafe-layout { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 1.5rem; align-items: start; }
.cafe-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 0.75rem; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.area-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; padding: 1rem 1.1rem; text-align: left; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.area-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.area-card[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgb(17 112 122 / 0.12); }
.area-card strong { font-size: 0.95rem; color: var(--ink); line-height: 1.3; }
.area-card span { font-size: 0.8rem; color: var(--muted); }
.catalogue { margin-top: 1.75rem; }
.catalogue__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.catalogue__head h2 { font-size: 1.25rem; margin: 0; }
.area-group + .area-group { margin-top: 1.75rem; }
.area-group__title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; }
.service-list { display: grid; gap: 0.65rem; list-style: none; padding: 0; margin: 0; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1.25rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.service:hover { border-color: var(--line-strong); }
.service.is-selected { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(17 112 122 / 0.1); }
.service h3 { font-size: 1rem; margin: 0 0 0.2rem; }
.service p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.service__side { display: flex; align-items: center; gap: 1rem; }
.service__price { text-align: right; line-height: 1.25; }
.service__price strong { display: block; font-size: 1rem; font-variant-numeric: tabular-nums; }
.service__price small { font-size: 0.78rem; color: var(--muted); }
.service .btn { min-width: 96px; }
.service.is-selected .btn { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }

.quote-panel { padding: 1.5rem; }
.quote-lines { list-style: none; padding: 0; margin: 0; max-height: 360px; overflow-y: auto; }
.quote-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.quote-line:first-child { padding-top: 0; }
.quote-line strong { font-size: 0.92rem; line-height: 1.35; }
.quote-line small { display: block; font-size: 0.78rem; color: var(--muted); }
.quote-line__amount { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); }
.quote-line__controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 9px; overflow: hidden; background: #fff; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: var(--bg); cursor: pointer; color: var(--ink-2); }
.qty button:hover { background: var(--brand-50); color: var(--brand-700); }
.qty button .icon { width: 14px; height: 14px; }
.qty input { width: 52px; height: 30px; border: 0; text-align: center; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__unit { font-size: 0.78rem; color: var(--muted); }
.icon-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--red); background: #fef2f2; }
.icon-btn .icon { width: 16px; height: 16px; }
.totals { display: grid; gap: 0.45rem; margin: 1.1rem 0 1.25rem; font-size: 0.92rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.totals .is-grand { padding-top: 0.7rem; margin-top: 0.3rem; border-top: 2px solid var(--ink); font-size: 1.05rem; }
.totals .is-grand dt { color: var(--ink); font-weight: 700; }
.totals .is-grand dd { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }

/* Resource store */
.store-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem; margin-bottom: 2rem; }
.store-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pill { padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 0.88rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all 0.15s; }
.filter-pill:hover { border-color: var(--brand); color: var(--brand-700); }
.filter-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.resource { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.resource:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.resource__cover { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem 1.2rem; color: #fff; overflow: hidden; isolation: isolate; }
.resource__cover::after { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -60px; width: 200px; height: 200px; background: url("../img/watermark.svg") center / contain no-repeat; opacity: 0.12; }
.resource__cover--survey { background: linear-gradient(140deg, #11707a, #0b3a44); }
.resource__cover--compliance { background: linear-gradient(140deg, #0f172a, #1e3a4c); }
.resource__cover--payroll { background: linear-gradient(140deg, #c2620d, #7c4a0b); }
.resource__cover--hr { background: linear-gradient(140deg, #1e4d6b, #0f2a3d); }
.resource__type { align-self: flex-start; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgb(255 255 255 / 0.16); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.resource__cover strong { color: #fff; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.02em; max-width: 85%; }
.resource__body { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; padding: 1.25rem 1.3rem 1.35rem; }
.resource__body h3 { font-size: 1.05rem; margin: 0; }
.resource__body p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.resource__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.resource__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.resource__price { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Order dialog */
.dialog { width: min(520px, calc(100vw - 2rem)); border: 0; border-radius: 22px; padding: 0; box-shadow: var(--shadow-lg); color: var(--text); }
.dialog::backdrop { background: rgb(15 23 42 / 0.55); backdrop-filter: blur(3px); }
.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.5rem 1.6rem 0; }
.dialog__head h2 { font-size: 1.3rem; margin: 0; }
.dialog__body { padding: 1.25rem 1.6rem 1.6rem; }

/* Salary report cover */
.report-cover { width: min(100%, 360px); margin-inline: auto; filter: drop-shadow(0 40px 50px rgb(0 0 0 / 0.45)); transform: rotate(3deg); }

/* Vacancies */
.vacancy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.5rem; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }

/* 404 */
.not-found { text-align: center; padding: 7rem 0; }
.not-found__code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--brand-100); margin-bottom: 1rem; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 120; max-width: calc(100vw - 2rem); padding: 0.85rem 1.15rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.92rem; box-shadow: var(--shadow-lg); transform: translate(-50%, calc(100% + 2rem)); visibility: hidden; transition: transform 0.3s cubic-bezier(.2,.8,.2,1), visibility 0.3s; pointer-events: none; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cafe-layout { grid-template-columns: 1fr; }
  .cafe-layout .sticky { position: static; }
}
@media (max-width: 960px) {
  .hero__inner, .page-hero__grid, .split, .feature, .tool-grid, .cta-band__inner { grid-template-columns: 1fr; }
  .hero__inner { padding: 4.5rem 0 4rem; gap: 2.5rem; }
  .split { gap: 2.5rem; }
  .feature { gap: 1.75rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band__actions { justify-content: flex-start; }
  .tool-grid .sticky { position: static; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__text strong { font-size: 1rem; }
  .card, .panel, .feature__body { padding: 1.4rem; }
  .cta-band__inner { padding: 2rem 1.5rem; }
  .page-hero { padding: 3.25rem 0 2.75rem; }
  .tool-shell { margin-top: -2rem; }
  .cafe-toolbar { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .area-card__blurb { display: none; }
  .service { grid-template-columns: 1fr; }
  .service__side { justify-content: space-between; }
  .service__price { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .vacancy { grid-template-columns: 1fr; }
  .btn--lg { width: 100%; }
  .hero__actions .btn, .page-hero .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print (assessment results, quiz results, calculators) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .no-print, .toast, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero, .page-hero--dark { background: #fff !important; color: #000; padding: 1rem 0; border: 0; }
  .page-hero--dark h1, .page-hero--dark .lede { color: #000; }
  .hero::after, .page-hero::after, .page-hero--dark::after { display: none; }
  .tool-shell { margin-top: 0; }
  .panel, .card { box-shadow: none; break-inside: avoid; }
  .tool-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
}

/* ---------- Photography & brand sections (from the company profile) ---------- */
.hero--photo {
  background:
    linear-gradient(100deg, rgb(9 61 67 / 0.97) 0%, rgb(11 79 87 / 0.93) 40%, rgb(14 27 48 / 0.62) 100%),
    url("../img/photos/team-review.webp") 70% 35% / cover no-repeat;
}
.hero--photo::after { opacity: 0.05; }
.eyebrow.tagline { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: 1.1rem; letter-spacing: 0; text-transform: none; color: var(--gold); }
.eyebrow.tagline::before { background: var(--gold); }

.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--brand-50); }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1.1rem; border-radius: 14px; background: rgb(255 255 255 / 0.95); box-shadow: var(--shadow);
}
.media-badge .icon-badge { margin: 0; }
.media-badge strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.media-badge span { display: block; font-size: 0.82rem; color: var(--muted); }
.media-stack { position: relative; padding: 0 0 2.5rem 2.5rem; }
.media-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--gold), #e8891a); }

.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 0; background: var(--brand-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(9 61 67 / 0.45)); }
.card--media:hover .card__media img { transform: scale(1.04); }
.card--media .card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.card--media .card__body p { color: var(--muted); }
.card--media .link-arrow { margin-top: auto; padding-top: 1rem; }

.feature__media { margin-bottom: 1.5rem; aspect-ratio: 16 / 9; }

.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.logo-tile { display: grid; place-items: center; height: 112px; padding: 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.logo-tile img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.25s, opacity 0.25s; }
.logo-tile:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.logo-tile:hover img { filter: none; opacity: 1; }
@media (hover: none) { .logo-tile img { filter: none; opacity: 1; } }

.band-dark { position: relative; overflow: hidden; isolation: isolate; color: #cbd5e1; background: var(--hero-bg); }
.band-dark::after { content: ""; position: absolute; z-index: -1; right: -80px; top: -60px; width: 460px; height: 460px; background: url("../img/watermark.svg") center / contain no-repeat; opacity: 0.06; transform: rotate(-12deg); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .section-head p { color: #b9d3d6; }
.band-dark .eyebrow { color: var(--gold); }
.band-dark .lede { color: #b9d3d6; }
.band-rule { border-top-color: rgb(255 255 255 / 0.1); margin: 3.5rem 0 2.5rem; }
.h-sub { font-size: 1.35rem; }
.credentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.credential { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); }
.credential h3 { color: #fff; font-size: 1.02rem; margin-bottom: 0.3rem; }
.credential p { color: #b9d3d6; font-size: 0.9rem; margin-bottom: 0.7rem; }
.credential .icon-badge { margin: 0; background: rgb(241 176 19 / 0.15); color: var(--gold); }
.credential .badge { background: rgb(255 255 255 / 0.08); color: #e2e8f0; border-color: rgb(255 255 255 / 0.15); }

.point-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.35rem; }
.point { display: flex; gap: 1rem; align-items: flex-start; }
.point .icon-badge { margin: 0; }
.point h3 { margin-bottom: 0.25rem; }
.point p { color: var(--muted); margin: 0; }
.band-dark .point p { color: #b9d3d6; }
.band-dark .point .icon-badge { background: rgb(241 176 19 / 0.15); color: var(--gold); }

.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.value { padding: 1.9rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value .icon-badge { margin: 0 auto 1.1rem; width: 60px; height: 60px; border-radius: 50%; }
.value .icon-badge .icon { width: 26px; height: 26px; }
.value h3 { font-size: 1.02rem; line-height: 1.4; margin: 0; }

.vm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.vm { position: relative; overflow: hidden; padding: 2.25rem; border-radius: var(--radius-lg); }
.vm > .icon { width: 40px; height: 40px; margin-bottom: 1rem; }
.vm h3 { font-size: 1.6rem; letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.vm p { font-size: 1.05rem; margin: 0; }
.vm--vision { background: radial-gradient(420px 220px at 100% 0%, rgb(241 176 19 / 0.45), transparent 70%), linear-gradient(135deg, #a8450a, #c2580c); color: #fff; }
.vm--vision h3, .vm--vision > .icon { color: #fff; }
.vm--mission { background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-800); }
.vm--mission > .icon { color: var(--brand); }
.vm--mission h3 { color: var(--brand-700); }

.motto { display: flex; gap: 0.9rem; align-items: center; margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--gold-50); }
.motto .icon { color: var(--gold-600); width: 1.6rem; height: 1.6rem; }
.motto p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.2rem; color: var(--ink); }

.audience { padding: 1.75rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.audience__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #e8761c, var(--gold)); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.audience h3 { font-size: 1.2rem; }
.audience > p { color: var(--muted); }
.audience dl { margin: 1.25rem 0 0; display: grid; gap: 0.85rem; }
.audience dl div { padding: 0.9rem 1rem; border-radius: 12px; background: var(--bg); border-left: 3px solid var(--brand); }
.audience dt { font-weight: 650; color: var(--ink); font-size: 0.95rem; }
.audience dd { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }

.footer-tagline { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--gold); margin: 0 0 1rem; }

@media (max-width: 1080px) {
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .credentials, .vm-grid { grid-template-columns: 1fr; }
  .media-stack { padding: 0 0 1.5rem 1.5rem; }
}
@media (max-width: 640px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-tile { height: 96px; }
  .values-grid { grid-template-columns: 1fr; }
  .vm { padding: 1.6rem; }
}

/* ---------- Spacing utilities (last, so they win over component margins) ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
