/* GET QUALIFIED WITH BEATA – industrial grey + safety orange. Mobile-first. */

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --fg: #334155;
  --muted-fg: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --muted: #ebf0f5;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #ea580c; /* safety orange – pair with --ink text (5:1) */
  --accent-hover: #f97316;
  --accent-text: #c2410c; /* orange for text on light backgrounds (5.2:1) */
  --accent-soft: #fff1e6;
  --on-dark: #e2e8f0;
  --on-dark-muted: #cbd5e1;
  --error: #b91c1c;
  --success: #15803d;

  --card-green: #15803d;
  --card-blue: #1d4ed8;
  --card-gold: #ca8a04;
  --card-black: #111827;
  --card-red: #b91c1c;

  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow: 0 4px 16px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 18px 40px rgb(15 23 42 / 0.18);

  --gutter: 16px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 200ms;

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 76px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  padding-bottom: 72px; /* room for the mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.125rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img, svg { max-width: 100%; }
.icon { flex-shrink: 0; vertical-align: middle; }
ul, ol { padding: 0; margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--ink); font-weight: 700;
  padding: 12px 16px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--muted-fg); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease, transform 120ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 0.95rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.6); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--accent-text);
}
.link-arrow .icon { transition: transform var(--dur) ease; }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; /* no backdrop-filter: it would trap the fixed mobile menu inside the header */
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 44px; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: grid; font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.05; letter-spacing: 0.01em; white-space: nowrap; } /* two lines: GET QUALIFIED / WITH BEATA */
.brand-uk { color: var(--accent-text); }
@media (min-width: 768px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-text { font-size: 1.25rem; }
}
@media (max-width: 359px) { .brand-text { font-size: 0.92rem; } }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; white-space: nowrap; }

.lang-switch { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 40px; padding: 0 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  color: var(--ink); text-decoration: none;
}
.lang-switch a + a { border-left: 2px solid var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.lang-switch a:not([aria-current]):hover { background: var(--accent-soft); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle:hover { background: var(--muted); }
.nav-toggle-open { display: inline-flex; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle-close { display: inline-flex; }

/* mobile nav panel */
.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; padding: 16px var(--gutter) 32px;
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 220ms ease, transform 220ms var(--ease-out); }
.nav-list { list-style: none; }
.nav-list a {
  display: flex; align-items: center; min-height: 56px; padding: 0 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border);
}
.nav-list a[aria-current='page'] { color: var(--accent-text); box-shadow: inset 4px 0 0 var(--accent); padding-left: 16px; }
.nav-cta-mobile { margin-top: 24px; width: 100%; }
body.nav-open { overflow: hidden; }

@media (min-width: 1180px) {
  .nav-toggle, .nav-cta-mobile { display: none; }
  .header-cta { display: inline-flex; }
  .brand { margin-right: 0; }
  .main-nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none; transition: none;
    margin-inline: auto;
  }
  .nav-list { display: flex; gap: 4px; }
  .nav-list a {
    min-height: 44px; padding: 0 14px; font-size: 1rem; border: 0; border-radius: var(--radius-sm); white-space: nowrap;
    position: relative;
  }
  .nav-list a:hover { background: var(--muted); }
  .nav-list a[aria-current='page'] { box-shadow: none; padding-left: 14px; color: var(--ink); }
  .nav-list a[aria-current='page']::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--accent);
  }
}

