:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #66736d;
  --line: #d9e2dc;
  --paper: #fbfcf8;
  --white: #ffffff;
  --forest: #173f35;
  --teal: #0f6b61;
  --gold: #e7b44c;
  --coral: #d86f45;
  --sky: #dff0f0;
  --shadow: 0 18px 50px rgba(23, 33, 28, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(251, 252, 248, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(23, 33, 28, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 150px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(8, 24, 21, 0.14);
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.76;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  white-space: nowrap;
}

.site-nav a,
.header-cta {
  border-radius: 999px;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a {
  padding: 8px 7px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.nav-active .site-nav a:hover,
.site-header.nav-active .site-nav a:focus-visible {
  background: var(--sky);
}

.header-cta {
  padding: 9px 12px;
  background: var(--gold);
  color: #1d1a12;
  box-shadow: 0 8px 20px rgba(29, 26, 18, 0.16);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 78vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    url("assets/training/forklift-operator-training.jpg")
    center / cover;
  transform: scale(1.02);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 31, 27, 0.82) 0%, rgba(10, 31, 27, 0.58) 47%, rgba(10, 31, 27, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 31, 27, 0.64), rgba(10, 31, 27, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 150px 24px 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #1d1a12;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 48px), var(--max));
  margin: -32px auto 0;
  position: relative;
  z-index: 4;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-contact div {
  padding: 22px 24px;
}

.quick-contact div + div {
  border-left: 1px solid var(--line);
}

.quick-contact span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-contact strong {
  display: block;
  font-size: 1rem;
}

.quality-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(calc(100% - 48px), var(--max));
  margin: 18px auto 0;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  background: var(--forest);
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 14px 36px rgba(23, 33, 28, 0.1);
}

.quality-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quality-strip strong {
  display: block;
  line-height: 1.22;
}

.quality-logos {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quality-logos img {
  width: 126px;
  height: 64px;
  object-fit: contain;
  padding: 8px;
  background: var(--white);
  border-radius: 8px;
}

.section,
.split-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 64px;
  align-items: end;
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.video-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding-top: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.video-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background: #0b1f1b;
  box-shadow: 0 12px 34px rgba(23, 33, 28, 0.14);
}

.video-card-pending {
  background:
    linear-gradient(135deg, rgba(15, 107, 97, 0.72), rgba(23, 33, 28, 0.92)),
    url("assets/training/health-safety-background.jpg");
  background-position: center;
  background-size: cover;
}

.video-card video,
.video-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-pending {
  position: absolute;
  inset: 18px 18px auto auto;
  z-index: 1;
  max-width: calc(100% - 36px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(8, 24, 21, 0.56);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.courses-section {
  padding-top: 36px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.course-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.course-image {
  width: 100%;
  height: 178px;
  object-fit: cover;
  background: var(--sky);
}

.course-card-body {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px;
}

.course-card h3 {
  margin: 0;
  line-height: 1.16;
}

.course-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.course-tag {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--sky);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.course-meta div {
  display: grid;
  gap: 2px;
}

.course-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.text-button {
  width: fit-content;
  border: 0;
  border-bottom: 2px solid currentColor;
  padding: 0 0 3px;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--coral);
  outline: 0;
}

.course-more-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.course-more-panel h3,
.course-more-panel p {
  margin: 0;
}

.course-more-panel p:not(.eyebrow) {
  color: var(--muted);
}

.course-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  align-content: start;
}

.course-more-grid .text-button {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--paper);
  text-align: left;
}

.compliance-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compliance-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.badge-grid div {
  min-height: 138px;
  padding: 22px;
  background: var(--forest);
  border-radius: 8px;
  color: var(--white);
}

.badge-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--gold);
  font-weight: 900;
}

.badge-grid strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.medical-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.medical-panel h3,
.medical-panel p {
  margin: 0;
}

.medical-panel h3 {
  font-size: 1.48rem;
  line-height: 1.18;
}

.medical-panel p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.medical-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.medical-panel li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--teal);
  font-weight: 900;
}

.legal-department {
  border-bottom: 1px solid var(--line);
}

.legal-department .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.legal-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.legal-card.feature {
  background: var(--forest);
  color: var(--white);
}

