:root {
  --ink: #17211d;
  --muted: #64706a;
  --paper: #ffffff;
  --canvas: #f4f7f5;
  --surface: #eaf0ed;
  --line: #d6dfda;
  --forest: #0b5d45;
  --forest-deep: #083d30;
  --mint: #d6f0df;
  --aqua: #2db5a0;
  --gold: #e7aa3a;
  --coral: #e4705e;
  --danger: #b9342e;
  --shadow: 0 12px 30px rgba(21, 38, 30, 0.08);
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --container: min(1160px, calc(100% - 40px));
  --header-height: 76px;
}

[data-theme="dark"] {
  --ink: #edf5ef;
  --muted: #b5c5bc;
  --paper: #18231e;
  --canvas: #111a16;
  --surface: #22332b;
  --line: #395047;
  --forest: #53c9a2;
  --forest-deep: #87dcbf;
  --mint: #274d3e;
  --aqua: #62cdbd;
  --gold: #f2be58;
  --coral: #f29080;
  --danger: #ff9f96;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4 { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.14; }
h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(2.45rem, 5vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: 0; }
h3 { font-size: 1.125rem; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 88px 0; }
.section.canvas { background: var(--canvas); }
.section.surface { background: var(--surface); }
.section-tight { padding: 58px 0; }
.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 14px;
  color: #fff;
  background: var(--forest-deep);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}
.section-heading h2 { max-width: 670px; margin-bottom: 0; }
.section-heading .lead { margin-bottom: 0; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  font-weight: 700;
  white-space: nowrap;
}
.text-link:hover { color: var(--forest-deep); }
.text-link svg { width: 18px; height: 18px; transition: transform 160ms ease; }
.text-link:hover svg { transform: translateX(3px); }