/* ---------- hazard stripe ---------- */
.hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--ink) 14px 28px);
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 30%, rgb(234 88 12 / 0.18), transparent 70%),
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px) 0 0 / 40px 40px;
}
.hero-grid { position: relative; display: grid; gap: 40px; padding-block: 48px 56px; align-items: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; padding-block: 80px 88px; }
}
.eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow--light { color: var(--accent-hover); }
.hero-title { color: #fff; font-size: clamp(2.4rem, 8.5vw, 4.25rem); margin-bottom: 0.15em; line-height: 1.05; }
.hero-title span { color: var(--accent-hover); }
.hero-sub { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 3.2vw, 1.6rem); color: #fff; line-height: 1.3; margin-bottom: 1rem; }
.hero-lead { font-size: 1.075rem; color: var(--on-dark-muted); max-width: 60ch; }
.hero .check-list { margin-bottom: 28px; }
.hero-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--on-dark-muted); }
.hero-phone a { color: #fff; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.hero-phone a:hover { color: var(--accent-hover); }
.hero-phone .icon { color: var(--accent-hover); }

.hero-visual { display: flex; justify-content: center; }
/* Beata's photo, with an offset safety-orange frame behind it */
.hero-photo { position: relative; width: 100%; max-width: 600px; margin: 0 14px 40px 0; }
.hero-photo::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--accent); border-radius: var(--radius-lg); }
.hero-photo img { position: relative; display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
/* the fanned CSCS cards sit on the photo's bottom-right corner */
/* The front (black) card sits exactly over the Wataha logo in the photo's bottom-right corner
   (logo spans roughly x 81–100%, y 75–100% of the image). The cards behind fan out
   down and to the right, outside the photo, so they don't hide any workers. */
.hero-photo .card-stack--corner { position: absolute; left: 80.37%; top: 77.8%; width: 28.52%; aspect-ratio: 1.586; container-type: inline-size; transform: rotate(5deg); transform-origin: 100% 100%; } /* position and tilt calculated to hide the logo while covering as little of the workers as possible */
.hero-photo .card-stack--corner .cscs { position: absolute; inset: 0; width: 100%; padding: 8% 9%; border-radius: 9% / 14%; box-shadow: var(--shadow-lg); }
.hero-photo .card-stack--corner .stack-0 { transform: translate(21%, 24%) rotate(9deg); }
.hero-photo .card-stack--corner .stack-1 { transform: translate(14%, 16%) rotate(6deg); }
.hero-photo .card-stack--corner .stack-2 { transform: translate(7%, 8%) rotate(3deg); }
.hero-photo .card-stack--corner .stack-3 { transform: none; }
.hero-photo .card-stack--corner .cscs-name { font-size: 12cqw; }
.hero-photo .card-stack--corner .cscs-role { font-size: 8cqw; }
.hero-photo .card-stack--corner .cscs-lines i { height: 3cqw; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-photo img { animation: deal 700ms var(--ease-out) both; }
}
.card-stack { position: relative; width: min(100%, 360px); aspect-ratio: 1.15; }
.card-stack .cscs { position: absolute; width: 78%; left: 11%; top: 18%; box-shadow: var(--shadow-lg); }
.card-stack .stack-0 { transform: translate(-14%, -16%) rotate(-12deg); }
.card-stack .stack-1 { transform: translate(-5%, -6%) rotate(-5deg); }
.card-stack .stack-2 { transform: translate(5%, 4%) rotate(3deg); }
.card-stack .stack-3 { transform: translate(14%, 15%) rotate(10deg); }
@media (prefers-reduced-motion: no-preference) {
  .js .card-stack .cscs { animation: deal 700ms var(--ease-out) both; }
  .js .card-stack .stack-1 { animation-delay: 80ms; }
  .js .card-stack .stack-2 { animation-delay: 160ms; }
  .js .card-stack .stack-3 { animation-delay: 240ms; }
}
@keyframes deal { from { opacity: 0; translate: 0 24px; } }

/* stylised (not official) card graphic */
.cscs {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 4px;
  aspect-ratio: 1.586; padding: 7% 8%; border-radius: 14px; color: #fff; overflow: hidden;
  font-family: var(--font-head);
}
.cscs::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgb(255 255 255 / 0.22), transparent 45%); }
.cscs--green { background: var(--card-green); }
.cscs--blue { background: var(--card-blue); }
.cscs--gold { background: linear-gradient(135deg, #eab308, #a16207); color: var(--ink); }
.cscs--black { background: linear-gradient(135deg, #334155, #0b1120); }
.cscs-chip { width: 18%; aspect-ratio: 1.3; border-radius: 4px; background: linear-gradient(135deg, #fde68a, #d97706); }
.cscs--gold .cscs-chip { background: linear-gradient(135deg, #fff7d6, #fbbf24); }
.cscs-name { align-self: end; font-weight: 800; font-size: clamp(0.95rem, 3.6vw, 1.25rem); line-height: 1.1; }
.cscs-role { font-weight: 600; font-size: clamp(0.72rem, 2.6vw, 0.85rem); opacity: 0.9; }
.cscs-lines { display: grid; gap: 5px; margin-top: 6px; }
.cscs-lines i { display: block; height: 5px; border-radius: 3px; background: currentColor; opacity: 0.35; }
.cscs-lines i:last-child { width: 60%; }

/* ---------- lists ---------- */
.check-list { list-style: none; display: grid; gap: 10px; margin-bottom: 1.5rem; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--accent-text); margin-top: 2px; }
.check-list--light li { color: #fff; font-weight: 600; }
.check-list--light .icon { color: var(--accent-hover); }
@media (min-width: 768px) { .check-list--grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.num-list { padding-left: 1.4em; display: grid; gap: 8px; }
.num-list li::marker { font-family: var(--font-head); font-weight: 700; color: var(--accent-text); }

/* ---------- sections ---------- */
.section { padding-block: 56px; }
.section--tight { padding-block: 40px 56px; }
.section--muted { background: var(--muted); }
@media (min-width: 768px) { .section { padding-block: 88px; } .section--tight { padding-block: 56px 88px; } }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted-fg); font-size: 1.075rem; margin: 0; }
.section-head .eyebrow { color: var(--accent-text); font-size: 0.85rem; margin-bottom: 0.75rem; }
.section-head--center { max-width: none; text-align: center; }
.section-head--center h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
.section-head--center > p:last-child { max-width: 680px; margin-inline: auto; }
@media (min-width: 1180px) { .section-head--center h2 { white-space: nowrap; } } /* heading on one line on desktop */

/* card tiles */
.card-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
.tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px 18px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow var(--dur) ease, transform var(--dur) ease;
}
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
/* coloured header in the card's own colour */
.tile-head { margin: -28px -22px 18px; padding: 20px 22px 18px; color: #fff; }
@media (min-width: 640px) { .tile-head { min-height: 118px; } } /* equal header heights side by side */
.tile--green .tile-head { background: var(--card-green); }
.tile--blue .tile-head { background: var(--card-blue); }
.tile--gold .tile-head { background: linear-gradient(135deg, #eab308, #ca8a04); color: var(--ink); }
.tile--black .tile-head { background: linear-gradient(135deg, #334155, var(--card-black)); }
.tile h3 { margin: 0; font-size: 1.3rem; color: inherit; }
.tile-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.tile-head .level-price { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); font-size: 0.92rem; padding: 3px 8px; }
.tile-level { display: inline-block; margin: 8px 0 0; padding: 2px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.2); font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.tile--gold .tile-level { background: rgb(15 23 42 / 0.12); }
.tile-role { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: inherit; opacity: 0.92; }

.tile-req { display: grid; gap: 8px; margin: 0 0 1em; font-size: 0.95rem; background: var(--muted); border-radius: var(--radius-sm); padding: 10px 12px; }
.tile-req dt { display: inline; font-weight: 700; color: var(--ink); }
.tile-req dd { display: inline; margin: 0; }
.tile-req div + div { border-top: 1px solid var(--border-strong); padding-top: 8px; }
.tile-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0 20px; }
/* line up header, text, requirements, offer and links across cards in the same row */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .card-grid .tile { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
    .card-grid .tile-head { min-height: 0; }
    .card-grid .tile-req { align-self: start; }
    .card-grid .level-free { justify-self: start; align-self: start; }
    .card-grid .tile-links { align-self: end; }
  }
}

/* steps */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--card); border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--border); position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px;
  border-radius: 50%; background: var(--accent); color: var(--ink);
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
}
.step p { margin: 0; color: var(--muted-fg); }

/* level cards */
.level-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .level-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .level-grid { grid-template-columns: repeat(4, 1fr); } }
.level-price { flex-shrink: 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); background: var(--accent-soft); border-radius: var(--radius-sm); padding: 3px 9px; white-space: nowrap; }
.level { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
/* price always stays beside the title */
.level-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: -24px -22px 18px; padding: 20px 22px 18px; color: #fff; }
@media (min-width: 640px) { .level-head { min-height: 96px; } } /* equal header heights side by side */
/* coloured header in the matching CSCS card colour */
.level--green .level-head { background: var(--card-green); }
.level--blue .level-head { background: var(--card-blue); }
.level--gold .level-head { background: linear-gradient(135deg, #eab308, #ca8a04); color: var(--ink); }
.level--black .level-head { background: linear-gradient(135deg, #334155, var(--card-black)); }
.level-head-text { min-width: 0; }
.level-head .level-price { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); font-size: 0.92rem; padding: 3px 8px; }
.level-head h3 { font-size: 1.15rem; margin: 0; white-space: nowrap; color: inherit; }
.level-count { font-size: 0.875rem; font-weight: 600; color: inherit; opacity: 0.9; margin: 4px 0 0; }
.level-sample { list-style: none; display: grid; gap: 6px; margin-bottom: 16px; font-size: 0.95rem; }
.level-sample li { padding-left: 16px; position: relative; }
.level-sample li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.level-card { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.95rem; }
.level .link-arrow { margin-top: auto; }

.level-free {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 14px; min-height: 32px; padding: 4px 10px;
  border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; line-height: 1.25; padding-block: 6px;
}
.level-free .icon { color: var(--accent-hover); }
.level-free:hover { background: var(--ink-2); color: #fff; }

/* free courses offer */
.free-courses { background: var(--ink); color: var(--on-dark-muted); position: relative; overflow: hidden; scroll-margin-top: var(--header-h); }
.free-courses::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 15% 0%, rgb(234 88 12 / 0.2), transparent 70%);
}
.free-courses .container { position: relative; padding-block: 56px; }
@media (min-width: 768px) { .free-courses .container { padding-block: 80px; } }
.free-head { max-width: 680px; margin-bottom: 32px; }
.free-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.free-head h2 { color: #fff; }
.free-head p:last-child { font-size: 1.075rem; margin: 0; }
.free-offers { list-style: none; display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 640px) { .free-offers { grid-template-columns: 1fr 1fr; } }
.free-offer {
  display: grid; gap: 2px; padding: 24px; border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.14);
}
.free-offer-level { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }
.free-offer-amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.75rem, 5vw, 2.4rem); line-height: 1.15; color: var(--accent-hover); }
.free-offer-worth { color: #fff; font-weight: 600; }
.free-list h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.free-list ul { list-style: none; display: grid; gap: 10px 24px; margin-bottom: 32px; }
@media (min-width: 640px) { .free-list ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .free-list ul { grid-template-columns: repeat(3, 1fr); } }
.free-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--on-dark); }
.free-list .icon { color: var(--accent-hover); margin-top: 4px; }

/* badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; line-height: 1.5;
  background: var(--muted); color: var(--ink); white-space: nowrap;
}
.badge-dot { width: 10px; height: 10px; border-radius: 50%; }
.badge--green .badge-dot { background: var(--card-green); }
.badge--blue .badge-dot { background: var(--card-blue); }
.badge--gold .badge-dot { background: var(--card-gold); }
.badge--black .badge-dot { background: var(--card-black); }

/* features */
.feature-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid > :last-child:nth-child(3n + 2) { grid-column: span 2; } /* no empty gap on the last row */
}
@media (min-width: 640px) and (max-width: 1023px) {
  .feature-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.feature { background: var(--card); border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--border); }
.feature p { margin: 0; color: var(--muted-fg); }
.feature-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px;
  border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-text); flex-shrink: 0;
}
.feature-icon--red { background: #fee2e2; color: var(--card-red); }
.feature-icon--wa { background: #dcfce7; color: var(--success); }

/* employers */
.employers {
  display: grid; gap: 24px; padding: 32px 24px; border-radius: var(--radius-lg);
  background: var(--accent-soft); border: 1px solid #fed7aa;
}
@media (min-width: 768px) { .employers { grid-template-columns: auto 1fr; padding: 48px; gap: 40px; } }
.employers-icon { display: grid; place-items: center; width: 80px; height: 80px; border-radius: var(--radius); background: var(--ink); color: var(--accent-hover); }
.employers-copy > p { max-width: 62ch; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { transition: transform var(--dur) ease; color: var(--accent-text); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-answer { padding: 16px 20px 4px; }

/* cta band */
.cta-band { background: var(--ink); color: var(--on-dark); padding-block: 56px; border-top: 10px solid var(--accent); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); max-width: 56ch; }
.cta-band-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: 1fr auto; } .cta-band p { margin: 0; } }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--ink); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 90% at 90% 20%, rgb(234 88 12 / 0.2), transparent 70%);
}
.page-hero .container { position: relative; padding-block: 48px 40px; }
@media (min-width: 768px) { .page-hero .container { padding-block: 72px 56px; } }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--accent-hover); }
.page-hero .lead { font-size: 1.125rem; max-width: 62ch; margin: 0; }

