/* SGS Consulting — public website.  Navy + gold, from the SGS cube logo.
   Mobile-first; system font stack (the CSP allows only same-origin assets, and a webfont would delay first paint). */

:root {
  --navy-950: #061330;
  --navy-900: #0a1f44;
  --navy-800: #102b5c;
  --navy-700: #17397a;
  --blue: #2d56a8;
  --blue-soft: #e9effa;
  --gold: #d9a73a;
  --gold-light: #f0c85f;
  --gold-dark: #9c6f14;
  --ink: #101828;
  --text: #2a3649;
  --muted: #5b6b84;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-alt: #f5f8fd;
  --ok: #1a8f5a;
  --warn: #b45309;
  --bad: #b42318;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 8px 24px rgba(10, 31, 68, .08);
  --shadow-lg: 0 2px 4px rgba(10, 31, 68, .08), 0 24px 56px rgba(10, 31, 68, .16);
  --maxw: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, "Noto Sans", "Noto Sans CJK SC", "Noto Sans CJK JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
svg.icon { display: inline-block; max-width: none; flex-shrink: 0; vertical-align: -0.2em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw + .5rem, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 2.2vw + .8rem, 2.35rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
h4 { font-size: 1rem; font-weight: 680; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.narrow-wide { max-width: 940px; }
.muted { color: var(--muted); }
.fine { font-size: .875rem; color: var(--muted); }
.fine-light { color: #b8c6e3; }
.lead { font-size: clamp(1.08rem, .6vw + 1rem, 1.3rem); color: var(--text); max-width: 62ch; }
.lead-md { font-size: 1.12rem; }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 14px; }
.eyebrow-light { color: var(--gold-light); }
.spaced { margin-top: 1.4em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1.04rem; }
.btn-primary { background: var(--navy-900); color: #fff; box-shadow: 0 6px 16px rgba(10, 31, 68, .25); }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--navy-950); box-shadow: 0 6px 18px rgba(217, 167, 58, .38); }
.btn-gold:hover { color: var(--navy-950); box-shadow: 0 10px 24px rgba(217, 167, 58, .5); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.12rem; font-weight: 500; }
.brand-text strong { font-weight: 800; letter-spacing: .04em; display: inline; }
.brand-text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-top: 2px; }
.brand-light { color: #fff; }
.brand-light small { color: var(--gold-light); }
.primary-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.nav-item:hover, .nav-item.is-active { color: var(--blue); background: var(--blue-soft); }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.has-menu .submenu { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; display: none; flex-direction: column; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { display: flex; }
.submenu a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.submenu a:hover { background: var(--blue-soft); color: var(--blue); }
.submenu .submenu-accent { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; color: var(--gold-dark); display: flex; justify-content: space-between; align-items: center; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-cta, .header-login { display: none; }
.lang-switch { position: relative; }
.lang-switch summary, .mobile-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; font-weight: 650; font-size: .88rem; color: var(--ink); }
.lang-switch summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .mobile-menu summary:hover { background: var(--blue-soft); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); }
.lang-switch li a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.lang-switch li a:hover, .lang-switch li a[aria-current] { background: var(--blue-soft); color: var(--blue); }
.mobile-menu .when-open { display: none; }
.mobile-menu[open] .when-open { display: inline; }
.mobile-menu[open] .when-closed { display: none; }
.mobile-menu nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 20px 20px; display: flex; flex-direction: column; max-height: calc(100vh - 72px); overflow: auto; }
.mobile-menu nav a { padding: 12px 20px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 650; }
.mobile-menu nav a.login-link { color: var(--blue); }
.mobile-menu nav a.sub { padding-left: 36px; font-weight: 500; color: var(--muted); }
/* Narrow phones: the brand, the language switch and the menu button together were wider than a 390 px screen (a sideways scroll on every page). */
@media (max-width: 440px) {
  .header-inner { gap: 8px; }
  .brand { flex-shrink: 1; min-width: 0; gap: 8px; }
  .brand-text { min-width: 0; font-size: 1.02rem; }
  .brand-text small { display: none; }
  .header-actions { gap: 4px; }
}
@media (min-width: 1020px) {
  .primary-nav { display: flex; }
  .header-actions { margin-left: 8px; }
  .header-cta, .header-login { display: inline-flex; }
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 78% 20%, #1b4aa3 0%, transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); color: #dbe5fa; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero-grid { position: relative; display: grid; gap: 24px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero .lead { color: #c9d6f2; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: #b8c6e3; }
.chips li { display: inline-flex; align-items: center; gap: 6px; }
.chips .icon { color: var(--gold-light); }
.hero-visual { position: relative; }
.hero-3d { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 0.95; margin: 0 auto; user-select: none; }
.hero-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .8s ease; outline-offset: -4px; }
.hero-3d canvas:active { cursor: grabbing; }
.hero-3d.is-live canvas { opacity: 1; }
.hero-3d .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s ease; }
.hero-3d.is-live .hero-fallback { opacity: 0; pointer-events: none; }
.hero-fallback .route { animation: route-glow 3.2s ease-in-out infinite; }
.hero-fallback .route:nth-of-type(2n) { animation-delay: .4s; }
@keyframes route-glow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.22); } }
.hero-hint { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #9fb3dc; background: rgba(255, 255, 255, .07); padding: 6px 12px; border-radius: 999px; pointer-events: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 24px; padding-top: 72px; padding-bottom: 80px; }
}

