/* ==========================================================================
   TSBSec – Design System (light, corporate)
   Modelled on established German IT security firms: white/light-grey pages,
   navy as brand colour, one red signal colour for the emergency hotline,
   restrained bordered cards, no gradients or glows. No external requests,
   no inline styles (strict CSP).
   ========================================================================== */

/* ---------- Fonts (self-hosted, GDPR-clean) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400.woff2") format("woff2"); 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: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500.woff2") format("woff2"); 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: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600.woff2") format("woff2"); 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: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700.woff2") format("woff2"); 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: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --bg-alt-2: #e9edf3;
  --navy: #0f2947;
  --navy-2: #163a66;
  --blue: #1a5fc8;
  --blue-hover: #154ea6;
  --blue-soft: #e7eef9;
  --red: #c8102e;
  --red-soft: #fdf1f2;
  --text: #1c2431;
  --text-2: #3d4756;
  --muted: #66707f;
  --border: #dde3ea;
  --border-strong: #c3ccd7;
  --success: #1a7f4b;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(15, 41, 71, 0.06), 0 8px 24px -12px rgba(15, 41, 71, 0.18);
  --nav-h: 72px;
  --topbar-h: 36px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
strong { font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--bg-alt); padding: 0.1em 0.4em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: #cfe0f8; }
[hidden] { display: none !important; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.container-narrow { max-width: 860px; }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-alt { background: var(--bg-alt); }
.section-border { border-top: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.eyebrow {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.lead { font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.2rem); color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.section-head.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.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; }
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.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)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.section-foot { margin-top: clamp(24px, 3vw, 36px); }
.h3-style { font-size: 1.4rem; margin-bottom: 1rem; }
.h2-style { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }

/* ---------- Icons ---------- */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; flex: none; }
.icon-box {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); flex: none;
}
.icon-box .icon { width: 22px; height: 22px; }
.icon-box-lg { width: 56px; height: 56px; }
.icon-box-lg .icon { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  color: #fff; background: var(--blue); border: 1px solid var(--blue);
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; text-decoration: none; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-ghost, .btn-outline { background: transparent; border-color: var(--border-strong); color: var(--navy); }
.btn-ghost:hover, .btn-outline:hover { background: var(--bg-alt); border-color: var(--navy); color: var(--navy); }
.btn-white { background: #fff; border-color: #fff; color: var(--navy); }
.btn-white:hover { background: #eef2f7; border-color: #eef2f7; color: var(--navy); }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-danger:hover { background: #a90d27; border-color: #a90d27; color: #fff; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.15s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px; border-radius: 4px; background: var(--navy); color: #fff; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; height: var(--topbar-h); }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-inner > div { display: flex; align-items: center; gap: 18px; }
.topbar a { color: rgba(255, 255, 255, 0.92); }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 14px; height: 14px; opacity: 0.8; margin-right: 6px; }
.topbar .lang-switch { display: inline-flex; gap: 0; }
.topbar .lang-switch a, .topbar .lang-switch span { padding: 0 8px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.topbar .lang-switch a + a, .topbar .lang-switch span + a, .topbar .lang-switch a + span { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.topbar .lang-switch [aria-current="true"] { color: #fff; font-weight: 700; }
@media (max-width: 700px) { .topbar-left { display: none !important; } .topbar-inner { justify-content: flex-end; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--navy); text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand-name span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 10px 14px;
  color: var(--text); font-weight: 500; font-size: 0.98rem;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--navy); text-decoration: none; border-bottom-color: var(--border-strong); }
.nav-links a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-emergency { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; font-size: 0.95rem; }
.nav-emergency .icon { width: 18px; height: 18px; }
.nav-emergency:hover { color: #a90d27; text-decoration: underline; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: #fff; color: var(--navy); cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }
.lang-switch { display: inline-flex; align-items: center; }
.lang-switch a, .lang-switch span { display: inline-block; padding: 4px 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lang-switch [aria-current="true"] { color: var(--navy); }
.header-lang { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav-actions .btn, .nav-actions .nav-emergency { display: none; }
  .header-lang { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px clamp(16px, 4vw, 32px) 40px;
    transform: translateY(-6px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    overflow-y: auto; border-top: 1px solid var(--border);
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1.15rem; padding: 16px 4px; border-bottom: 1px solid var(--border); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--border); }
  .nav-links .nav-mobile-emergency a { color: var(--red); font-weight: 600; }
  .nav-links .nav-mobile-cta { margin-top: 20px; }
  .nav-links .nav-mobile-cta a { text-align: center; background: var(--blue); color: #fff; font-weight: 600; border-radius: var(--radius-sm); border: 0; padding: 14px; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav-mobile-cta, .nav-mobile-emergency { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); background: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.5em; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { margin-bottom: 1.8rem; }
.hero-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.95rem; color: var(--text-2); }
.hero-badges .icon { color: var(--success); width: 18px; height: 18px; margin-top: 3px; }
.hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 460px; }
  .hero-badges { grid-template-columns: minmax(0, 1fr); }
}

/* Report mockup (hero illustration): a sample pentest report summary */
.report-wrap { position: relative; }
.report-wrap::before, .report-wrap::after {
  content: ""; position: absolute; inset: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); z-index: -1;
}
.report-wrap::before { transform: translate(10px, 10px); opacity: 0.5; }
.report-wrap::after { transform: translate(5px, 5px); opacity: 0.8; }
.report { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 0.88rem; overflow: hidden; }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; background: var(--navy); color: #fff; }
.report-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.report-title svg { width: 22px; height: 22px; }
.report-tag { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; padding: 4px 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); color: #fff; }
.report-meta { padding: 10px 20px; border-bottom: 1px solid var(--border); background: var(--bg-alt); color: var(--muted); font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.report-meta span { display: inline-flex; align-items: center; gap: 6px; }
.report-meta .icon { width: 14px; height: 14px; color: var(--blue); }
.report-section { padding: 15px 20px; border-bottom: 1px solid var(--border); }
.report-section:last-child { border-bottom: 0; }
.report-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.report-section-title { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.report-section-note { font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.score { display: flex; align-items: center; gap: 16px; }
.ring { width: 78px; height: 78px; flex: none; }
.ring-track { fill: none; stroke: var(--bg-alt-2); stroke-width: 7; }
.ring-fill { fill: none; stroke: #f1a33b; stroke-width: 7; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; animation: ring 1.1s var(--ease) both; animation-delay: 0.2s; }
.ring-letter { font-family: var(--font); font-weight: 700; font-size: 28px; fill: var(--navy); }
.score-label { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.score-text { font-weight: 600; color: var(--navy); font-size: 1rem; margin: 2px 0 5px; line-height: 1.3; }
.score-note { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--success); }
.score-note .icon { width: 15px; height: 15px; }

.report-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.report-bars li { display: grid; grid-template-columns: 86px 1fr 26px; align-items: center; gap: 10px; }
.bar-label { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 0.84rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--blue); }
.dot.sev-1, .bar-fill.sev-1 { background: #c8102e; fill: #c8102e; }
.dot.sev-2, .bar-fill.sev-2 { background: #e8641b; fill: #e8641b; }
.dot.sev-3, .bar-fill.sev-3 { background: #f1a33b; fill: #f1a33b; }
.dot.sev-4, .bar-fill.sev-4 { background: #4c8ee0; fill: #4c8ee0; }
.bar { width: 100%; height: 8px; }
.bar-track { fill: var(--bg-alt-2); }
.bar-fill { transform-origin: 0 50%; transform-box: fill-box; animation: growbar 0.9s var(--ease) both; animation-delay: 0.3s; }
.report-bars li:nth-child(2) .bar-fill { animation-delay: 0.4s; }
.report-bars li:nth-child(3) .bar-fill { animation-delay: 0.5s; }
.report-bars li:nth-child(4) .bar-fill { animation-delay: 0.6s; }
.bar-value { font-weight: 600; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; font-size: 0.86rem; }

.progress { width: 100%; height: 8px; }
.progress rect { transform-origin: 0 50%; transform-box: fill-box; animation: growbar 1s var(--ease) both; animation-delay: 0.7s; }
.progress .p-track { fill: var(--bg-alt-2); animation: none; }
.progress .p-closed { fill: var(--success); }
.progress .p-active { fill: #f1a33b; animation-delay: 0.9s; }
.progress-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 9px 0 0; padding: 0; list-style: none; font-size: 0.8rem; color: var(--muted); }
.progress-legend li { display: inline-flex; align-items: center; gap: 6px; }
.progress-legend b { color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.dot.p-closed { background: var(--success); }
.dot.p-active { background: #f1a33b; }
.dot.p-open { background: var(--border-strong); }

.report-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.report-checks li { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 0.86rem; animation: fadeIn 0.5s var(--ease) both; }
.report-checks li:nth-child(1) { animation-delay: 0.9s; }
.report-checks li:nth-child(2) { animation-delay: 1.02s; }
.report-checks li:nth-child(3) { animation-delay: 1.14s; }
.report-checks .icon { width: 16px; height: 16px; color: var(--success); }
.report-checks li.is-planned .icon { color: var(--muted); }
.status { margin-left: auto; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 3px; background: #e7f5ee; color: #14532d; white-space: nowrap; }
.status.is-planned { background: var(--blue-soft); color: var(--navy); }

@keyframes ring { from { stroke-dashoffset: 251.3; } }
@keyframes growbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) {
  .report-bars li { grid-template-columns: 72px 1fr 24px; }
  .report-section, .report-head, .report-meta { padding-inline: 16px; }
}

/* ---------- Facts strip ---------- */
.facts-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px 22px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--border); }
.fact .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.fact strong { display: block; color: var(--navy); font-size: 0.98rem; margin-bottom: 2px; }
.fact span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
@media (max-width: 900px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .fact:nth-child(-n + 2) { border-bottom: 0; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card h3 { margin: 4px 0 0; font-size: 1.12rem; }
.card p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.card .link-arrow { margin-top: auto; padding-top: 8px; font-size: 0.92rem; }

/* ---------- Emergency band ---------- */
.emergency {
  background: var(--red-soft); border: 1px solid #f3cdd2; border-left: 4px solid var(--red); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 36px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
}
.emergency .eyebrow { color: var(--red); }
.emergency h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 0.4em; }
.emergency p { margin: 0; color: var(--text-2); max-width: 64ch; }
.emergency-actions { display: grid; gap: 10px; justify-items: start; }
.emergency-actions small { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 800px) { .emergency { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Why us (plain numbered list) ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.why-grid .section-head { margin-bottom: 0; }
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--border); }
.why-list li:last-child { border-bottom: 1px solid var(--border); }
.why-num { font-weight: 700; color: var(--blue); font-size: 1.4rem; line-height: 1; padding-top: 4px; }
.why-list h3 { margin-bottom: 6px; font-size: 1.1rem; }
.why-list p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); position: relative; }
.timeline::before { content: ""; position: absolute; left: 24px; right: 24px; top: 22px; height: 2px; background: var(--border); }
.tl-step { position: relative; padding-top: 64px; }
.tl-num {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 1.05rem;
  box-shadow: 0 0 0 6px #fff;
}
.section-alt .tl-num { box-shadow: 0 0 0 6px var(--bg-alt); }
.tl-step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tl-step p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
}
@media (max-width: 560px) { .timeline { grid-template-columns: minmax(0, 1fr); } }

/* ---------- NIS2 box ---------- */
.nis2 {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--navy); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.nis2 h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.nis2 p { color: var(--text-2); }
.nis2-side { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 24px; }
.nis2-side h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 0.95rem; }
.check-list .icon { color: var(--success); width: 18px; height: 18px; margin-top: 4px; }
.panel .check-list { margin-bottom: 0; }
@media (max-width: 800px) { .nis2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li, .chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff;
  font-size: 0.92rem; color: var(--text); font-weight: 500;
}
.chips .icon { color: var(--blue); width: 16px; height: 16px; }
.chips.center { justify-content: center; }
.chip-accent { background: var(--blue-soft); border-color: #cfdcf0; color: var(--navy); }

/* ---------- Standards band (navy) ---------- */
.band-dark { background: var(--navy); color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #8fb8f2; }
.band-dark p { color: rgba(255, 255, 255, 0.8); }
.band-dark .lead { color: rgba(255, 255, 255, 0.85); }
.standards-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.standards-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-sm);
  color: #fff; font-weight: 500; font-size: 0.95rem;
}
.standards-list .icon { width: 16px; height: 16px; color: #8fb8f2; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--blue); }
.faq-a { padding: 0 0 20px; color: var(--text-2); max-width: 78ch; }
.faq-a p { margin: 0; }

/* ---------- Contact teaser + person card ---------- */
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.teaser-grid .section-head { margin-bottom: 0; }
.teaser-grid .btn-row { margin-top: 1.6rem; }
.person-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; }
.person-card .label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.person-row { display: flex; gap: 18px; align-items: center; }
.person-avatar {
  width: 76px; height: 76px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.5rem;
}
.person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-row h3 { margin: 0 0 2px; font-size: 1.15rem; }
.person-row .role { margin: 0; color: var(--muted); font-size: 0.92rem; }
.person-contact { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.person-contact li { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.person-contact .icon { color: var(--blue); width: 18px; height: 18px; }
.person-card .text { margin: 0; color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 900px) { .teaser-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding-block: clamp(36px, 5vw, 64px); }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--border-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.jump-label { margin: 1.4rem 0 0.6rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.service-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: #fff;
  color: var(--navy); font-size: 0.92rem; font-weight: 500;
}
.service-nav a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.service-nav .icon { width: 16px; height: 16px; color: var(--blue); }

/* ---------- Service detail sections ---------- */
.service { padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--border); }
.service:first-of-type { border-top: 0; }
.service:nth-of-type(even) { background: var(--bg-alt); }
.service-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.service-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.service-head h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.service-desc { color: var(--text-2); font-size: 1.02rem; }
.service-aside { display: grid; gap: 16px; }
.panel { border-radius: var(--radius); border: 1px solid var(--border); background: #fff; padding: 20px 22px; }
.panel h3 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.for-whom {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px 18px;
  border-radius: var(--radius); background: var(--blue-soft); color: var(--text-2); font-size: 0.95rem;
}
.for-whom .icon { color: var(--blue); width: 20px; height: 20px; margin-top: 3px; }
.for-whom strong { display: block; color: var(--navy); margin-bottom: 2px; }
.service-cta { margin-top: 22px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-visual { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-alt); aspect-ratio: 4 / 3; }
.about-visual svg { width: 100%; height: 100%; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts li { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.facts span { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.facts strong { color: var(--navy); font-size: 1rem; }
.about-facts { align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.info-item strong { display: block; color: var(--navy); margin-bottom: 2px; }
.info-item p, .info-item address { margin: 0; color: var(--text-2); font-style: normal; font-size: 0.95rem; }
.info-emergency { border-left: 4px solid var(--red); background: var(--red-soft); }
.info-emergency .icon-box { background: #fbe0e4; color: var(--red); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 11px 12px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366707f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 95, 200, 0.18); }
.field input::placeholder, .field textarea::placeholder { color: #9aa3b0; }
.field-check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--text-2); }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; border: 1px solid transparent; }
.form-status.is-success { display: block; background: #e7f5ee; border-color: #b7e0c8; color: #14532d; }
.form-status.is-error { display: block; background: var(--red-soft); border-color: #f3cdd2; color: #7f1d1d; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2.4rem; margin-bottom: 0.7rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }
.prose address { font-style: normal; color: var(--text-2); line-height: 1.7; margin-bottom: 1rem; }
.prose .meta { color: var(--muted); font-size: 0.9rem; }
.legal-box { border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-alt); padding: 18px 22px; margin: 1.2rem 0; }
.legal-box p:last-child, .legal-box address:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; background: var(--navy); color: rgba(255, 255, 255, 0.82); padding-top: clamp(44px, 6vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); padding-bottom: clamp(32px, 5vw, 48px); }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: #8fb8f2; }
.footer-brand p { max-width: 34ch; margin-top: 14px; font-size: 0.93rem; color: rgba(255, 255, 255, 0.75); }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 0.95rem; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 18px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  font-size: 0.86rem; color: rgba(255, 255, 255, 0.65);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.8); }
.footer-bottom .no-tracking { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .no-tracking .icon { width: 15px; height: 15px; }
.site-footer .lang-switch a, .site-footer .lang-switch span { color: rgba(255, 255, 255, 0.7); }
.site-footer .lang-switch [aria-current="true"] { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Root splash / 404 ---------- */
.splash { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.splash .brand { justify-content: center; margin-bottom: 20px; font-size: 1.6rem; }
.splash .brand svg { width: 44px; height: 44px; }
.splash-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.notfound { padding-block: clamp(64px, 10vw, 128px); text-align: center; }
.notfound .code { font-weight: 700; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--blue); margin-bottom: 0.2em; }
.notfound-langs { display: grid; gap: 36px; max-width: 560px; margin-inline: auto; }
.notfound-langs [lang] + [lang] { padding-top: 32px; border-top: 1px solid var(--border); }
.notfound .lead { margin-inline: auto; }

/* ---------- Reveal (kept as no-op for markup compatibility) ---------- */
.reveal, .reveal-stagger > * { opacity: 1; transform: none; }

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

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .hero-visual, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Additions: selection colours, motion, service imagery, mobile nav fix
   ========================================================================== */

/* ---------- Text selection ---------- */
::selection { background: var(--blue); color: #fff; }
::-moz-selection { background: var(--blue); color: #fff; }
.band-dark ::selection, .site-footer ::selection, .topbar ::selection { background: #fff; color: var(--navy); }
.band-dark ::-moz-selection, .site-footer ::-moz-selection, .topbar ::-moz-selection { background: #fff; color: var(--navy); }
.emergency ::selection, .info-emergency ::selection { background: var(--red); color: #fff; }

/* ---------- Header shadow when scrolled ---------- */
.site-header { transition: box-shadow 0.2s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(15, 41, 71, 0.08); }

/* ---------- Mobile drawer: anchor to the sticky header (top bar scrolls away) ---------- */
@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    inset: auto;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
  }
}

/* ---------- Reveal on scroll (JS adds .js and .is-visible; fallback reveals everything) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: 0.06s; }
.js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: 0.12s; }
.js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: 0.18s; }
.js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: 0.24s; }
.js .reveal-stagger.is-visible > :nth-child(6) { transition-delay: 0.3s; }
.js .reveal-stagger.is-visible > :nth-child(n + 7) { transition-delay: 0.36s; }

/* ---------- Cards / hover ---------- */
.card { transition: border-color 0.15s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.card:hover { transform: translateY(-3px); }
.card-media {
  margin: -26px -26px 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #eef3fa;
  aspect-ratio: 16 / 10;
}
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.card:hover .card-media img, .card:hover .card-media svg { transform: scale(1.03); }
.service-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef3fa;
  aspect-ratio: 16 / 10;
}
.service-media img, .service-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- FAQ answer fade ---------- */
.faq details[open] .faq-a { animation: fadeDown 0.28s var(--ease) both; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Timeline numbers pop in ---------- */
.js .timeline.is-visible .tl-num { animation: pop 0.45s var(--ease) both; }
.js .timeline.is-visible .tl-step:nth-child(2) .tl-num { animation-delay: 0.1s; }
.js .timeline.is-visible .tl-step:nth-child(3) .tl-num { animation-delay: 0.2s; }
.js .timeline.is-visible .tl-step:nth-child(4) .tl-num { animation-delay: 0.3s; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Reduced motion: show everything, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .bar-fill, .ring-fill, .progress rect, .report-checks li, .faq details[open] .faq-a, .js .timeline.is-visible .tl-num { animation: none; }
  .card:hover { transform: none; }
}

/* Mobile: the header carries the language switch, so hide the top-bar copy */
@media (max-width: 700px) {
  .topbar .lang-switch { display: none; }
}

/* ==========================================================================
   Additions 2: service detail pages, knowledge section, NIS2 self-check,
   downloads, careers, legal/security pages, five-column footer
   ========================================================================== */

/* ---------- Footer: five columns ---------- */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero: sample report link ---------- */
.hero-report-link { margin: 14px 0 0; text-align: center; font-size: 0.9rem; }
.hero-report-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; }
.hero-report-link a:hover { color: var(--blue); }
.hero-report-link .icon { width: 16px; height: 16px; }

/* ---------- Emergency band: promise line ---------- */
.emergency-actions { grid-template-columns: auto auto; align-items: center; }
.emergency-actions small { grid-column: 1 / -1; }
.emergency-promise { display: inline-flex; align-items: flex-start; gap: 6px; max-width: 46ch; line-height: 1.45; }
.emergency-promise .icon { width: 15px; height: 15px; margin-top: 3px; flex: none; }
@media (max-width: 560px) { .emergency-actions { grid-template-columns: minmax(0, 1fr); } .emergency-actions .btn { width: 100%; } }
.nis2-note { margin: 12px 0 0; font-size: 0.88rem; }
.emergency-call { margin: 10px 0 4px !important; font-weight: 600; color: var(--navy) !important; }
.emergency-call a { color: var(--red); font-size: 1.1rem; }
.info-emergency .muted { font-size: 0.86rem; margin-top: 4px !important; }

/* ---------- Services overview cards ---------- */
.service-cards .card { padding-bottom: 26px; }
.service-card .card-media { display: block; margin-bottom: 8px; }
.service-card-head { display: flex; align-items: center; gap: 14px; }
.service-card-head h2 { margin: 0; font-size: 1.2rem; }
.service-card-head h2 a { color: var(--navy); }
.service-card-head h2 a:hover { color: var(--blue); text-decoration: none; }
.service-card-list { margin-top: 6px; }
.service-card-list .label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.service-card-list .check-list { margin-bottom: 0; gap: 7px; }
.service-card-list .check-list li { font-size: 0.92rem; }

/* ---------- Service detail ---------- */
.service-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.service-hero .service-head { margin-bottom: 14px; }
.service-hero h1 { margin: 0; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.service-hero .lead { margin-bottom: 1.4rem; }
.service-hero .service-cta { margin-top: 0; }
.service-hero .service-media { background: #fff; }
@media (max-width: 900px) { .service-hero { grid-template-columns: minmax(0, 1fr); } .service-hero .service-media { max-width: 560px; } }
.panel-accent { background: var(--blue-soft); border-color: #cfdcf0; }
.panel-accent h3 { color: var(--navy); }
.panel-accent p { color: var(--text-2); font-size: 0.95rem; }
.download-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  margin-top: 28px; padding: 24px; border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--bg-alt);
}
.download-card .download-icon { width: 56px; height: 56px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--blue); }
.download-card .download-icon .icon { width: 26px; height: 26px; }
.download-card .eyebrow { margin-bottom: 6px; }
.download-card h3 { margin-bottom: 6px; }
.download-card p { color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 480px) { .download-card { grid-template-columns: minmax(0, 1fr); } }
.first-aid { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--red-soft); border: 1px solid #f3cdd2; border-left: 4px solid var(--red); }
.first-aid h3 { display: flex; align-items: center; gap: 8px; color: var(--red); font-size: 1.05rem; margin-bottom: 12px; }
.first-aid h3 .icon { width: 20px; height: 20px; }
.first-aid ol { margin: 0 0 14px; padding-left: 1.3rem; color: var(--text-2); display: grid; gap: 6px; font-size: 0.96rem; }
.first-aid-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 6px; font-weight: 600; color: var(--navy); }
.first-aid-phone a { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 1.15rem; }
.first-aid-phone .icon { width: 18px; height: 18px; }
.first-aid .muted { margin: 0; font-size: 0.88rem; }

/* ---------- Knowledge / articles ---------- */
.article-grid { align-items: stretch; }
.article-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color 0.15s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.article-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--blue); text-decoration: none; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card { position: relative; }
.article-card p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.article-card .link-arrow { margin-top: auto; padding-top: 6px; font-size: 0.92rem; color: var(--blue); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--muted); margin: 0; }
.article-meta .article-cat { color: var(--blue); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.74rem; }
.page-hero .article-meta { margin-top: 16px; font-size: 0.9rem; }
.page-hero .article-meta span + span::before { content: "·"; margin-right: 14px; color: var(--border-strong); }
.feed-note { margin: 28px 0 0; color: var(--muted); font-size: 0.9rem; display: flex; gap: 8px; align-items: flex-start; }
.feed-note .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--blue); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.article-body { max-width: 72ch; }
.article-body > p:first-child { font-size: 1.08rem; }
.article-body h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.article-body h3 { font-size: 1.15rem; }
.article-body blockquote { margin: 1.6rem 0; padding: 14px 20px; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.article-body blockquote p { margin: 0; color: var(--navy); font-weight: 600; }
.article-body ol, .article-body ul { padding-left: 1.3rem; }
.article-body li + li { margin-top: 0.5rem; }
.article-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.article-cta { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); border-top: 4px solid var(--blue); background: #fff; }
.article-cta .eyebrow { margin-bottom: 8px; }
.article-cta h3 { font-size: 1.1rem; margin-bottom: 6px; }
.article-cta p { color: var(--text-2); font-size: 0.93rem; }
.article-cta .btn-row { gap: 8px; }
.article-cta .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
@media (max-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-side { position: static; } }
.table-wrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--border); border-radius: var(--radius); }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.prose th { background: var(--bg-alt); color: var(--navy); font-weight: 600; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- NIS2 self-check wizard ---------- */
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.wizard-side { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 960px) { .wizard-layout { grid-template-columns: minmax(0, 1fr); } .wizard-side { position: static; } }
.wizard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.wizard-progress { height: 6px; background: var(--bg-alt-2); border-radius: 3px; overflow: hidden; margin-bottom: 24px; }
.wizard-progress-bar { height: 100%; width: 0; background: var(--blue); border-radius: 3px; transition: width 0.35s var(--ease); }
.wizard-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard-step legend { padding: 0; margin-bottom: 8px; display: grid; gap: 6px; }
.wizard-count { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.wizard-q { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); font-weight: 700; color: var(--navy); line-height: 1.3; letter-spacing: -0.01em; }
.wizard-hint { color: var(--muted); font-size: 0.92rem; margin: 0 0 18px; }
.wizard-step:focus { outline: none; }
.options { display: grid; gap: 10px; }
.options-grouped { gap: 18px; }
.option-group { display: grid; gap: 8px; }
.option-group-label { margin: 0 0 2px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.option {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; cursor: pointer;
  font-size: 0.96rem; color: var(--text); transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.option:hover { border-color: var(--blue); background: #f7faff; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-box { width: 22px; height: 22px; border: 2px solid var(--border-strong); border-radius: 50%; margin-top: 1px; position: relative; background: #fff; transition: border-color 0.15s var(--ease), background 0.15s var(--ease); }
.option input[type="checkbox"] + .option-box { border-radius: 5px; }
.option input:checked + .option-box { border-color: var(--blue); background: var(--blue); }
.option input:checked + .option-box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.option input:focus-visible + .option-box { outline: 2px solid var(--blue); outline-offset: 3px; }
.option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.wizard-error { margin: 12px 0 0; color: var(--red); font-size: 0.9rem; font-weight: 600; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.wizard-nav [data-action="next"] { margin-left: auto; }
.wizard-result:focus { outline: none; }
.result { padding: 4px 0 0; }
.result-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; border-radius: 3px; background: var(--bg-alt-2); color: var(--navy); margin-bottom: 14px; }
.result-essential .result-tag { background: #fbe0e4; color: var(--red); }
.result-important .result-tag { background: #fdebd3; color: #8a4b00; }
.result-supply .result-tag { background: var(--blue-soft); color: var(--navy); }
.result-none .result-tag { background: #e7f5ee; color: #14532d; }
.result-label { margin: 0 0 4px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.result h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem); margin-bottom: 0.4em; }
.result-text { color: var(--text-2); font-size: 1.02rem; }
.result h3, .result-reasons h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; font-weight: 600; }
.result .check-list { margin-bottom: 0; }
.reason-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.reason-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 0.93rem; }
.reason-list .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 3px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.result-note { margin: 12px 0 0; font-size: 0.9rem; }
.disclaimer { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.prefill-note { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--navy) !important; }

/* ---------- Careers ---------- */
.careers-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.profiles { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.profile { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.profile h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.profile p { margin: 0; color: var(--text-2); font-size: 0.94rem; }
.careers-note { max-width: 72ch; margin-top: 18px; }
.timeline .tl-step > p:only-of-type { color: var(--text); font-weight: 500; }
@media (max-width: 900px) { .careers-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Disclosure: PGP key box ---------- */
.key-box { margin: 1rem 0 1.2rem; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); display: grid; gap: 6px; }
.key-box .label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.key-box code { background: transparent; padding: 0; font-size: 0.95rem; letter-spacing: 0.04em; word-break: break-all; color: var(--navy); }
.prose .btn { color: #fff; }
.prose .btn-outline { color: var(--navy); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .wizard-progress-bar { transition: none; }
  .article-card:hover { transform: none; }
}