/* ---------- CSCS page ---------- */
.callout { background: var(--card); border: 1px solid var(--border); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; box-shadow: var(--shadow-sm); }
.callout h2 { font-size: 1.35rem; }
.callout .check-list { margin: 0; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.jump-links a { text-decoration: none; border-radius: 999px; }
.jump-links .badge { min-height: 44px; padding: 8px 16px; font-size: 0.95rem; border: 1px solid var(--border); background: var(--card); transition: border-color var(--dur) ease; }
.jump-links a:hover .badge { border-color: var(--ink); }

.card-details { display: grid; gap: 24px; }
.card-detail {
  display: grid; gap: 24px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
@media (min-width: 860px) { .card-detail { grid-template-columns: 300px 1fr; padding: 36px; gap: 40px; } }
.card-detail-visual .cscs { max-width: 320px; box-shadow: var(--shadow); }
.card-detail h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
.facts { display: grid; gap: 14px; margin: 0 0 20px; }
.facts div { display: grid; gap: 2px; }
@media (min-width: 640px) { .facts div { grid-template-columns: 200px 1fr; gap: 16px; } }
.facts dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; }
.card-note { display: flex; gap: 10px; background: var(--muted); border-radius: var(--radius-sm); padding: 12px 14px; }
.card-note .icon { color: var(--accent-text); margin-top: 2px; }

.info-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.info-box h2 { font-size: 1.25rem; }
.info-box p { margin: 0; }
.info-box p + p, .info-box-list + p { margin-top: 10px; }
.info-box-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.info-box-list { margin: 6px 0 0; gap: 6px; font-size: 0.95rem; }
.info-box--wide { display: grid; gap: 16px; align-items: center; margin-top: 40px; }
.info-box--wide .feature-icon { margin: 0; }
@media (min-width: 768px) { .info-box--wide { grid-template-columns: auto 1fr auto; gap: 24px; } }
.disclaimer { margin-top: 24px; font-size: 0.9rem; color: var(--muted-fg); }

/* ---------- NVQ page ---------- */
.callout--split h2 { margin-bottom: 16px; }
.filter {
  display: grid; gap: 12px; padding: 16px; margin: 0 0 24px;
  background: rgb(248 250 252 / 0.97); border: 1px solid var(--border); border-radius: var(--radius);
}
@media (min-width: 768px) {
  .filter { position: sticky; top: var(--header-h); z-index: 20; grid-template-columns: minmax(260px, 1fr) auto; align-items: end; padding: 16px 20px; }
  .filter-count { grid-column: 1 / -1; }
}
.filter .field { margin: 0; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-fg); pointer-events: none; }
.input-icon input[type='search'] { padding-left: 44px; }
.filter-levels { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--border-strong);
  background: var(--card); color: var(--ink); cursor: pointer; touch-action: manipulation;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  transition: background-color var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { margin: 0; font-size: 0.9rem; color: var(--muted-fg); }