/* ---------- Stats strip ---------- */
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.stat { padding: 26px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; }
.stat strong::after { content: ""; display: block; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; margin: 8px 0 8px; }
.stat span { font-size: .88rem; color: var(--muted); display: block; line-height: 1.45; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } .stat { border-bottom: 0; } .stat:last-child { border-right: 0; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: #cbd7f1; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark a:not(.btn) { color: var(--gold-light); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.split { display: grid; gap: 40px; }
.split-center { align-items: center; }
@media (min-width: 900px) { .section { padding: 88px 0; } .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
/* A profile page: a narrow photo column with the text right beside it (the plain .split would give the photo half the width). */
@media (min-width: 900px) { .split.split-profile { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; } }
.stack { display: grid; gap: 28px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr; } .grid-5 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-5 { grid-template-columns: repeat(3, 1fr); } }

.page-hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--bg-alt), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw + .5rem, 2.9rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800)); border: 0; color: #cbd7f1; }
.page-hero-dark h1 { color: #fff; max-width: 26ch; }
.page-hero-dark .lead { color: #cbd7f1; }
.page-hero-dark .breadcrumb, .page-hero-dark .breadcrumb a { color: #9fb3dc; }
.page-hero .hero-actions { margin: 24px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 18px; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.breadcrumb a { color: var(--muted); }

/* ---------- Cards ---------- */
.card, .mini-card, .tier, .program-card, .form-card, .callout { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card { padding: 26px; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c9d6ee; color: var(--text); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card-icon, .feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(145deg, var(--navy-800), var(--navy-900)); color: var(--gold-light); margin-bottom: 16px; flex-shrink: 0; }
.feature-icon-lg { width: 64px; height: 64px; border-radius: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--blue); font-size: .93rem; margin-top: 4px; }
.card:hover .card-link .icon { transform: translateX(4px); }
.card-link .icon { transition: transform .2s ease; }
.pillar-number { position: absolute; top: 18px; right: 22px; font-size: 2.4rem; font-weight: 800; color: #6f86b9; line-height: 1; letter-spacing: -.04em; }
.mini-card { padding: 22px; }
.mini-card h3 { margin-bottom: .35em; }
.mini-card p { font-size: .93rem; color: var(--muted); margin-bottom: .5em; }
.mini-icon { color: var(--warn); margin-bottom: 8px; }
.duration { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--blue) !important; }
.problem-cards { display: grid; gap: 14px; }
.feature { display: flex; gap: 18px; padding: 8px 0; }
.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; }
.article-card { padding: 0; overflow: hidden; }
/* height: auto is what lets aspect-ratio work: the <img> carries the file's own height="" attribute, which would otherwise win and stretch a portrait photo into a tall card. */
.article-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pill { display: inline-block; align-self: flex-start; background: var(--blue-soft); color: var(--blue); border-radius: 999px; padding: 3px 12px; font-size: .78rem; font-weight: 650; margin-bottom: 10px; }
.meta { font-size: .84rem; color: var(--muted); }

.check-list, .cross-list { list-style: none; padding: 0; }
.check-list li, .cross-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: .7em; }
.check-list .icon { color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.check-list-light .icon { color: var(--gold-light); }
.section-dark .check-list .icon, .callout-dark .check-list .icon { color: var(--gold-light); }
.cross-list .icon { color: var(--bad); flex-shrink: 0; margin-top: 3px; }
.plain { list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.plain li { padding: 4px 0; border-top: 1px solid var(--line); }

.callout { padding: 24px; }
.callout .icon { color: var(--blue); margin-bottom: 10px; }
.callout h3 { margin-bottom: .4em; }
.callout p { margin: 0; color: var(--muted); }
.callout-stack { display: grid; gap: 18px; align-content: start; }
.callout-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); border: 0; color: #cbd7f1; }
.callout-dark h3, .callout-dark h4 { color: #fff; }
.callout-dark p { color: #cbd7f1; }
.callout-dark .icon { color: var(--gold-light); }
.callout-warn { background: #fff8eb; border-color: #f3dca8; }
.callout-warn .icon { color: var(--warn); }
.callout-inline { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); margin: 0 0 1.4em; }
.principle { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--gold); background: #fffaf0; color: var(--ink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 550; }

.stat-panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 32px; text-align: left; }
.stat-panel strong { display: block; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--gold-light); font-weight: 800; letter-spacing: -.04em; }
.stat-panel p { margin: 12px 0 24px; color: #cbd7f1; }
.section-dark .fine { color: #9fb3dc; }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step-number { display: inline-flex; flex-shrink: 0; width: 38px; min-width: 38px; height: 38px; aspect-ratio: 1; line-height: 1; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy-900); color: var(--gold-light); font-weight: 750; margin-bottom: 12px; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; font-size: .93rem; color: var(--muted); }
.steps-vertical li { display: flex; gap: 16px; padding: 18px; }
.steps-vertical .step-number { margin: 0; flex: 0 0 38px; }
@media (min-width: 900px) { .steps:not(.steps-vertical) { grid-template-columns: repeat(5, 1fr); } .steps:not(.steps-vertical) li::after { content: ""; position: absolute; top: 43px; right: -19px; width: 18px; height: 2px; background: var(--gold); } .steps:not(.steps-vertical) li:last-child::after { display: none; } }

/* ---------- Gauge + bars (readiness) ---------- */
.readiness-band { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .readiness-band { grid-template-columns: 1.2fr .8fr; } }
.gauge { --value: 50; --c: var(--blue); width: 160px; height: 160px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--value) * 1%), #dbe4f3 0); display: grid; place-items: center; position: relative; flex-shrink: 0; }
.gauge::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: #fff; }
.gauge span { position: relative; font-size: 2.6rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; line-height: 1; }
.gauge small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.gauge-lg { width: 200px; height: 200px; }
.gauge-lg::before { inset: 20px; }
.gauge-lg span { font-size: 3.4rem; }
.gauge-strong { --c: var(--ok); } .gauge-promising { --c: var(--gold); } .gauge-building { --c: #e8832b; } .gauge-early { --c: var(--bad); }
.gauge-demo { display: flex; align-items: center; gap: 24px; justify-content: center; }
.gauge-demo ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; width: 150px; }
.gauge-demo li { height: 10px; background: #dbe4f3; border-radius: 6px; overflow: hidden; }
.gauge-demo li i { display: block; height: 100%; width: var(--w); background: var(--gold); border-radius: 6px; }
.result-hero { display: grid; gap: 28px; align-items: center; }
@media (min-width: 700px) { .result-hero { grid-template-columns: auto 1fr; gap: 48px; } }
.bars { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 16px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; margin-bottom: 6px; }
.bar { height: 10px; background: #dbe4f3; border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; }
.bar i.ok { background: var(--ok); } .bar i.mid { background: var(--gold); } .bar i.low { background: var(--bad); }
.gap-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 24px; }
.gap-list li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.gap-list p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
.q-number { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: var(--gold-light); font-weight: 700; font-size: .88rem; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Quiz ---------- */
.quiz { display: grid; gap: 22px; }
.question { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.question.is-answered { border-color: #b9ddc9; background: #fbfefc; }
.question legend { display: flex; gap: 14px; padding: 0; float: left; width: 100%; font-weight: 600; color: var(--ink); line-height: 1.45; }
.question legend small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 4px; }
.options { clear: both; display: grid; gap: 10px; padding-top: 16px; }
@media (min-width: 700px) { .options { grid-template-columns: repeat(3, 1fr); } }
.option { cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option-body { display: flex; flex-direction: column; height: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s ease, background .15s ease; }
.option-body small { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.option:hover .option-body { border-color: #b4c4e4; }
.option input:checked + .option-body { border-color: var(--blue); background: var(--blue-soft); }
.option input:focus-visible + .option-body { outline: 3px solid var(--gold); outline-offset: 2px; }
.quiz-submit { text-align: center; padding: 12px 0; }
.progress { position: sticky; top: 72px; z-index: 5; background: rgba(255, 255, 255, .96); padding: 10px 0 12px; margin-bottom: 14px; display: flex; align-items: center; gap: 14px; font-size: .88rem; color: var(--muted); }
.progress[hidden] { display: none; }
.progress-bar { flex: 1; height: 8px; background: #dbe4f3; border-radius: 6px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); border-radius: 6px; transition: width .3s ease; }

/* ---------- Packages ---------- */
.tier-cards { display: grid; gap: 20px; margin-bottom: 48px; }
@media (min-width: 900px) { .tier-cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.tier { padding: 28px; position: relative; display: flex; flex-direction: column; }
.tier h2 { font-size: 1.7rem; margin-bottom: 4px; }
.tier-model { font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.tier-for { color: var(--muted); font-size: .94rem; min-height: 3em; }
.tier-list { list-style: none; padding: 0; margin: 8px 0 24px; flex: 1; }
.tier-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.tier-list span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.tier-featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.tier-flag { position: absolute; top: -13px; left: 28px; background: var(--gold); color: var(--navy-950); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); display: none; }
@media (min-width: 900px) { .table-wrap { display: block; } }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy-900); color: #fff; font-size: 1.05rem; }
.compare thead th small { display: block; font-weight: 500; font-size: .78rem; color: #b8c6e3; }
.compare thead th.is-featured { background: var(--gold-dark); }
.compare tbody th { font-weight: 650; color: var(--ink); width: 24%; background: var(--bg-alt); }
.compare td.is-featured { background: #fffaf0; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.timeline li { display: flex; gap: 18px; padding: 0 0 26px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline-stage { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: var(--gold-light); font-weight: 750; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; }
.timeline .is-key .timeline-stage { background: var(--gold); color: var(--navy-950); box-shadow: 0 0 0 6px rgba(217, 167, 58, .25); }
.timeline h3 { margin-bottom: 2px; }
.timeline p { margin: 0; color: var(--muted); font-size: .94rem; }
.timeline .duration { margin-bottom: 4px; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }

/* ---------- Forms ---------- */
.form-card { padding: 28px; }
.section-dark .form-card, .form-card-light { color: var(--text); }
.section-dark .form-card h3, .form-card h2, .form-card h3 { color: var(--ink); }
.form-card h2, .form-card h3 { margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field-grid { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field label:not(.check) { display: block; font-weight: 650; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field abbr { color: var(--bad); text-decoration: none; }
.opt { font-weight: 500; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #cbd6e8; border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(45, 86, 168, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .85rem; margin: 6px 0 0; }
.field-hint { color: var(--muted); font-size: .82rem; margin: 6px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy-900); }
.consent { margin: 4px 0 20px; }
.form-error { background: #fff1f0; border: 1px solid #f5c2bd; color: var(--bad); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.form-error p { margin: 4px 0 0; }
.form-thanks { display: flex; gap: 16px; align-items: flex-start; background: #effaf4; border: 1px solid #b9ddc9; border-radius: var(--radius); padding: 22px; color: #14532d; }
.form-thanks .icon { color: var(--ok); flex-shrink: 0; margin-top: 4px; }
.form-thanks h3 { margin-bottom: 4px; color: #14532d; }
.form-thanks p { margin: 0; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; } }
.direct { margin-top: 36px; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ---------- Training ---------- */
.program-card { display: grid; gap: 24px; padding: 28px; margin-bottom: 20px; }
@media (min-width: 900px) { .program-card { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.program-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; margin: 12px 0 20px; }
.program-meta span { display: inline-flex; align-items: center; gap: 6px; }
.program-meta-light { color: #b8c6e3; margin: 20px 0 0; }
.program-sessions { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; align-self: start; }
.program-sessions h4 { margin-bottom: 12px; }
.session { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.session strong, .session span { display: block; }
.session span { font-size: .86rem; color: var(--muted); }
.session-light { border-color: rgba(255, 255, 255, .18); }
.session-light span { color: #b8c6e3; }
.session-light strong { color: #fff; }
.badge { display: inline-block; font-size: .78rem; font-weight: 650; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #fff; white-space: nowrap; }
.badge-muted { background: #e6ebf4; color: var(--muted); }
.modules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.modules li { display: flex; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.modules p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.module-code { background: var(--gold); color: var(--navy-950); font-weight: 750; font-size: .78rem; border-radius: 6px; padding: 3px 8px; height: fit-content; white-space: nowrap; }

/* ---------- Services / tech rows ---------- */
.pillar-row, .tech-row { display: grid; gap: 24px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 900px) { .pillar-row, .tech-row { grid-template-columns: 1fr 1.3fr; gap: 48px; } }
.pillar-row-head { position: relative; }
.pillar-row-head .pillar-number { top: 0; right: 0; font-size: 3.4rem; }
.pillar-row-head p { color: var(--muted); }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.service-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.service-list li:first-child { border-top: 0; padding-top: 0; }
.service-list strong { display: block; color: var(--ink); }
.service-list span { color: var(--muted); font-size: .95rem; }
.service-list-lg li { padding: 18px 0; }
.service-list-lg strong { font-size: 1.08rem; }
.tech-head p { color: var(--muted); }

/* ---------- About ---------- */
.president { display: grid; gap: 28px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 28px; }
@media (min-width: 900px) { .president { grid-template-columns: 200px 1fr; gap: 40px; } }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(145deg, var(--navy-800), var(--navy-900)); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; font-weight: 750; letter-spacing: .04em; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }   /* portraits: keep the face, crop the chest, not the other way round */
.avatar-xl { width: 160px; height: 160px; font-size: 2.6rem; border-radius: 24px; }
.president .role { color: var(--blue); font-weight: 650; }
.president .role span { color: var(--muted); font-weight: 500; }
.president-cols { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 900px) { .president-cols { grid-template-columns: 1fr 1fr; } }
.president .callout { margin: 20px 0; }
.board { margin-top: 8px; }
.person { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.person strong { display: block; color: var(--ink); }
.person span { color: var(--muted); font-size: .9rem; }
.vm { display: grid; gap: 18px; align-content: start; }
.sector-chips, .client-names { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.sector-chips li { background: var(--navy-900); color: #fff; padding: 8px 18px; border-radius: 999px; font-weight: 650; font-size: .92rem; }
.client-names li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.facts { display: grid; gap: 0; margin: 20px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { display: grid; gap: 4px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; }
.facts div:first-child { border-top: 0; }
@media (min-width: 700px) { .facts div { grid-template-columns: 220px 1fr; gap: 20px; } }
.facts dt { font-weight: 650; color: var(--ink); }
.facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

/* ---------- FAQ / prose ---------- */
.faq-group { margin-top: 2em; font-size: 1.4rem; }
.faq-group:first-child { margin-top: 0; }
.accordion { display: grid; gap: 10px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; font-weight: 650; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { flex-shrink: 0; transition: transform .2s ease; color: var(--blue); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion details[open] { border-color: #c9d6ee; box-shadow: var(--shadow); }
.accordion details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p { color: var(--text); }

/* ---------- CTA band + footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #dbe5fa; padding: 56px 0; }
.cta-inner { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 60ch; color: #c9d6f2; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta-actions { justify-content: flex-end; } }
.site-footer { background: var(--navy-950); color: #9fb3dc; padding: 56px 0 24px; font-size: .94rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #cbd7f1; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-brand p { margin-top: 16px; max-width: 42ch; }
.social { display: flex; gap: 16px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .82rem; display: grid; gap: 6px; }
.footer-legal p { margin: 0; }
.footer-legal a { text-decoration: underline; }

.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: #0f7d3f; color: #fff; padding: 13px 18px; border-radius: 999px; box-shadow: 0 10px 28px rgba(15, 125, 63, .4); text-decoration: none; font-weight: 650; font-size: .95rem; transition: transform .2s ease; }
.whatsapp-fab:hover { transform: translateY(-3px); color: #fff; }
.whatsapp-fab span { display: none; }
@media (min-width: 700px) { .whatsapp-fab span { display: inline; } }

/* ---------- Blog (shares this stylesheet) ---------- */
.blog-hero { padding: 48px 0 8px; }
.article { max-width: 760px; margin: 0 auto; padding: 40px 20px 24px; }
.article h1 { font-size: clamp(1.9rem, 3.4vw + .5rem, 2.8rem); }
.article .hero-img { width: 100%; height: auto; border-radius: var(--radius); margin: 22px 0; }
.article .byline { color: var(--muted); font-size: .92rem; }
.article-body { font-size: 1.08rem; }
.article-body h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.5em; }
.article-body img { border-radius: var(--radius-sm); height: auto; }
.article-body pre { background: var(--navy-950); color: #f1f5ff; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; }
.article-body blockquote { border-left: 4px solid var(--gold); margin: 1.4em 0; padding: .2em 1.2em; color: var(--muted); }
.article-body table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4em 0; }
.pager { display: flex; justify-content: space-between; margin: 2.4rem 0; }
.notice { background: #effaf4; border: 1px solid #b9ddc9; color: #14532d; padding: 14px 18px; border-radius: var(--radius-sm); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .btn:hover, .card:hover, .whatsapp-fab:hover { transform: none; }
}
@media print { .site-header, .site-footer, .whatsapp-fab, .cta-band { display: none; } body { color: #000; } }

/* Team cards are links: no underline, a lift on hover. */
a.person { text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
a.person:hover { border-color: var(--navy-700, #1e3a8a); box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
a.person:focus-visible { outline: 3px solid var(--gold-light, #f0c040); outline-offset: 2px; }