.legal-card.feature .eyebrow {
  color: var(--gold);
}

.legal-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.legal-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  padding: 6px;
  background: var(--white);
  border-radius: 8px;
}

.legal-card h3,
.legal-card p {
  margin: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.legal-card.feature p {
  color: rgba(255, 255, 255, 0.82);
}

.legal-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.legal-contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-contact-strip span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.accreditation-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.accreditation-panel h3 {
  margin: 0;
  font-size: 1.48rem;
  line-height: 1.18;
}

.accreditation-panel p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.accreditation-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.accreditation-logo {
  display: grid;
  grid-template-rows: 96px auto;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.accreditation-logo img {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 190px;
  max-height: 82px;
  object-fit: contain;
}

.accreditation-logo figcaption {
  display: grid;
  gap: 3px;
  text-align: center;
}

.accreditation-logo strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.accreditation-logo span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.schedule-section {
  padding-top: 36px;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 22px;
  align-items: start;
}

.schedule-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.schedule-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.schedule-table th {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.schedule-note {
  padding: 28px;
  background: var(--forest);
  border-radius: 8px;
  color: var(--white);
}

.schedule-note p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.schedule-note .button {
  margin-top: 12px;
}

.booking-section {
  padding-top: 36px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 22px;
  align-items: start;
}

.booking-options {
  display: grid;
  gap: 12px;
}

.booking-tab {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 10px 28px rgba(23, 33, 28, 0.05);
}

.booking-tab:hover,
.booking-tab:focus-visible,
.booking-tab.is-active {
  border-color: var(--teal);
  outline: 0;
}

.booking-tab.is-active {
  background: var(--forest);
  color: var(--white);
}

.booking-tab span {
  font-weight: 900;
}

.booking-tab small {
  color: currentColor;
  line-height: 1.35;
  opacity: 0.76;
}

.booking-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 18px;
}

.booking-panel,
.calendar-card,
.booking-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.booking-panel {
  padding: 28px;
}

.booking-panel p:not(.eyebrow) {
  color: var(--muted);
}

.booking-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.booking-list li {
  position: relative;
  padding-left: 24px;
  color: #43514b;
}

.booking-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.calendar-card {
  grid-row: span 2;
  padding: 24px;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav button {
  min-width: 58px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.calendar-nav button:hover,
.calendar-nav button:focus-visible {
  border-color: var(--teal);
  outline: 0;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 8px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.calendar-empty,
.calendar-day {
  min-height: 58px;
  border-radius: 8px;
}

.calendar-day {
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: center;
}

.calendar-day small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
}

.calendar-day:hover,
.calendar-day:focus-visible {
  border-color: var(--teal);
  outline: 0;
}

.calendar-day.is-today {
  border-color: var(--gold);
}

.calendar-day.is-selected {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.calendar-day.is-selected small {
  color: rgba(255, 255, 255, 0.78);
}

.calendar-day:disabled {
  background: #eef2ee;
  color: #8f9b95;
  cursor: not-allowed;
}

.calendar-day:disabled small {
  color: #9aa59f;
}

.selected-date {
  min-height: 1.5em;
  margin: 18px 0 0;
  color: var(--teal);
  font-weight: 900;
}

.calendar-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.calendar-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--teal);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.calendar-link:hover,
.calendar-link:focus-visible {
  border-color: var(--teal);
  outline: 0;
}

.approval-flow {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.approval-flow div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 10px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.approval-flow span {
  grid-row: span 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--forest);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.approval-flow strong {
  line-height: 1.15;
}

.approval-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.form-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-brand img {
  width: 240px;
  max-width: 58%;
  height: auto;
  border-radius: 8px;
}

.form-brand span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ai-assistant-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.assistant-copy {
  position: sticky;
  top: 96px;
}

.assistant-copy p:not(.eyebrow),
.assistant-handoff p {
  color: var(--muted);
}

.assistant-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 18px;
  align-items: stretch;
}

.assistant-panel,
.assistant-handoff,
.platform-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.assistant-panel {
  display: grid;
  grid-template-rows: minmax(220px, auto) auto auto;
  gap: 14px;
  padding: 18px;
}

.assistant-log {
  display: grid;
  max-height: 360px;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding-right: 4px;
}

.assistant-message {
  max-width: 88%;
  padding: 13px 14px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.assistant-message.user {
  justify-self: end;
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.assistant-message strong,
.assistant-message p {
  margin: 0;
}

.assistant-message p {
  margin-top: 4px;
  font-size: 0.92rem;
}

.assistant-message.assistant p {
  color: var(--muted);
}

.assistant-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-prompts button,
.assistant-form button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
}

.assistant-prompts button {
  padding: 8px 10px;
}

.assistant-prompts button:hover,
.assistant-prompts button:focus-visible,
.assistant-form button:hover,
.assistant-form button:focus-visible {
  border-color: var(--teal);
  outline: 0;
}

.assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.assistant-form input {
  min-height: 44px;
  min-width: 0;
  border: 1px solid #b8c6bf;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

.assistant-form input:focus {
  outline: 3px solid rgba(15, 107, 97, 0.18);
  border-color: var(--teal);
}

.assistant-form button {
  border-radius: 8px;
  padding: 0 16px;
  background: var(--teal);
  color: var(--white);
}

.assistant-handoff {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.assistant-handoff h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.16;
}

.assistant-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.assistant-team article {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.assistant-team img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.assistant-team strong,
.assistant-team span {
  display: block;
}

.assistant-team strong {
  font-size: 0.9rem;
  line-height: 1.1;
}

.assistant-team span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.assistant-actions,
.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.client-portal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.client-portal-copy {
  position: sticky;
  top: 112px;
}

.client-portal-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.portal-panel {
  display: grid;
  min-width: 0;
}

.portal-card {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 190px;
  padding: 28px;
  background: var(--forest);
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.portal-card span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-card h3,
.portal-card p {
  margin: 0;
}

.portal-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.platform-section {
  padding-top: 36px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-card {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
}

.platform-card span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.platform-card h3,
.platform-card p {
  margin: 0;
}

.platform-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.online-learning-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.online-learning-copy h3,
.online-learning-copy p {
  margin: 0;
}

.online-learning-copy h3 {
  font-size: 1.48rem;
  line-height: 1.18;
}

.online-learning-copy p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.online-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.online-course-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.online-course-card span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.online-course-card h4 {
  min-height: 2.35em;
  margin: 0;
  line-height: 1.16;
}

.online-course-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.online-course-card a {
  min-height: 34px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.online-course-card a[data-payment-pending="true"] {
  background: var(--forest);
  border-color: var(--forest);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  min-height: 560px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.split-section.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.split-section.reverse .split-media {
  order: 2;
}

.split-media {
  min-height: 430px;
  background-position: center;
  background-size: cover;
}

.training-photo {
  background-image: url("assets/training/operator-coaching-background.jpg");
}

.staffing-photo {
  background-image: url("assets/training/site-induction-background.jpg");
}

.split-content {
  display: grid;
  align-content: center;
  padding: 64px;
  background: var(--forest);
  color: var(--white);
}

.split-content p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.8);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-row div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row strong {
  color: var(--gold);
  font-size: 2.7rem;
  line-height: 1;
}

.stat-row span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.about-panel {
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.values-grid {
  display: grid;
  gap: 14px;
}

.values-grid div {
  padding: 26px;
  background: var(--sky);
  border-radius: 8px;
}

.values-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 900;
}

.values-grid p {
  margin: 10px 0 0;
  color: #46534d;
}

.team-section {
  padding-top: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sky);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-rotated img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 125%;
  height: 125%;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.team-card-body {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.team-card-body span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-card-body h3,
.team-card-body p {
  margin: 0;
}

.team-card-body p {
  color: var(--muted);
  font-weight: 800;
}

.gallery-section {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-tile {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--forest);
}

.gallery-tile.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 474px;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 24, 21, 0.78), rgba(8, 24, 21, 0.02));
  content: "";
}

.gallery-tile figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
}

.downloads-section {
  padding-top: 24px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.download-card:hover,
.download-card:focus-visible {
  border-color: var(--teal);
  outline: 0;
}

.download-card span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.download-card strong {
  font-size: 1.22rem;
  line-height: 1.15;
}

.download-card small {
  align-self: end;
  color: var(--muted);
  font-weight: 800;
}

.social-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 24px;
}

.social-copy {
  display: grid;
  align-content: center;
  padding: 34px;
  background: var(--forest);
  border-radius: 8px;
  color: var(--white);
}

.social-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.social-card:hover,
.social-card:focus-visible {
  border-color: var(--teal);
  outline: 0;
}

.social-card span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-card strong {
  font-size: 1.2rem;
  line-height: 1.15;
}

.social-card small {
  align-self: end;
  color: var(--muted);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 48px;
  padding-top: 0;
}

.contact-copy p {
  color: var(--muted);
}

address {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  font-style: normal;
}

address span {
  color: var(--muted);
}

.map-frame {
  height: 260px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sky);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form .form-brand {
  margin-bottom: 2px;
}

.contact-form label,
.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid #b8c6bf;
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea,
.booking-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 3px solid rgba(15, 107, 97, 0.18);
  border-color: var(--teal);
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 210px;
  height: auto;
  border-radius: 8px;
  background: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 900;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
}

.chat-launcher {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #25d366;
  color: #073b20;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(7, 59, 32, 0.2);
}

.chat-launcher:hover,
.chat-launcher:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.28);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-panel div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-panel button {
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.chat-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.chat-panel a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.chat-panel a strong,
.chat-panel a span {
  display: block;
}

.chat-panel a span {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.chat-panel a:hover,
.chat-panel a:focus-visible {
  border-color: var(--teal);
  outline: 0;
}

.simple-page {
  background: var(--forest);
}

.simple-shell {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 28px;
  width: min(calc(100% - 48px), 860px);
  margin: 0 auto;
  padding: 70px 0;
}

.simple-brand {
  color: var(--white);
}

.simple-panel {
  padding: 44px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.simple-panel h1 {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(2.4rem, 8vw, 5rem);
}

.simple-panel p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.simple-secondary {
  border-color: var(--forest);
  color: var(--forest);
}

@media (max-width: 1240px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: inherit;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    top: 75px;
    left: 24px;
    right: 24px;
    display: none;
    grid-column: 1 / -1;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: var(--ink);
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .header-cta {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-grid,
  .team-grid,
  .legal-panel,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-more-panel {
    grid-template-columns: 1fr;
  }

  .course-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .about,
  .compliance-section,
  .schedule-layout,
  .booking-layout,
  .booking-workspace,
  .ai-assistant-section,
  .assistant-shell,
  .client-portal-section,
  .accreditation-panel,
  .medical-panel,
  .video-showcase,
  .social-section,
  .contact-section,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .split-media {
    order: 0;
  }

  .split-content {
    padding: 42px;
  }

  .assistant-copy {
    position: static;
  }

  .client-portal-copy {
    position: static;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .online-learning-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    width: 126px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    padding: 120px 24px 56px;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  h2 {
    font-size: 2rem;
  }

  .quick-contact,
  .quality-strip,
  .service-grid,
  .course-grid,
  .team-grid,
  .legal-panel,
  .course-more-grid,
  .download-grid,
  .badge-grid,
  .medical-panel ul,
  .accreditation-logos,
  .platform-grid,
  .online-course-grid,
  .social-grid,
  .stat-row,
  .video-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tile.large {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .quick-contact div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quality-logos {
    justify-content: space-between;
  }

  .quality-logos img {
    width: min(46vw, 150px);
  }

  .section {
    padding: 66px 0;
  }

  .assistant-form {
    grid-template-columns: 1fr;
  }

  .assistant-message {
    max-width: 100%;
  }

  .form-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-brand img {
    max-width: 100%;
  }

  .form-brand span {
    text-align: left;
  }

  .section,
  .split-section {
    width: min(calc(100% - 32px), var(--max));
  }

  .service-card {
    grid-template-rows: 210px 1fr;
  }

  .split-media {
    min-height: 280px;
  }

  .split-content,
  .about-panel,
  .schedule-note,
  .booking-panel,
  .calendar-card,
  .booking-form,
  .contact-form {
    padding: 28px;
  }

  .calendar-day {
    min-height: 52px;
  }

  .contact-section {
    gap: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 82px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-widget {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-video,
  .video-card video {
    display: none;
  }
}