.course-group { margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 140px); }
.course-group-head { margin-bottom: 16px; }
.course-group-head h2 { margin-bottom: 4px; }
.course-group-head p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted-fg); margin: 0; }
.course-list { list-style: none; display: grid; gap: 10px; }
@media (min-width: 900px) { .course-list { grid-template-columns: 1fr 1fr; } }
.course {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  transition: border-color var(--dur) ease;
}
.course:hover { border-color: var(--border-strong); }
.course-text { min-width: 0; }
.course-level { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.course-title { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 2px 0 0; }
.course-official { font-size: 0.85rem; color: var(--muted-fg); margin: 4px 0 0; }
.course .btn { flex-shrink: 0; }
.course-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 6px 0 0; font-size: 0.875rem; color: var(--muted-fg); }
.course-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.course-meta .icon { color: var(--accent-text); }
@media (max-width: 559px) {
  .course { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; }
  .course-text { grid-column: 1 / -1; }
  .course .btn { grid-column: 2; }
}
.course-price { margin: 0 0 0 auto; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.course-group-head--icon { display: flex; gap: 16px; align-items: flex-start; }
.course-group-head--icon .feature-icon { margin: 0; }
.group-title-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 8px; } /* price sits under the heading */
.group-title-row h2 { margin: 0; }
.group-title-row .level-price { font-size: 1.1rem; padding: 4px 12px; }
.jump-links .badge .icon { color: var(--accent-text); }
.jump-links .badge { white-space: normal; }
.empty-state { display: flex; gap: 10px; align-items: flex-start; padding: 20px; background: var(--card); border: 1px dashed var(--border-strong); border-radius: var(--radius); }

