/* Global SPS — Safety and Professional Solution */
:root {
  --navy-900: #061a3a;
  --navy-800: #0a2450;
  --navy-700: #0f3168;
  --blue: #0b72d9;
  --cyan: #14b4e6;
  --green: #4cae2f;
  --yellow: #f3b512;
  --ink: #142238;
  --body: #46546b;
  --muted: #6b7890;
  --line: #e2e8f1;
  --soft: #f4f7fb;
  --white: #fff;
  --brand-gradient: linear-gradient(90deg, var(--navy-700) 0%, var(--blue) 30%, var(--cyan) 50%, var(--green) 72%, var(--yellow) 100%);
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(10, 36, 80, .06);
  --shadow: 0 14px 40px rgba(10, 36, 80, .12);
  --container: 1200px;
  --header-h: 84px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy-900); color: #c4d0e4; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--brand-gradient); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.12rem; color: var(--body); }
.gradient-bar { height: 4px; background: var(--brand-gradient); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 22px rgba(11, 114, 217, .3); }
.btn-primary:hover { background: #075fb8; transform: translateY(-2px); }
.btn-accent { background: var(--yellow); color: var(--navy-900); }
.btn-accent:hover { background: #ffc531; transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-900); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.topbar { background: var(--navy-900); color: #9fb0cc; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #c9d6ea; }
.topbar a:hover { color: var(--white); }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
  padding: 10px 14px; border-radius: 8px; position: relative;
}
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
  border-radius: 3px; background: var(--brand-gradient);
}
.nav .btn { margin-left: 10px; padding: 11px 22px; color: var(--white); }
.nav .btn:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; color: var(--white); min-height: 640px; display: flex; align-items: center;
  background: var(--navy-900); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 58, .95) 0%, rgba(6, 26, 58, .82) 45%, rgba(6, 26, 58, .35) 100%);
}
.hero .container { position: relative; padding-top: 90px; padding-bottom: 90px; }
.hero h1 { color: var(--white); max-width: 760px; }
.hero h1 span {
  background: linear-gradient(90deg, var(--cyan), var(--green) 55%, var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.15rem; max-width: 600px; color: #d3dcec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .15); max-width: 680px; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--white); line-height: 1.1; }
.hero-stats span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #9fb0cc; }

.page-hero { position: relative; color: var(--white); background: var(--navy-900); overflow: hidden; }
.page-hero .hero-bg::after { background: linear-gradient(90deg, rgba(6, 26, 58, .95), rgba(6, 26, 58, .7)); }
.page-hero .container { position: relative; padding-top: 96px; padding-bottom: 96px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.1rem); }
.page-hero p { color: #d3dcec; max-width: 640px; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: #9fb0cc; margin-bottom: 16px; }
.breadcrumb a { color: #c9d6ea; }

/* Feature strip */
.features { margin-top: -64px; position: relative; z-index: 2; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.feature { padding: 30px 26px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { font-size: .9rem; margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(11, 114, 217, .12), rgba(76, 174, 47, .12)); color: var(--blue);
}
.icon svg { width: 24px; height: 24px; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.split-media .badge {
  position: absolute; right: -18px; bottom: -22px; background: var(--navy-900); color: var(--white);
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); max-width: 230px;
}
.split-media .badge strong { font-family: var(--font-head); font-size: 2.2rem; display: block; line-height: 1; color: var(--yellow); }
.split-media .badge span { font-size: .85rem; color: #c4d0e4; }
.checklist { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Cards */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card { color: var(--body); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-num {
  position: absolute; top: 14px; left: 14px; background: rgba(6, 26, 58, .85); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; padding: 4px 10px; border-radius: 6px;
}
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { font-size: .94rem; flex: 1; }
.card-body h3 { margin-bottom: 8px; }

/* Services detail */
.service-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.service-index { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--blue); letter-spacing: .16em; }
.service-row ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.service-row li { position: relative; padding-left: 20px; font-size: .94rem; color: var(--ink); }
.service-row li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }

/* Disciplines */
.discipline {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; color: var(--white);
  display: flex; align-items: flex-end; isolation: isolate; cursor: pointer; text-align: left; border: 0; padding: 0;
  font: inherit; background: var(--navy-900);
}
.discipline img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.discipline::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 58, .05) 20%, rgba(6, 26, 58, .92) 100%); }
.discipline:hover img { transform: scale(1.07); }
.discipline-body { padding: 22px; width: 100%; }
.discipline .letter {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; margin-bottom: 10px;
  background: var(--yellow); color: var(--navy-900); font-family: var(--font-head); font-weight: 700;
}
.discipline h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 4px; }
.discipline small { color: #c4d0e4; font-size: .84rem; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--white); line-height: 1.1; }
.stat strong em { font-style: normal; background: linear-gradient(90deg, var(--cyan), var(--green), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #9fb0cc; }

/* Process */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 700; font-size: 2.4rem;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1; margin-bottom: 14px;
}
.step p { font-size: .93rem; margin: 0; }

/* CTA */
.cta {
  position: relative; border-radius: 22px; overflow: hidden; padding: 64px; color: var(--white);
  background: radial-gradient(circle at 85% 20%, rgba(20, 180, 230, .35), transparent 45%), radial-gradient(circle at 10% 110%, rgba(76, 174, 47, .3), transparent 45%), var(--navy-800);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta h2 { color: var(--white); }
.cta p { color: #c9d6ea; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* Training catalogue */
.catalogue-bar {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.search { position: relative; flex: 1 1 320px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search input {
  width: 100%; padding: 14px 16px 14px 48px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: var(--soft);
}
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: var(--white); }
.catalogue-bar select { padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 8px 16px;
  font-family: var(--font-head); font-size: .84rem; font-weight: 500; cursor: pointer; transition: all .2s;
}
.chip b { color: var(--blue); margin-right: 4px; }
.chip:hover { border-color: var(--blue); }
.chip.active { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.chip.active b { color: var(--yellow); }
.result-count { color: var(--muted); font-size: .92rem; }
.discipline-intro {
  display: none; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; margin-bottom: 30px;
  background: var(--soft); border-radius: var(--radius); padding: 18px; border-left: 4px solid var(--blue);
}
.discipline-intro.show { display: grid; }
.discipline-intro img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; }
.discipline-intro h3 { margin-bottom: 6px; }
.discipline-intro p { margin: 0; font-size: .95rem; }

.course-card { cursor: pointer; }
.course-card .code {
  position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--navy-900);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 6px;
}
.course-card .disc { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.course-card h3 { font-size: 1.02rem; }
.course-meta { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta svg { width: 15px; height: 15px; color: var(--blue); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 26, 58, .7); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; background: var(--white); border-radius: 18px; width: min(920px, 100%); max-height: calc(100vh - 48px);
  overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-hero { position: relative; height: 240px; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6, 26, 58, .9)); }
.modal-hero .info { position: absolute; left: 32px; right: 32px; bottom: 24px; z-index: 1; color: var(--white); }
.modal-hero h2 { color: var(--white); font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 8px 0 0; }
.modal-hero .code { position: static; display: inline-block; background: var(--yellow); color: var(--navy-900); font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 6px; }
.modal-hero .disc { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #c4d0e4; margin-left: 10px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--navy-900); cursor: pointer; display: grid; place-items: center;
}
.modal-close svg { width: 20px; height: 20px; }
.modal-content { padding: 30px 32px 34px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 24px; overflow: hidden; }
.facts div { padding: 14px 16px; border-right: 1px solid var(--line); background: var(--soft); }
.facts div:last-child { border-right: 0; }
.facts small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts strong { font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; }
.overview { border-left: 4px solid var(--yellow); padding-left: 16px; color: var(--ink); font-size: 1.02rem; }
.outcomes { list-style: none; counter-reset: o; padding: 0; margin: 14px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.outcomes li { counter-increment: o; position: relative; padding-left: 36px; font-size: .93rem; }
.outcomes li::before { content: counter(o, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-head); font-weight: 700; color: var(--blue); }
.modal-content h4 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.modal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px; background: var(--soft); border-radius: 12px; margin-bottom: 24px; }
.modal-cols p { margin: 0; font-size: .92rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Download banner */
.download-band {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 34px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm);
}
.download-band img { border-radius: 8px; box-shadow: var(--shadow); aspect-ratio: 595 / 842; object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; background: var(--white); }
.contact-card .icon { margin: 0; flex: none; }
.contact-card h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-card p { margin: 0; font-size: .95rem; }
.form { background: var(--white); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: .85rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 14px; font-weight: 500; color: var(--green); display: none; }

/* Values */
.value { padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.value h3 { font-size: 1.08rem; }
.value p { margin: 0; font-size: .94rem; }
.value .icon { background: rgba(255, 255, 255, .08); color: var(--yellow); }
.sectors { display: flex; flex-wrap: wrap; gap: 12px; }
.sector { padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .92rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: #9fb0cc; font-size: .93rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 48px; }
.footer-main img { height: 64px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c4d0e4; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 48px; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .nav .btn { margin: 14px 0 0; }
  .topbar-info span:not(:first-child) { display: none; }
  .split, .service-row, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .split-media .badge { right: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .download-band { grid-template-columns: 120px 1fr; }
  .download-band .btn { grid-column: 1 / -1; }
  .discipline-intro { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .grid-4, .grid-3, .grid-2, .features-grid, .footer-main, .form-grid, .outcomes, .modal-cols, .service-row ul { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero { min-height: 0; }
  .hero-stats { gap: 26px; }
  .cta { padding: 36px 24px; }
  .modal { padding: 0; }
  .modal-dialog { max-height: 100vh; border-radius: 0; }
  .modal-content { padding: 24px 18px; }
  .modal-hero .info { left: 18px; right: 18px; }
  .form { padding: 24px; }
  .topbar { display: none; }
}

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.nav .lang-switch a { padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--muted); border: 0; }
.nav .lang-switch a::after { display: none; }
.nav .lang-switch a:hover { color: var(--blue); }
.nav .lang-switch a.current { background: var(--navy-800); color: var(--white); }
@media (max-width: 900px) {
  .lang-switch { align-self: flex-start; margin: 14px 0 0; }
  .nav .lang-switch a { padding: 8px 18px; border-bottom: 0; }
}

/* Mission, vision and policies */
.mv-card { padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.mv-card:nth-child(2) { border-top-color: var(--green); }
.mv-card p { margin: 0; font-size: 1.05rem; color: var(--ink); }
.values-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 34px; }
.values-label { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-right: 6px; }
.policy { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
.policy-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.policy-head .icon { margin: 0; }
.policy-head h3 { margin: 0; font-size: 1.35rem; }
.policy .checklist { margin: 18px 0; }
.policy .checklist li { font-weight: 400; font-size: .95rem; }
.policy-foot { font-size: .86rem; color: var(--muted); margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* Course pages (generated by tools/build_seo.py) */
[hidden] { display: none !important; }
.course-card h3 a { color: inherit; }
a.course-card { color: inherit; text-decoration: none; }
.course-page { max-width: 980px; }
.course-page h2 { font-size: 1.45rem; margin-top: 34px; }
.course-page .modal-cols h3 { font-size: 1rem; margin-bottom: 6px; }
.course-page .steps { margin-top: 8px; }
.discipline-links { margin-top: 40px; }
.discipline-links h2 { font-size: 1.3rem; margin-bottom: 14px; }
.chips a.chip { text-decoration: none; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin: 0 0 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ink); list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--blue); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 18px 16px; font-size: .95rem; }