/* Header */
.utility-bar {
  color: #e9f5ee;
  background: var(--forest-deep);
  font-size: 0.78rem;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 20px;
}
.utility-inner p, .utility-links { display: flex; align-items: center; gap: 7px; margin: 0; }
.utility-inner svg { width: 14px; height: 14px; }
.utility-links { gap: 18px; }
.utility-links a { opacity: .9; }
.utility-links a:hover { opacity: 1; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(21, 38, 30, 0.04); }
.nav-shell { width: min(1320px, calc(100% - 64px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; min-height: var(--header-height); gap: 16px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; margin-right: 26px; transition: color 170ms ease, transform 170ms ease; }
.brand:hover, .brand:focus-visible { transform: translateX(-3px) translateY(-1px); }
.brand:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #fff;
  background: var(--forest);
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  transition: background 170ms ease, box-shadow 170ms ease, transform 170ms ease;
  animation: brand-mark-settle 540ms ease-out both;
}
.brand-name { color: var(--ink); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; transition: color 170ms ease; }
.brand-name strong { color: var(--forest); font-weight: 700; transition: color 170ms ease; }
.brand:hover .brand-mark, .brand:focus-visible .brand-mark { background: var(--aqua); box-shadow: 0 6px 14px rgba(10, 104, 79, .2); transform: rotate(-4deg) scale(1.05); }
.brand:hover .brand-name, .brand:focus-visible .brand-name { color: var(--forest-deep); }
.brand:hover .brand-name strong, .brand:focus-visible .brand-name strong { color: var(--aqua); }
.primary-nav { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 10px; margin: 0; }
.nav-link {
  --nav-accent: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 8px 9px;
  color: var(--nav-accent);
  background: color-mix(in srgb, var(--nav-accent) 7%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--nav-accent) 28%, var(--line));
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease, transform 170ms ease;
}
.nav-link--home { --nav-accent: #0b5d45; }
.nav-link--about { --nav-accent: #a34c22; animation: about-nav-signal 3.8s ease-in-out infinite; }
.nav-link--services { --nav-accent: #8a5a07; }
.nav-link--courses { --nav-accent: #196c9a; }
.nav-link--resources { --nav-accent: #69529a; }
.nav-link--contact { --nav-accent: #b34851; }
.nav-link--pricing { --nav-accent: #087879; }
[data-theme="dark"] .nav-link--about { --nav-accent: #f0a46e; }
[data-theme="dark"] .nav-link--services { --nav-accent: #e8c56c; }
[data-theme="dark"] .nav-link--courses { --nav-accent: #74c5ed; }
[data-theme="dark"] .nav-link--resources { --nav-accent: #c1a9ed; }
[data-theme="dark"] .nav-link--contact { --nav-accent: #fa9b9c; }
[data-theme="dark"] .nav-link--pricing { --nav-accent: #78d9d0; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: #fff; background: var(--nav-accent); border-color: var(--nav-accent); box-shadow: 0 6px 14px color-mix(in srgb, var(--nav-accent) 25%, transparent); transform: translateY(-2px); outline: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { font: inherit; cursor: pointer; }
.nav-dropdown > .nav-link svg { width: 15px; height: 15px; transition: transform 150ms ease; }
.nav-dropdown.open > button svg { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  display: grid;
  width: 255px;
  padding: 8px;
  visibility: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
}
.nav-dropdown.open .dropdown-panel { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown-panel a { display: grid; grid-template-columns: 44px 1fr; gap: 9px; padding: 10px; border-radius: 4px; color: var(--muted); font-size: .84rem; }
.dropdown-panel a:hover { background: var(--canvas); color: var(--ink); }
.dropdown-panel .dropdown-code { color: var(--forest); font-size: .76rem; font-weight: 700; letter-spacing: 0; }
.dropdown-panel .dropdown-all { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; margin-top: 3px; color: var(--forest); font-weight: 700; border-top: 1px solid var(--line); border-radius: 0; }
.dropdown-panel .dropdown-all svg { width: 16px; }
.dropdown-panel.compact { width: 180px; }
.dropdown-panel.compact a { display: block; }
.nav-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.nav-actions > .theme-toggle { margin-left: 9px; }
.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
}
.icon-button:hover { background: var(--canvas); border-color: var(--line); }
.icon-button svg { width: 18px; height: 18px; }
.login-link { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 9px; color: #27546c; background: #eaf4f9; border: 1px solid #bddce9; border-radius: 5px; font-size: .82rem; font-weight: 700; white-space: nowrap; transition: background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease, transform 170ms ease; }
.login-link:hover, .login-link:focus-visible { color: #fff; background: #27546c; border-color: #27546c; box-shadow: 0 6px 14px rgba(39, 84, 108, .22); transform: translateY(-2px); outline: 0; }
.login-link svg { width: 17px; height: 17px; }
.nav-register { color: #4f3601; background: #f3cf6c; border-color: #dfae32; white-space: nowrap; }
.nav-register:hover, .nav-register:focus-visible { color: #382600; background: #f8dc89; border-color: #c9941e; box-shadow: 0 6px 14px rgba(150, 103, 5, .2); }
.nav-order { white-space: nowrap; }
.nav-mobile-actions { display: none; }
.mobile-menu-toggle { display: none; margin-left: auto; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.1;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button svg { width: 17px; height: 17px; }
.button-primary { color: #fff; background: var(--forest); }
.button-primary:hover { background: var(--forest-deep); color: #fff; }
.button-secondary { color: var(--forest); background: transparent; border-color: var(--forest); }
.button-secondary:hover { color: #fff; background: var(--forest); }
.button-light { color: var(--forest-deep); background: #fff; }
.button-light:hover { color: var(--forest-deep); background: #eff8f2; }
.button-quiet { color: var(--ink); background: var(--canvas); }
.button-quiet:hover { background: var(--surface); }
.button-danger { color: #fff; background: var(--danger); }
.button-sm { min-height: 35px; padding: 8px 11px; font-size: .79rem; }

@keyframes about-nav-signal {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--nav-accent) 0%, transparent); }
  50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--nav-accent) 22%, transparent); }
}

@keyframes brand-mark-settle {
  from { opacity: .4; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Public announcements */
.site-announcements { background: var(--canvas); border-bottom: 1px solid var(--line); }
.site-announcements__inner { display: grid; gap: 8px; padding: 11px 0; }
.announcement-banner {
  display: grid;
  align-items: center;
  min-height: 54px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.announcement-banner p { min-width: 0; margin: 0; color: var(--muted); font-size: .84rem; }
.announcement-banner p strong { color: var(--ink); }
.announcement-banner--learner { grid-template-columns: 10px minmax(0, 1fr) auto; gap: 11px; border-left: 3px solid #25d366; animation: learner-banner-pulse 2.5s ease-in-out infinite; }
.announcement-banner__signal { width: 8px; height: 8px; background: #25d366; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .42); animation: learner-signal-pulse 1.8s ease-in-out infinite; }
.announcement-banner__whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 7px 10px; color: #fff; background: #25d366; border: 1px solid #25d366; border-radius: 4px; font-size: .76rem; font-weight: 700; white-space: nowrap; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.announcement-banner__whatsapp:hover { color: #fff; background: #1ea952; border-color: #1ea952; transform: translateY(-1px); }
.announcement-banner__whatsapp img { width: 18px; height: 18px; }
.announcement-banner__whatsapp svg { width: 15px; height: 15px; }
.announcement-banner--integrity { grid-template-columns: 34px minmax(0, 1fr); gap: 13px; border-left: 3px solid #1595d3; }
.announcement-banner__integrity-mark { display: inline-grid; width: 32px; height: 32px; place-items: center; color: #087cac; background: #e5f5fb; border-radius: 4px; }
.announcement-banner__integrity-mark svg { width: 20px; height: 20px; }
@keyframes learner-banner-pulse {
  0%, 100% { opacity: 1; border-left-color: #25d366; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
  50% { opacity: .88; border-left-color: #128c4a; box-shadow: 0 0 0 3px rgba(37, 211, 102, .14); }
}
@keyframes learner-signal-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 211, 102, .42); }
  50% { opacity: .45; box-shadow: 0 0 0 5px rgba(37, 211, 102, 0); }
}

/* Hero */
.home-hero {
  position: relative;
  min-height: min(690px, calc(100vh - 110px));
  overflow: hidden;
  color: #fff;
  background: #153b30;
}
.home-hero-content { display: flex; min-height: min(690px, calc(100vh - 110px)); max-width: 760px; flex-direction: column; justify-content: center; padding: 80px 0 108px; }
.home-hero .eyebrow { color: #cfefde; }
.home-hero h1 { max-width: 750px; margin-bottom: 21px; color: #fff; }
.home-hero .hero-copy { max-width: 620px; margin-bottom: 30px; color: #e6f0eb; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-writer-link { display: inline-flex; align-items: center; gap: 8px; margin: 15px 0 0; color: #e4f4eb; font-size: .86rem; }
.hero-writer-link svg { width: 17px; height: 17px; flex: none; color: #f1c568; }
.hero-writer-link a { color: #ffffff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.hero-writer-link a:hover, .hero-writer-link a:focus-visible { color: #f1c568; }
.hero-stat-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 54px; }
.hero-stat { min-width: 135px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.45); }
.hero-stat:first-child { padding-left: 0; border-left: 0; }
.hero-stat strong { display: block; color: #fff; font-size: 1.3rem; }
.hero-stat span { color: #d8e9e0; font-size: .78rem; }
.independent-note { margin-top: 18px; color: #d4e3db; font-size: .75rem; }
.hero-down { position: absolute; bottom: 25px; right: max(20px, calc((100vw - 1160px) / 2)); z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: #e8f4ed; font-size: .78rem; font-weight: 700; }
.hero-down svg { width: 18px; height: 18px; }

/* General components */
.trust-strip { padding: 20px 0; color: var(--ink); background: var(--surface); border-block: 1px solid var(--line); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: .82rem; font-weight: 700; text-align: center; }
.trust-item svg { width: 19px; height: 19px; color: var(--forest); flex: none; }
.account-paths { background: var(--canvas); }
.account-paths__grid, .account-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.account-path, .account-choice-card { --path-accent: #0b7256; --path-surface: #e8f6ee; --path-ink: #123d30; display: flex; min-height: 350px; flex-direction: column; align-items: flex-start; padding: 29px; color: var(--path-ink); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--path-accent); border-radius: 6px; }
.account-path--writer, .account-choice-card--writer { --path-accent: #a75023; --path-surface: #fff0e7; --path-ink: #563018; }
.account-path__icon, .account-choice-card__icon { display: inline-grid; width: 44px; height: 44px; margin-bottom: 20px; place-items: center; color: var(--path-accent); background: var(--path-surface); border-radius: 5px; }
.account-path__icon svg, .account-choice-card__icon svg { width: 22px; height: 22px; }
.account-path__label, .account-choice-card__label { margin: 0 0 8px; color: var(--path-accent); font-size: .74rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.account-path h3, .account-choice-card h2 { margin-bottom: 10px; color: var(--path-ink); font-family: var(--font-body); font-size: 1.3rem; }
.account-path > p:not(.account-path__label), .account-choice-card > p:not(.account-choice-card__label) { margin-bottom: 0; color: color-mix(in srgb, var(--path-ink) 72%, var(--muted)); font-size: .9rem; }
.account-path__steps { display: grid; gap: 8px; padding: 0; margin: 22px 0; list-style: none; }
.account-path__steps li { display: flex; align-items: center; gap: 8px; color: var(--path-ink); font-size: .82rem; font-weight: 650; }
.account-path__steps span { display: inline-grid; width: 20px; height: 20px; flex: none; place-items: center; color: #ffffff; background: var(--path-accent); border-radius: 50%; font-size: .68rem; font-weight: 800; }
.account-path__actions, .account-choice-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: auto; }
.account-path .button, .account-choice-card .button { color: #ffffff; background: var(--path-accent); border-color: var(--path-accent); }
.account-path .button:hover, .account-path .button:focus-visible, .account-choice-card .button:hover, .account-choice-card .button:focus-visible { color: #ffffff; background: color-mix(in srgb, var(--path-accent) 86%, #000000); border-color: color-mix(in srgb, var(--path-accent) 86%, #000000); }
.account-path .text-link, .account-choice-card .text-link { color: var(--path-accent); }
.account-paths__login, .account-choice-login { margin: 22px 0 0; color: var(--muted); font-size: .87rem; text-align: center; }
.account-choice-page { background: var(--canvas); }
.account-choice-hero { background: var(--paper); }
.account-choice-section { min-height: min(560px, calc(100vh - 210px)); }
.account-choice-card { min-height: 300px; }
.account-choice-card > .button { margin-top: auto; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 104px); align-items: center; }
.media-frame { position: relative; }
.media-frame img { width: 100%; min-height: 420px; object-fit: cover; border-radius: 6px; }
.image-note { position: absolute; right: -18px; bottom: 25px; max-width: 220px; padding: 16px; color: var(--ink); background: var(--paper); border-left: 4px solid var(--gold); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 26px 0 30px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.check-list svg { width: 19px; height: 19px; flex: none; color: var(--forest); margin-top: 3px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.info-card .card-icon { display: grid; width: 42px; height: 42px; margin-bottom: 23px; place-items: center; color: var(--forest); background: var(--mint); border-radius: 5px; }
.card-icon svg { width: 21px; height: 21px; }
.info-card h3 { margin-bottom: 9px; }
.info-card p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.info-card .text-link { margin-top: 19px; font-size: .85rem; }
.course-card { display: flex; min-height: 270px; flex-direction: column; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--course-color, var(--forest)); border-radius: 6px; }
.course-card.cipd { --course-color: #0b5d45; }
.course-card.cmi { --course-color: #a85e26; }
.course-card.cips { --course-color: #38709a; }
.course-card .course-abbr { display: block; margin-bottom: 24px; color: var(--course-color); font-size: .75rem; font-weight: 800; letter-spacing: 0; }
.course-card h3 { font-size: 1.28rem; margin-bottom: 9px; }
.course-card p { color: var(--muted); font-size: .9rem; }
.course-card .level-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: auto 0 21px; padding-top: 10px; }
.level-tag { padding: 4px 8px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 3px; font-size: .72rem; font-weight: 700; }
.course-card .text-link { color: var(--course-color); font-size: .85rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.process-step { min-height: 205px; padding: 25px; background: var(--paper); border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.step-number { display: grid; width: 28px; height: 28px; margin-bottom: 27px; place-items: center; color: var(--forest); background: var(--mint); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.process-step h3 { margin-bottom: 9px; }
.process-step p { margin: 0; color: var(--muted); font-size: .87rem; }
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  color: var(--ink);
  background: var(--surface);
  border-left: 4px solid var(--gold);
  font-size: .86rem;
}
.notice svg { flex: none; width: 19px; height: 19px; color: var(--gold); }

/* Review and stats */
.review-layout { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: 70px; align-items: center; }
.rating-overview .rating-value { display: block; margin-bottom: 4px; color: var(--forest); font-family: var(--font-display); font-size: 4rem; font-weight: 700; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; fill: currentColor; }
.stars .stars__empty { color: #b7c2bc; fill: none; }
.rating-overview p { margin: 13px 0 0; color: var(--muted); font-size: .87rem; }
.review-carousel { position: relative; }
.review-slide { display: none; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.review-slide.active { display: block; }
.review-slide .stars, .review-card .stars { margin-top: 13px; }
.review-feedback-title { margin: 14px 0 0; color: var(--ink); font-family: var(--font-body); font-size: 1rem; font-weight: 750; line-height: 1.35; }
.review-quote { margin: 9px 0 0; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; }
.review-author { display: flex; align-items: center; gap: 11px; }
.avatar { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--forest); border-radius: 50%; font-size: .77rem; font-weight: 700; }
.review-author strong, .review-author small { display: block; }
.review-author small { color: var(--muted); font-size: .78rem; }
.review-country { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 15px 0 0; color: var(--muted); font-size: .82rem; }
.review-country__location { flex: none; width: 14px; height: 14px; color: var(--aqua); stroke-width: 2.25; }
.review-country__flag { font-size: 1.1rem; line-height: 1; }
.review-country__name { color: #b42362; font-weight: 750; }
.review-country__date { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
[data-theme="dark"] .review-country__name { color: #f472b6; }
.review-card .review-quote { font-family: var(--font-body); font-size: 1rem; }
.carousel-controls { display: flex; gap: 8px; margin-top: 15px; }
.carousel-controls .icon-button { background: var(--paper); border-color: var(--line); }
.carousel-position { min-width: 46px; margin: 0 auto 0 0; color: var(--muted); font-size: .76rem; font-weight: 700; line-height: 38px; }
.stat-band { color: #eaf7f0; background: var(--forest-deep); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 42px 25px; border-right: 1px solid rgba(236, 250, 242, .25); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: #fff; font-family: var(--font-display); font-size: 2.1rem; }
.stat span { color: #d4e5dc; font-size: .85rem; }

/* CTA */
.cta-band { padding: 74px 0; color: #fff; background: var(--forest); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-band h2 { max-width: 720px; margin: 0; color: #fff; }
.cta-band p { max-width: 650px; margin: 13px 0 0; color: #dceee5; }
.cta-actions { display: flex; flex: none; flex-wrap: wrap; gap: 10px; }
.cta-band .button-secondary { color: #fff; border-color: #bde7d1; }
.cta-band .button-secondary:hover { color: var(--forest-deep); background: #fff; border-color: #fff; }

/* Page hero */
.page-hero { padding: 77px 0 70px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 760px; margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 0; }
.assignment-support-hero .hero-actions { margin-top: 26px; }
.assignment-support-hero .independent-note { max-width: 760px; margin: 16px 0 0; color: var(--muted); font-size: .78rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 19px; color: var(--muted); font-size: .8rem; }
.breadcrumbs svg { width: 14px; height: 14px; }
.breadcrumbs a:hover { color: var(--forest); }

/* Course pages */
.course-directory { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 42px; align-items: start; }
.filter-panel { position: sticky; top: 100px; padding: 21px; background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; }
.filter-panel h2 { margin-bottom: 15px; font-family: var(--font-body); font-size: .95rem; }
.filter-list { display: grid; gap: 4px; padding: 0; margin: 0; list-style: none; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px; color: var(--muted); border-radius: 4px; font-size: .88rem; font-weight: 600; }
.filter-list a:hover, .filter-list a.active { color: var(--forest); background: var(--paper); }
.filter-count { color: var(--muted); font-size: .75rem; }
.course-list { display: grid; gap: 28px; }
.course-group { scroll-margin-top: 112px; }
.course-group-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.course-group-heading h2 { margin: 0; font-family: var(--font-body); font-size: 1.25rem; }
.course-group-heading p { margin: 0; color: var(--muted); font-size: .84rem; }
.unit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.unit-card { display: flex; align-items: flex-start; gap: 13px; min-height: 102px; padding: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
.unit-card:hover { border-color: var(--forest); box-shadow: var(--shadow); }
.unit-code { display: grid; flex: none; min-width: 45px; height: 29px; padding: 0 7px; place-items: center; color: var(--forest); background: var(--mint); border-radius: 3px; font-size: .68rem; font-weight: 800; }
.unit-card h3 { margin: 0 0 5px; font-size: .93rem; }
.unit-card p { margin: 0; color: var(--muted); font-size: .79rem; }
.course-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 55px; align-items: start; }
.course-detail-content h2 { margin-top: 45px; font-size: 1.8rem; }
.course-detail-content h2:first-child { margin-top: 0; }
.course-detail-content p, .course-detail-content li { color: var(--muted); }
.course-detail-content ul { padding-left: 20px; }
.course-detail-aside { position: sticky; top: 100px; }
.course-summary-card { padding: 23px; background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; }
.course-summary-card h2 { font-family: var(--font-body); font-size: 1rem; }
.course-summary-card dl { margin: 20px 0; }
.course-summary-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.course-summary-card dt { color: var(--muted); font-size: .8rem; }
.course-summary-card dd { margin: 0; color: var(--ink); font-size: .8rem; font-weight: 700; text-align: right; }
.course-summary-card .button { width: 100%; }

/* Service pages */
.service-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.service-card { display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 23px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.service-card .card-icon { display: grid; width: 43px; height: 43px; place-items: center; color: var(--forest); background: var(--mint); border-radius: 5px; }
.service-card h3 { margin: 0 0 7px; }
.service-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 30px; }
.value-item { padding: 15px; background: var(--canvas); border-left: 3px solid var(--aqua); }
.value-item strong { display: block; font-size: .87rem; }
.value-item span { color: var(--muted); font-size: .78rem; }

/* Forms */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.form-card { padding: clamp(23px, 4vw, 42px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 20px rgba(21, 38, 30, .04); }
.form-card h2 { margin-bottom: 7px; font-size: 1.65rem; }
.form-card > p { margin-bottom: 27px; color: var(--muted); }
.form-section { padding: 0 0 29px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { margin-bottom: 0; }
.form-section h3 { margin-bottom: 17px; font-size: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.course-unit-picker { display: grid; grid-column: 1 / -1; gap: 13px; }
.course-unit-picker__grid, .course-unit-picker__manual-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.course-unit-picker__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course-unit-picker__manual-toggle { display: flex; align-items: flex-start; gap: 9px; width: fit-content; color: var(--ink); font-size: .8rem; line-height: 1.4; cursor: pointer; }
.course-unit-picker__manual-toggle input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--forest); }
.course-unit-picker__status { min-height: 1.25em; margin: -4px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.4; }
.course-unit-picker [hidden] { display: none !important; }
.field label { color: var(--ink); font-size: .82rem; font-weight: 700; }
.field label .required { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8d9993; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 15%, transparent); }
.field-help { margin: 0; color: var(--muted); font-size: .73rem; }
.field-error { margin: 0; color: var(--danger); font-size: .73rem; }
.input-prefix { display: flex; }
.input-prefix select { width: 92px; flex: none; border-radius: 4px 0 0 4px; }
.input-prefix input { border-left: 0; border-radius: 0 4px 4px 0; }
.checkbox-field { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0; color: var(--muted); font-size: .8rem; }
.checkbox-field input { width: 17px; height: 17px; flex: none; margin: 1px 0 0; accent-color: var(--forest); }
.form-card .button[type="submit"] { margin-top: 22px; }
.form-sidebar { display: grid; gap: 16px; }
.side-panel { padding: 22px; background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; }
.side-panel h2, .side-panel h3 { margin-bottom: 13px; font-family: var(--font-body); font-size: 1rem; }
.side-panel p { margin-bottom: 0; color: var(--muted); font-size: .85rem; }
.side-checks { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.side-checks li { display: flex; gap: 8px; color: var(--muted); font-size: .82rem; }
.side-checks svg { width: 17px; height: 17px; flex: none; color: var(--forest); }
.pricing-output { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; }
.pricing-output .pricing-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 13px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: .82rem; }
.pricing-output .pricing-row:last-child { border: 0; }
.pricing-output .pricing-row strong { color: var(--forest); }
.pricing-total { color: var(--ink); background: var(--mint) !important; font-size: .9rem !important; font-weight: 700; }
.file-input { position: relative; display: grid; min-height: 92px; place-items: center; padding: 13px; border: 1px dashed var(--forest); border-radius: 5px; text-align: center; }
.file-input input { position: absolute; inset: 0; width: 100%; min-height: 100%; opacity: 0; cursor: pointer; }
.file-input span { display: grid; justify-items: center; color: var(--muted); font-size: .78rem; pointer-events: none; }
.file-input svg { width: 22px; height: 22px; margin-bottom: 6px; color: var(--forest); }
.file-input small { margin-top: 4px; font-size: .68rem; }
.public-order-file-picker { display: grid; gap: 10px; }
.public-order-file-picker__drop { min-height: 124px; }
.public-order-file-picker__selection { display: grid; gap: 7px; }
.public-order-file-picker__count { margin: 0; color: var(--forest-deep); font-size: .78rem; font-weight: 700; }
.public-order-file-picker__list { display: grid; gap: 8px; }
.public-order-file-picker__list[hidden] { display: none; }
.public-order-file-picker__item { display: flex; min-width: 0; align-items: flex-start; gap: 9px; padding: 9px 10px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 5px; }
.public-order-file-picker__item > svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--forest); }
.public-order-file-picker__details { display: grid; flex: 1 1 auto; min-width: 0; gap: 2px; }
.public-order-file-picker__name { overflow: hidden; color: var(--ink); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.public-order-file-picker__meta { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.public-order-file-picker__remove { display: inline-grid; width: 28px; height: 28px; flex: 0 0 auto; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 4px; cursor: pointer; place-items: center; }
.public-order-file-picker__remove:hover, .public-order-file-picker__remove:focus-visible { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); outline: 0; }
.public-order-file-picker__remove:disabled { color: var(--muted); cursor: not-allowed; opacity: .65; }
.form-success { display: none; padding: 18px; color: var(--forest-deep); background: var(--mint); border-radius: 5px; font-size: .88rem; }
.form-success.visible { display: block; }

/* Auth */
.auth-page { min-height: calc(100vh - 110px); background: var(--canvas); }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .85fr); min-height: calc(100vh - 110px); }
.auth-aside { position: relative; display: flex; overflow: hidden; flex-direction: column; justify-content: flex-end; padding: 62px max(38px, calc((100vw - 1160px) / 2)); color: #fff; background-color: #153b30; background-image: linear-gradient(rgba(5, 34, 25, .7), rgba(5, 34, 25, .7)), url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1300&q=85"); background-position: center; background-size: cover; }
.auth-aside h1 { max-width: 580px; margin-bottom: 14px; color: #fff; font-size: clamp(2.2rem, 3.5vw, 3.8rem); }
.auth-aside p { max-width: 480px; margin: 0; color: #e1f1e8; }
.auth-features { display: grid; gap: 13px; margin-top: 35px; }
.auth-features span { display: flex; gap: 9px; font-size: .85rem; font-weight: 600; }
.auth-features svg { width: 18px; height: 18px; color: #b8e8cf; }
.auth-panel { display: flex; align-items: center; padding: 50px clamp(24px, 5vw, 80px); background: var(--paper); }
.auth-form { width: 100%; max-width: 450px; margin: auto; }
.auth-form .brand { margin-bottom: 47px; }
.auth-form h1 { margin-bottom: 9px; font-family: var(--font-body); font-size: 1.65rem; }
.auth-form > p { margin-bottom: 26px; color: var(--muted); }
.auth-form .field { margin-bottom: 16px; }
.password-field { position: relative; }
.password-field input { padding-right: 45px; }
.password-toggle { position: absolute; right: 4px; bottom: 4px; width: 38px; height: 37px; }
.auth-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 7px 0 20px; }
.auth-form-actions .checkbox-field { margin: 0; }
.auth-link { color: var(--forest); font-size: .8rem; font-weight: 700; }
.auth-link:hover { color: var(--forest-deep); text-decoration: underline; }
.auth-form .button { width: 100%; }
.auth-switch { margin: 22px 0 0 !important; color: var(--muted); font-size: .84rem; text-align: center; }
.auth-switch--secondary { margin-top: 9px !important; }
.password-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 7px; }
.password-strength span { height: 4px; background: var(--line); border-radius: 2px; }
.password-strength[data-strength="1"] span:nth-child(1) { background: var(--danger); }
.password-strength[data-strength="2"] span:nth-child(-n+2) { background: var(--gold); }
.password-strength[data-strength="3"] span:nth-child(-n+3), .password-strength[data-strength="4"] span { background: var(--forest); }
.password-rule { margin: 7px 0 0; color: var(--muted); font-size: .7rem; }

/* Portfolio */
.portfolio-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 29px; }
.filter-chip { padding: 8px 12px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-size: .8rem; font-weight: 700; }
.filter-chip:hover, .filter-chip.active { color: #fff; background: var(--forest); border-color: var(--forest); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portfolio-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.document-preview { position: relative; height: 207px; overflow: hidden; padding: 20px; background: #d2d9d5; }
.document-paper { position: relative; z-index: 1; height: 240px; padding: 17px; background: #fff; box-shadow: 0 6px 15px rgba(0, 0, 0, .11); transform: rotate(-2deg); }
.document-paper .doc-bar { width: 54%; height: 7px; margin-bottom: 13px; background: #0b5d45; }
.document-paper .doc-line { height: 5px; margin: 7px 0; background: #dfe7e2; }
.document-paper .doc-line.short { width: 62%; }
.portfolio-card-content { padding: 19px; }
.portfolio-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.portfolio-meta span { padding: 3px 6px; color: var(--forest); background: var(--mint); border-radius: 2px; font-size: .67rem; font-weight: 800; }
.portfolio-card h2 { margin: 0 0 8px; font-family: var(--font-body); font-size: 1rem; }
.portfolio-card p { margin: 0 0 14px; color: var(--muted); font-size: .8rem; }
.portfolio-card .text-link { font-size: .78rem; }
.document-modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(4, 20, 14, .72); }
.document-modal.open { display: flex; }
.document-modal-panel { width: min(880px, 100%); max-height: 90vh; overflow: auto; padding: 20px; background: var(--paper); border-radius: 6px; }
.document-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.document-modal-header h2 { margin: 0; font-family: var(--font-body); font-size: 1.05rem; }
.document-viewer { min-height: 470px; padding: 50px 14%; background: #eef1ef; }
.viewer-page { min-height: 520px; padding: 48px; color: #1e2823; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.viewer-page h3 { font-family: Georgia, serif; text-align: center; }
.viewer-page p { color: #57645d; font-family: Georgia, serif; font-size: .9rem; line-height: 1.8; }

/* FAQ, blog, contact */
.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { margin-bottom: 15px; }
.faq-intro p { color: var(--muted); }
.accordion { display: grid; gap: 10px; }
.accordion-item { background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
.accordion-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 15px; padding: 19px; color: var(--ink); background: transparent; border: 0; font-size: .94rem; font-weight: 700; text-align: left; }
.accordion-trigger svg { flex: none; width: 19px; height: 19px; color: var(--forest); transition: transform 160ms ease; }
.accordion-item.open .accordion-trigger svg { transform: rotate(45deg); }
.accordion-content { display: none; padding: 0 19px 19px; color: var(--muted); font-size: .87rem; }
.accordion-item.open .accordion-content { display: block; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.blog-card-image { height: 190px; object-fit: cover; width: 100%; }
.blog-card-content { padding: 20px; }
.blog-tag { display: inline-block; margin-bottom: 10px; color: var(--forest); font-size: .69rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.blog-card h2 { margin-bottom: 10px; font-family: var(--font-body); font-size: 1.08rem; }
.blog-card p { margin-bottom: 18px; color: var(--muted); font-size: .83rem; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .73rem; }
.featured-post { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 38px; }
.featured-post img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.featured-post-content { padding: clamp(25px, 4vw, 48px); }
.featured-post-content h2 { margin: 0 0 13px; font-size: clamp(1.55rem, 2.5vw, 2.4rem); }
.featured-post-content p { color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 70px; align-items: start; }
.article-content { max-width: 760px; }
.article-content h2 { margin: 43px 0 14px; font-size: 1.65rem; }
.article-content p, .article-content li { color: var(--muted); }
.article-content li { margin-bottom: 7px; }
.article-aside { position: sticky; top: 110px; padding: 19px; background: var(--canvas); border-left: 3px solid var(--aqua); }
.article-aside h2 { margin-bottom: 10px; font-family: var(--font-body); font-size: .88rem; }
.article-aside a { display: block; padding: 6px 0; color: var(--muted); font-size: .8rem; }
.article-aside a:hover { color: var(--forest); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; }
.contact-details { display: grid; gap: 13px; margin-top: 30px; }
.contact-detail { display: flex; gap: 13px; padding: 15px; background: var(--canvas); border: 1px solid var(--line); border-radius: 5px; }
.contact-detail svg { width: 21px; height: 21px; flex: none; color: var(--forest); }
.contact-detail strong, .contact-detail span { display: block; }
.contact-detail strong { font-size: .83rem; }
.contact-detail span { color: var(--muted); font-size: .78rem; }
.map-placeholder { min-height: 185px; margin-top: 20px; padding: 20px; color: var(--forest); background: var(--mint); border: 1px solid var(--line); border-radius: 5px; }
.map-placeholder svg { width: 28px; height: 28px; margin-bottom: 12px; }
.map-placeholder p { color: var(--muted); font-size: .8rem; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 65px; align-items: start; }
.legal-nav { position: sticky; top: 110px; display: grid; gap: 4px; padding: 12px; background: var(--canvas); border: 1px solid var(--line); border-radius: 5px; }
.legal-nav a { padding: 8px; color: var(--muted); border-radius: 3px; font-size: .8rem; font-weight: 700; }
.legal-nav a:hover { color: var(--forest); background: var(--paper); }
.legal-content { max-width: 800px; }
.legal-content .updated { margin-bottom: 35px; color: var(--muted); font-size: .8rem; }
.legal-content h2 { margin: 38px 0 12px; font-family: var(--font-body); font-size: 1.28rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content li { margin-bottom: 7px; }

/* Footer */
.site-footer { color: #d4e5dc; background: #12372b; }
.footer-main { display: grid; grid-template-columns: 1.7fr .8fr .8fr 1.15fr; gap: 35px; padding: 64px 0 50px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name strong { color: #95dfbd; }
.footer-brand p { max-width: 335px; margin: 20px 0; color: #c4d8ce; font-size: .85rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(233, 247, 239, .38); border-radius: 4px; transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.social-link img { display: block; width: 18px; height: 18px; }
.social-link--linkedin { --social-brand: #0a66c2; }
.social-link--facebook { --social-brand: #1877f2; }
.social-link--x { --social-brand: #000; }
.social-link--whatsapp { --social-brand: #25d366; }
.social-link:hover, .social-link:focus-visible { color: #fff; background: var(--social-brand); border-color: var(--social-brand); box-shadow: 0 5px 13px rgba(0, 0, 0, .24); transform: translateY(-2px); }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column h2 { margin: 2px 0 8px; color: #fff; font-family: var(--font-body); font-size: .9rem; }
.footer-column > a { color: #c4d8ce; font-size: .82rem; }
.footer-column > a:hover { color: #fff; }
.footer-contact a, .footer-contact p { display: flex; align-items: flex-start; gap: 7px; margin: 0; color: #c4d8ce; font-size: .8rem; }
.footer-contact svg { flex: none; width: 16px; height: 16px; color: #95dfbd; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; border-top: 1px solid rgba(233, 247, 239, .18); }
.footer-bottom p, .footer-bottom a { margin: 0; color: #b6cbbf; font-size: .73rem; }
.footer-bottom div { display: flex; gap: 19px; }
.footer-bottom a:hover { color: #fff; }
.whatsapp-float { position: fixed; right: 20px; bottom: 18px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 43px; padding: 10px 14px; color: #fff; background: #1b9b61; border-radius: 5px; box-shadow: 0 8px 25px rgba(4, 51, 31, .25); font-size: .82rem; font-weight: 700; }
.whatsapp-float:hover { color: #fff; background: #157f4e; }
.whatsapp-float svg { width: 19px; height: 19px; }
.flash-region { position: relative; z-index: 52; }
.flash-message { display: flex; align-items: center; gap: 10px; margin: 15px 0; padding: 12px 13px; background: var(--mint); border: 1px solid var(--line); border-radius: 5px; font-size: .85rem; }
.flash-message.error { color: #76231f; background: #fbe5e2; border-color: #edbab4; }
.flash-message .flash-dismiss { margin-left: auto; width: 28px; height: 28px; }
.flash-message > svg { width: 18px; height: 18px; flex: none; }

@media (max-width: 1040px) {
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-contact { grid-column: 1; }
  .course-directory { grid-template-columns: 210px minmax(0, 1fr); gap: 25px; }
}

@media (max-width: 1360px) {
  .nav-shell { width: var(--container); display: flex; gap: 12px; }
  .brand { margin-right: 0; }
  .mobile-menu-toggle { display: inline-grid; }
  .primary-nav { position: fixed; top: calc(var(--header-height) - 1px); left: 0; right: 0; display: none; max-height: calc(100vh - 80px); overflow: auto; padding: 17px 16px 23px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: grid; justify-content: stretch; }
  .primary-nav > .nav-link, .nav-dropdown > .nav-link { width: 100%; justify-content: space-between; padding: 12px 10px; font-size: .96rem; }
  .nav-dropdown { width: 100%; }
  .dropdown-panel, .dropdown-panel.compact { position: static; display: none; width: 100%; margin: 0; padding: 2px 0 5px 10px; visibility: visible; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
  .nav-dropdown.open .dropdown-panel { display: grid; }
  .nav-mobile-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 15px; margin-top: 6px; border-top: 1px solid var(--line); }
  .nav-mobile-actions .button { min-width: 0; min-height: 42px; padding: 9px 10px; font-size: .78rem; }
  .nav-mobile-login { color: #fff; background: #27546c; border-color: #27546c; }
  .nav-mobile-register { color: #4f3601; background: #f3cf6c; border-color: #dfae32; }
  .nav-mobile-order { color: #fff; background: var(--forest); border-color: var(--forest); }
  .nav-actions { margin-left: auto; }
  .nav-actions .theme-toggle, .nav-actions .nav-login, .nav-actions .nav-register, .nav-actions .nav-order { display: none; }
}

@media (max-width: 860px) {
  :root { --container: min(100% - 32px, 1160px); }
  .section { padding: 66px 0; }
  .utility-inner p { display: none; }
  .utility-inner { justify-content: flex-end; min-height: 31px; }
  .site-header { min-height: 67px; }
  .nav-shell { min-height: 67px; }
  .announcement-banner--learner { grid-template-columns: 10px minmax(0, 1fr); }
  .announcement-banner__whatsapp { grid-column: 2; justify-self: start; }
  .primary-nav { top: 67px; }
  .home-hero, .home-hero-content { min-height: 590px; }
  .home-hero-content { padding: 68px 0 90px; }
  .hero-down { display: none; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .trust-item { justify-content: flex-start; }
  .account-paths__grid, .account-choice-grid { grid-template-columns: 1fr; }
  .split-layout, .review-layout, .contact-grid, .faq-layout, .article-layout, .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .review-layout { gap: 28px; }
  .faq-intro, .article-aside, .legal-nav { position: static; }
  .card-grid, .blog-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .form-shell { grid-template-columns: 1fr; }
  .form-sidebar { grid-template-columns: repeat(2, 1fr); }
  .course-directory { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .filter-list { grid-template-columns: repeat(3, 1fr); }
  .filter-list a { border: 1px solid var(--line); }
  .course-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .course-detail-aside { position: static; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { min-height: 300px; padding: 50px 32px; }
  .auth-aside h1 { font-size: 2.35rem; }
  .auth-panel { min-height: auto; padding: 44px 28px; }
  .auth-form .brand { margin-bottom: 28px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post img { min-height: 230px; max-height: 300px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 590px) {
  :root { --container: calc(100% - 28px); }
  h1 { font-size: 2.45rem; }
  .utility-links a:first-child { display: none; }
  .site-announcements__inner { gap: 7px; padding: 8px 0; }
  .announcement-banner { padding: 10px; }
  .announcement-banner p { font-size: .78rem; }
  .announcement-banner--learner { gap: 9px; }
  .announcement-banner__whatsapp { width: 100%; }
  .announcement-banner--integrity { grid-template-columns: 32px minmax(0, 1fr); gap: 9px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: .95rem; }
  .nav-actions .login-link, .nav-actions .nav-order { display: none; }
  .theme-toggle { display: none; }
  .home-hero, .home-hero-content { min-height: 560px; }
  .home-hero { background-position: 60% center; }
  .hero-stat-row { gap: 20px 0; margin-top: 38px; }
  .hero-stat { width: 50%; min-width: 0; padding: 0 12px; }
  .hero-stat:nth-child(3) { width: 100%; padding-left: 0; border-left: 0; }
  .trust-items { gap: 14px 10px; }
  .trust-item { font-size: .74rem; }
  .section-heading, .cta-inner { display: block; }
  .section-heading .text-link { margin-top: 17px; }
  .cta-actions { margin-top: 23px; }
  .cta-actions .button { width: 100%; }
  .card-grid, .blog-grid, .portfolio-grid, .service-card-grid, .unit-grid, .form-sidebar { grid-template-columns: 1fr; }
  .info-card, .course-card { padding: 22px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(2) { min-height: 162px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 25px 17px; border-bottom: 1px solid rgba(236, 250, 242, .25); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .media-frame img { min-height: 320px; }
  .image-note { right: 10px; bottom: 14px; max-width: 190px; }
  .form-grid, .form-grid.three, .course-unit-picker__grid, .course-unit-picker__manual-fields { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .filter-list { grid-template-columns: 1fr 1fr; }
  .course-group-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .course-detail-content h2 { font-size: 1.45rem; }
  .auth-aside { min-height: 260px; padding: 40px 20px; }
  .auth-aside h1 { font-size: 2rem; }
  .auth-features { display: none; }
  .auth-panel { padding: 38px 20px; }
  .auth-form-actions { align-items: flex-start; flex-direction: column; }
  .review-slide { padding: 23px; }
  .review-quote { font-size: 1.08rem; }
  .review-country__date { width: 100%; margin-left: 0; }
  .document-viewer { min-height: 390px; padding: 20px; }
  .viewer-page { min-height: 420px; padding: 28px 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 33px 20px; padding: 48px 0 38px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 16px 0; gap: 8px; }
  .whatsapp-float { right: 13px; bottom: 13px; width: 43px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .announcement-banner--learner, .announcement-banner__signal { animation: none; }
}

/* Homepage experience */
.home-page .home-hero {
  position: relative;
  isolation: isolate;
  min-height: min(620px, calc(100svh - 180px));
  overflow: hidden;
  color: #ffffff;
  background: #083d30;
}
.home-hero__media, .home-hero__media picture, .home-hero__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.home-hero__media { z-index: -2; overflow: hidden; }
.home-hero__media img { object-fit: cover; object-position: 72% center; transform: scale(1.045); }
.home-hero__scrim { position: absolute; z-index: -1; inset: 0; background: rgba(4, 35, 25, .74); }
.home-page .home-hero-content { position: relative; min-height: min(620px, calc(100svh - 180px)); max-width: 780px; padding: 72px 0 82px; }
.home-page .home-hero h1 { max-width: 760px; margin-bottom: 18px; color: #ffffff; font-size: 4.25rem; }
.home-page .home-hero .hero-copy { max-width: 650px; margin-bottom: 28px; color: #eff8f3; }
.home-page .home-hero .eyebrow { color: #d7f3e2; }
.hero-course-links { display: flex; flex-wrap: wrap; max-width: 620px; gap: 0; margin-top: 34px; border-top: 1px solid rgba(236, 250, 242, .46); }
.hero-course-links a { display: grid; min-width: 132px; padding: 13px 22px 0 0; color: #ffffff; }
.hero-course-links a + a { padding-left: 22px; border-left: 1px solid rgba(236, 250, 242, .36); }
.hero-course-links span { font-size: .86rem; font-weight: 800; letter-spacing: 0; }
.hero-course-links small { margin-top: 2px; color: #d8ebe1; font-size: .72rem; }
.hero-course-links a:hover span, .hero-course-links a:focus-visible span { color: #f1c568; }
.home-page .hero-stat-row { margin-top: 27px; }
.home-page .hero-stat strong { font-size: 1.2rem; }
.home-page .hero-down { bottom: 18px; }
.home-page.is-home-enhanced .home-hero__media img { transform: translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0) scale(1.065); transition: transform 380ms ease-out; }

.course-carousel { --course-accent: #0b5d45; }
.course-carousel__heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.course-carousel__heading h2 { max-width: 680px; margin-bottom: 12px; }
.course-carousel__heading .lead { margin-bottom: 0; }
.course-carousel__controls { display: flex; flex: none; align-items: center; gap: 8px; }
.course-carousel__controls .icon-button { background: var(--paper); border-color: var(--line); }
.course-carousel__controls .icon-button:hover, .course-carousel__controls .icon-button:focus-visible { color: #fff; background: var(--forest); border-color: var(--forest); }
.course-carousel__position { min-width: 48px; color: var(--forest); font-size: .78rem; font-weight: 800; text-align: center; }
.course-carousel__viewport { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); scroll-snap-type: x mandatory; scrollbar-color: var(--forest) var(--surface); }
.course-carousel__track { display: flex; width: 300%; }
.course-carousel__slide { --course-accent: #0b5d45; --course-surface: #e7f3eb; --course-ink: #143b2d; --course-muted: #426457; display: grid; flex: 0 0 calc(100% / 3); grid-template-columns: minmax(0, 1.03fr) minmax(310px, .97fr); min-height: 430px; overflow: hidden; color: var(--course-ink); background: var(--course-surface); scroll-snap-align: start; }
.course-carousel__slide--cmi { --course-accent: #a75023; --course-surface: #fff0e7; --course-ink: #563018; --course-muted: #76503b; }
.course-carousel__slide--cips { --course-accent: #1a719d; --course-surface: #e8f4fa; --course-ink: #173e55; --course-muted: #45667a; }
[data-theme="dark"] .course-carousel__slide--cipd { --course-surface: #183c2e; --course-ink: #eff9f2; --course-muted: #cae1d1; }
[data-theme="dark"] .course-carousel__slide--cmi { --course-surface: #492918; --course-ink: #fff2ea; --course-muted: #f0c9ae; }
[data-theme="dark"] .course-carousel__slide--cips { --course-surface: #17394d; --course-ink: #eff9ff; --course-muted: #c2dce8; }
.course-carousel__media { display: grid; min-height: 100%; margin: 0; grid-template-rows: 1fr auto; overflow: hidden; background: var(--surface); }
.course-carousel__media picture, .course-carousel__media img { display: block; width: 100%; height: 100%; }
.course-carousel__media img { min-height: 370px; object-fit: cover; transition: transform 480ms ease; }
.course-carousel__media figcaption { padding: 13px 17px; color: #fff; background: var(--course-accent); font-size: .79rem; font-weight: 700; }
.course-carousel__content { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px; }
.course-carousel__code { margin-bottom: 18px; color: var(--course-accent); font-size: .78rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.course-carousel__content h3 { max-width: 440px; margin-bottom: 12px; color: var(--course-ink); font-size: 1.65rem; }
.course-carousel__content p { max-width: 460px; margin: 0; color: var(--course-muted); }
.course-carousel__content .course-carousel__hook { margin-bottom: 14px; color: var(--course-ink); font-weight: 700; }
.course-carousel__levels { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0; }
.course-carousel__levels span { padding: 5px 9px; color: var(--course-accent); background: color-mix(in srgb, var(--course-accent) 10%, #fff); border: 1px solid color-mix(in srgb, var(--course-accent) 35%, transparent); border-radius: 4px; font-size: .74rem; font-weight: 800; }
.course-carousel__content .button { margin-top: auto; color: #fff; background: var(--course-accent); border-color: var(--course-accent); }
.course-carousel__content .button:hover, .course-carousel__content .button:focus-visible { color: #fff; background: color-mix(in srgb, var(--course-accent) 85%, #000); border-color: color-mix(in srgb, var(--course-accent) 85%, #000); }
.course-carousel__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 15px; }
.course-carousel__selectors { display: none; flex-wrap: wrap; gap: 7px; }
.course-carousel__selector { min-height: 34px; padding: 7px 12px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-size: .78rem; font-weight: 800; transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.course-carousel__selector:hover, .course-carousel__selector:focus-visible, .course-carousel__selector.is-active { color: #fff; background: var(--forest); border-color: var(--forest); outline: 0; transform: translateY(-1px); }
.course-carousel.is-enhanced .course-carousel__viewport { overflow: hidden; }
.course-carousel.is-enhanced .course-carousel__track { width: 100%; transition: transform 520ms ease; }
.course-carousel.is-enhanced .course-carousel__slide { flex-basis: 100%; }
.course-carousel.is-enhanced .course-carousel__selectors { display: flex; }
.course-carousel.is-enhanced .course-carousel__slide.is-active .course-carousel__media img { transform: scale(1.035); }
.home-page.is-home-enhanced [data-home-image-motion] { overflow: hidden; }
.home-page.is-home-enhanced [data-home-image-motion] img { transform: translate3d(var(--image-x, 0px), var(--image-y, 0px), 0) scale(1.01); transition: transform 260ms ease-out; }
.home-page.is-home-enhanced [data-home-image-motion]:hover img { transform: translate3d(var(--image-x, 0px), var(--image-y, 0px), 0) scale(1.05); }

.home-page.is-home-enhanced [data-home-reveal].home-reveal { opacity: 0; transform: translateY(20px); transition: opacity 420ms ease, transform 420ms ease; }
.home-page.is-home-enhanced [data-home-reveal].home-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .home-page .home-hero, .home-page .home-hero-content { min-height: min(560px, calc(100svh - 185px)); }
  .home-page .home-hero-content { padding: 58px 0 66px; }
  .home-page .home-hero h1 { font-size: 3.2rem; }
  .home-hero__media img { object-position: 68% center; }
  .course-carousel__heading { display: block; }
  .course-carousel__controls { margin-top: 20px; }
  .course-carousel__slide { grid-template-columns: 1fr; min-height: 0; }
  .course-carousel__media, .course-carousel__media img { min-height: 300px; }
  .course-carousel__content { padding: 32px; }
}

@media (max-width: 590px) {
  .home-page .home-hero, .home-page .home-hero-content { min-height: min(535px, calc(100svh - 180px)); }
  .home-page .home-hero-content { padding: 42px 0 54px; }
  .home-page .home-hero h1 { font-size: 2.45rem; }
  .home-page .home-hero .hero-copy { margin-bottom: 21px; font-size: .98rem; }
  .hero-course-links { margin-top: 24px; }
  .hero-writer-link { align-items: flex-start; font-size: .8rem; }
  .account-path, .account-choice-card { min-height: 0; padding: 23px; }
  .account-path__actions, .account-choice-card__actions { align-items: stretch; flex-direction: column; width: 100%; }
  .account-path__actions .button, .account-choice-card__actions .button, .account-choice-card > .button { width: 100%; }
  .hero-course-links a { min-width: 0; flex: 1; padding: 10px 8px 0 0; }
  .hero-course-links a + a { padding-left: 8px; }
  .hero-course-links small { font-size: .64rem; }
  .home-page .hero-stat-row { margin-top: 21px; }
  .home-page .hero-stat { padding: 0 10px; }
  .nav-mobile-actions { grid-template-columns: 1fr; }
  .course-carousel__heading h2 { font-size: 1.8rem; }
  .course-carousel__controls { flex-wrap: wrap; }
  .course-carousel__footer { align-items: flex-start; flex-direction: column; }
  .course-carousel__media, .course-carousel__media img { min-height: 230px; }
  .course-carousel__content { padding: 25px 22px; }
  .course-carousel__content h3 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page.is-home-enhanced .home-hero__media img, .home-page.is-home-enhanced [data-home-image-motion] img { transform: none; }
  .home-page.is-home-enhanced [data-home-reveal].home-reveal { opacity: 1; transform: none; }
  .nav-link--about { animation: none; }
  .brand-mark { animation: none; }
  .course-carousel.is-enhanced .course-carousel__track, .course-carousel.is-enhanced .course-carousel__slide.is-active .course-carousel__media img { transition: none; transform: none; }
}