/* ---------- forms ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; } }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-note { font-size: 0.9rem; color: var(--muted-fg); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; align-content: start; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
fieldset.field { border: 0; padding: 0; }
label, legend { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.95rem; padding: 0; }
.req { color: var(--error); }
.opt { font-family: var(--font-body); font-weight: 400; color: var(--muted-fg); font-size: 0.875rem; }
input[type='text'], input[type='tel'], input[type='email'], input[type='search'], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
textarea { resize: vertical; min-height: 110px; }
input:hover, select:hover, textarea:hover { border-color: var(--muted-fg); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(234 88 12 / 0.45); }
[aria-invalid='true'] { border-color: var(--error) !important; }
.field-help { margin: 0; font-size: 0.875rem; color: var(--muted-fg); }
.field-error { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--error); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radio, .checkbox { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-body); font-weight: 400; color: var(--fg); cursor: pointer; min-height: 44px; padding-top: 10px; }
.radio input, .checkbox input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.checkbox a { white-space: nowrap; }
.error-summary { border: 3px solid var(--error); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 20px; }
.error-summary h3 { color: var(--error); font-size: 1.05rem; }
.error-summary ul { padding-left: 1.2em; display: grid; gap: 4px; }
.error-summary a { color: var(--error); font-weight: 600; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-success { color: var(--success); background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); padding: 12px 14px; }
.form-status.is-error { color: var(--error); background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 12px 14px; }

.contact-side h2 { font-size: 1.4rem; }
.contact-list { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.contact-method {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; min-height: 72px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--fg); text-decoration: none; transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.contact-method:hover { border-color: var(--ink); color: var(--fg); box-shadow: var(--shadow-sm); }
.contact-method .feature-icon { margin: 0; width: 48px; height: 48px; }
.contact-method strong { display: block; font-family: var(--font-head); color: var(--ink); }
.contact-method > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.hours { background: var(--muted); border-radius: var(--radius); padding: 20px; }
.hours h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.hours ul { list-style: none; display: grid; gap: 4px; }

.find-us { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .find-us { grid-template-columns: 1fr 1.4fr; gap: 48px; } }
.find-us-address { display: flex; gap: 12px; align-items: flex-start; font-style: normal; font-size: 1.075rem; line-height: 1.6; margin-bottom: 16px; color: var(--ink); }
.find-us-address .icon { color: var(--accent-text); margin-top: 3px; }
.find-us-text > p { color: var(--muted-fg); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--muted); aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .map-frame { aspect-ratio: 16 / 10; } }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- privacy ---------- */
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); }
.footer-grid { display: grid; gap: 32px; padding-block: 48px 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand-uk { color: var(--accent-hover); }
.footer-tagline { font-family: var(--font-head); font-weight: 600; color: #fff; }
.footer-title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.footer-list { list-style: none; display: grid; gap: 4px; }
.footer-list a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.footer-list a:hover { color: var(--accent-hover); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent-hover); margin-top: 11px; }
.footer-contact span { padding-top: 8px; }
.lang-switch--footer { margin-top: 16px; border-color: var(--on-dark-muted); }
.lang-switch--footer a { color: #fff; }
.lang-switch--footer a + a { border-color: var(--on-dark-muted); }
.lang-switch--footer a[aria-current] { background: var(--accent); color: var(--ink); }
.lang-switch--footer a:not([aria-current]):hover { background: var(--ink-2); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.12); padding-block: 20px; font-size: 0.875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 32px; }
.footer-legal { display: grid; gap: 6px; max-width: 760px; color: var(--on-dark-muted); }
.footer-bottom p { margin: 0; }
.footer-legal a, .footer-legal-links a { color: #fff; }
.footer-legal a:hover, .footer-legal-links a:hover { color: var(--accent-hover); }
.footer-legal-links { list-style: none; display: flex; gap: 20px; }
.footer-legal-links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; font-weight: 600; }

/* ---------- mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1px;
  background: var(--border); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgb(15 23 42 / 0.1);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; background: #fff; color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; touch-action: manipulation;
}
.action-bar a:active { background: var(--muted); }
.action-bar .action-bar-primary { background: var(--accent); }
.action-bar .action-bar-primary:active { background: var(--accent-hover); }
@media (min-width: 900px) { .action-bar { display: none; } }
.nav-open .action-bar { display: none; }

/* ---------- scroll reveal (only when JS is on and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .action-bar, .cta-band, .hazard { display: none; }
  body { padding: 0; background: #fff; }
}
