:root {
  --gmct-orange: #e16d2f;
  --gmct-orange-dark: #c8581f;
  --gmct-slate: #222831;
  --gmct-slate-2: #343b46;
  --gmct-ink: #1f2937;
  --gmct-muted: #637083;
  --gmct-bg: #f5f3ee;
  --gmct-card: #ffffff;
  --gmct-line: #e4dfd5;
  --gmct-soft: #f7efe8;
  --gmct-success: #17663c;
  --gmct-warning: #8a4f00;
  --gmct-danger: #a92828;
  --shadow-sm: 0 12px 30px rgba(28, 31, 36, 0.08);
  --shadow-md: 0 24px 70px rgba(28, 31, 36, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --wrap: min(1180px, calc(100vw - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gmct-bg);
  color: var(--gmct-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: var(--wrap); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 12px 16px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }
.topbar {
  background: var(--gmct-slate);
  color: rgba(255,255,255,.92);
  font-size: .92rem;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(245, 243, 238, 0.92);
  border-bottom: 1px solid rgba(228, 223, 213, .9);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: 210px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: var(--gmct-slate);
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
  position: relative;
}
.site-nav a:not(.nav-pill)::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -8px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gmct-orange);
  transition: transform .2s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}
.nav-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--gmct-orange);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 14px 30px rgba(225, 109, 47, .25);
}
.nav-pill:hover,
.button:hover {
  background: var(--gmct-orange-dark);
  transform: translateY(-1px);
}
.button.secondary {
  background: var(--gmct-slate);
  box-shadow: 0 14px 30px rgba(34, 40, 49, .18);
}
.button.ghost {
  color: var(--gmct-slate) !important;
  background: transparent;
  border: 1px solid var(--gmct-line);
  box-shadow: none;
}
.button.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: .92rem;
}
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--gmct-line);
  background: #fff;
  font-weight: 800;
}
.site-notice {
  width: var(--wrap);
  margin: 18px auto 0;
  background: #fff6df;
  border: 1px solid #edd4a2;
  border-radius: 18px;
  padding: 16px 18px;
  color: #6a4711;
}
.site-notice a { color: #6a4711; font-weight: 800; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--gmct-orange);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 900;
}
.hero {
  padding: 74px 0 58px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, .95fr);
  gap: 52px;
  align-items: center;
}
.hero h1,
.page-hero h1 {
  margin: 0 0 22px;
  color: var(--gmct-slate);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.06em;
}
.hero p.lead,
.page-hero p.lead {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--gmct-muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}
.hero-actions,
.inline-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.mini-stat {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.mini-stat strong {
  display: block;
  color: var(--gmct-slate);
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.mini-stat span {
  color: var(--gmct-muted);
  font-size: .92rem;
}
.photo-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 268px 268px;
  gap: 18px;
  position: relative;
}
.photo-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 5px solid #fff;
  background: #ddd;
}
.photo-card:nth-child(1) { transform: translateY(24px); }
.photo-card:nth-child(4) { transform: translateY(-20px); }
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(280px, 70%);
  background: rgba(34, 40, 49, .94);
  color: #fff;
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.hero-badge strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.2;
}
.hero-badge span {
  display: block;
  color: rgba(255,255,255,.78);
  margin-top: 6px;
  font-size: .94rem;
}
.section {
  padding: 54px 0;
}
.section.compact { padding-top: 26px; }
.section-heading {
  display: flex;
  gap: 26px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}
.section-heading h2,
.page-hero h2 {
  margin: 0;
  color: var(--gmct-slate);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--gmct-muted);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.category-card,
.course-card,
.portal-card,
.panel,
.content-card,
.table-card,
.contact-card {
  background: var(--gmct-card);
  border: 1px solid var(--gmct-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.category-card {
  padding: 28px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover,
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.category-card span.count-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--gmct-soft);
  color: var(--gmct-orange-dark);
  font-weight: 800;
  font-size: .86rem;
  margin-bottom: 16px;
}
.category-card h3,
.course-card h3,
.contact-card h3,
.content-card h3 {
  margin: 0 0 10px;
  color: var(--gmct-slate);
  font-size: 1.25rem;
  line-height: 1.2;
}
.category-card p,
.course-card p,
.contact-card p,
.content-card p {
  margin: 0;
  color: var(--gmct-muted);
}
.course-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.course-card-image {
  height: 210px;
  background: #d8d8d8;
}
.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-card-body { padding: 22px; }
.meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.meta-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gmct-soft);
  color: var(--gmct-orange-dark);
  font-size: .82rem;
  font-weight: 900;
}
.status-pill.open,
.meta-pill.open { background: #def7e7; color: #17663c; }
.status-pill.pending { background: #fff0cd; color: #8a4f00; }
.status-pill.closed,
.status-pill.cancelled { background: #fde3e3; color: #a92828; }
.course-card .card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: stretch;
}
.image-panel {
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 5px solid #fff;
}
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-card {
  padding: 38px;
}
.check-list,
.clean-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.check-list li,
.clean-list li {
  margin: 0 0 14px;
  padding-left: 34px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gmct-orange);
  color: #fff;
  font-weight: 900;
  font-size: .84rem;
}
.band {
  background: var(--gmct-slate);
  color: #fff;
  border-radius: 34px;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.band h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -.04em;
}
.band p { margin: 0; color: rgba(255,255,255,.8); max-width: 800px; }
.page-hero {
  padding: 62px 0 32px;
}
.page-hero-panel {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(180px, .8fr));
  gap: 14px;
  margin: 28px 0 30px;
}
.input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d8d1c5;
  border-radius: 16px;
  background: #fff;
  color: var(--gmct-ink);
  padding: 0 16px;
  font: inherit;
}
textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}
label {
  display: block;
  color: var(--gmct-slate);
  font-weight: 800;
  margin-bottom: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-group.full { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.table-card { overflow: hidden; }
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th, td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gmct-line);
  vertical-align: top;
}
th {
  color: var(--gmct-slate);
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #fbfaf7;
}
td { color: var(--gmct-ink); }
.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.muted { color: var(--gmct-muted); }
.alert {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: #eef3ff;
  color: #234779;
}
.alert.success {
  background: #e7f7ec;
  border-color: #b8dfc3;
  color: var(--gmct-success);
}
.alert.warning {
  background: #fff3da;
  border-color: #eed3a4;
  color: var(--gmct-warning);
}
.alert.danger {
  background: #fdeaea;
  border-color: #efc4c4;
  color: var(--gmct-danger);
}
.course-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
}
.course-sidebar,
.booking-box {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.course-hero-image {
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}
.course-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.detail-copy {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.detail-copy h2 { margin-top: 0; }
.kpi-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}
.kpi {
  background: #fbfaf7;
  border: 1px solid var(--gmct-line);
  border-radius: 16px;
  padding: 14px 16px;
}
.kpi span {
  display: block;
  color: var(--gmct-muted);
  font-size: .85rem;
  margin-bottom: 4px;
}
.kpi strong { color: var(--gmct-slate); }
.contact-grid,
.portal-grid,
.stat-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.contact-card,
.portal-card { padding: 28px; }
.contact-card a { color: var(--gmct-orange-dark); font-weight: 800; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.map-card {
  min-height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #272e38, #566171);
  color: #fff;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
}
.map-card p { color: rgba(255,255,255,.82); }
.site-footer {
  margin-top: 72px;
  padding-top: 54px;
  background: var(--gmct-slate);
  color: rgba(255,255,255,.86);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}
.footer-grid h3 {
  color: #fff;
  margin: 0 0 14px;
}
.footer-grid a {
  display: block;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  margin: 0 0 10px;
}
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-logo {
  width: 230px;
  background: #fff;
  padding: 12px;
  border-radius: 16px;
  margin-bottom: 18px;
}
.accreditation-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding: 34px 0;
}
.accreditation-strip img {
  width: auto;
  height: 54px;
  max-width: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
}
.accreditation-strip img:nth-child(2) { height: 62px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.68);
  min-height: 64px;
  display: flex;
  align-items: center;
  font-size: .92rem;
}
.elearning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 24px;
}
.lesson-stack { display: grid; gap: 18px; }
.lesson {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.quiz-card {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.option-list { display: grid; gap: 10px; margin-top: 14px; }
.option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fbfaf7;
  border: 1px solid var(--gmct-line);
  border-radius: 14px;
  padding: 12px 14px;
}
.option input { margin-top: 5px; }
.certificate {
  background: #fff;
  border: 12px solid var(--gmct-orange);
  outline: 3px solid var(--gmct-slate);
  outline-offset: -24px;
  padding: 56px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.certificate img {
  width: 230px;
  margin: 0 auto 24px;
}
.certificate h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  margin: 0 0 18px;
  color: var(--gmct-slate);
}
.certificate h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 12px 0;
  color: var(--gmct-orange-dark);
}
.certificate p { font-size: 1.08rem; }
.certificate-meta {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--gmct-muted);
}
.gmct-admin,
.gmct-client {
  background: #f1eee8;
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
}
.admin-sidebar {
  background: var(--gmct-slate);
  color: #fff;
  padding: 28px 22px;
}
.admin-brand {
  display: grid;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  margin-bottom: 30px;
}
.admin-brand img {
  width: 184px;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
}
.admin-nav {
  display: grid;
  gap: 8px;
}
.admin-nav a {
  padding: 13px 14px;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 800;
}
.admin-nav a:hover {
  background: rgba(255,255,255,.12);
}
.admin-main {
  padding: 34px;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.admin-top h1 {
  margin: 0;
  color: var(--gmct-slate);
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -.05em;
}
.admin-user {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.stat-card span {
  display: block;
  color: var(--gmct-muted);
  font-weight: 800;
}
.stat-card strong {
  display: block;
  color: var(--gmct-slate);
  font-size: 2.35rem;
  line-height: 1.1;
  margin-top: 6px;
}
.panel {
  padding: 28px;
}
.panel h2,
.panel h3 {
  margin-top: 0;
  color: var(--gmct-slate);
}
.dashboard-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
  margin-top: 22px;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-toolbar .filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-form-card {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.login-wrap {
  width: min(560px, calc(100vw - 36px));
  margin: 8vh auto;
}
.login-card {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.login-card img {
  width: 220px;
  margin-bottom: 22px;
}
.portal-shell {
  width: min(1180px, calc(100vw - 48px));
  margin: 34px auto 70px;
}
.portal-header {
  min-height: 90px;
  padding: 18px 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--gmct-line);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.portal-header img { width: 210px; }
.portal-header nav {
  display: flex;
  gap: 18px;
  font-weight: 900;
}
.portal-header a {
  text-decoration: none;
  color: var(--gmct-slate);
}
.portal-main { padding-top: 30px; }
.portal-title h1 {
  margin: 0 0 8px;
  color: var(--gmct-slate);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}
.document-list { display: grid; gap: 16px; }
.document-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.document-item h3 { margin: 0 0 6px; }
.document-item p { margin: 0; color: var(--gmct-muted); }
.code {
  font-family: "SFMono-Regular", Consolas, monospace;
  background: #f6f1e8;
  padding: 2px 6px;
  border-radius: 8px;
}
.preview-note {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--gmct-line);
  color: var(--gmct-muted);
}
@media (max-width: 1080px) {
  .header-inner { min-height: 84px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 86px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--gmct-line);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .hero-grid,
  .split-feature,
  .course-detail,
  .elearning-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .hero-points,
  .card-grid,
  .contact-grid,
  .portal-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
}
@media (max-width: 760px) {
  :root { --wrap: min(100vw - 28px, 1180px); }
  .hide-mobile { display: none; }
  .topbar-inner {
    min-height: 56px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    align-items: flex-start;
    padding: 8px 0;
  }
  .brand img,
  .portal-header img { width: 172px; }
  .hero { padding-top: 48px; }
  .hero-grid { gap: 30px; }
  .photo-collage {
    grid-template-rows: 210px 210px;
    gap: 12px;
  }
  .hero-badge { width: 82%; }
  .hero-points,
  .card-grid,
  .contact-grid,
  .portal-grid,
  .stat-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .band {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .page-hero-panel,
  .content-card,
  .detail-copy,
  .admin-form-card,
  .panel,
  .login-card {
    padding: 24px;
  }
  .admin-main { padding: 20px; }
  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .document-item {
    grid-template-columns: 1fr;
  }
  .portal-shell { width: min(100vw - 28px, 1180px); }
  .portal-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .certificate { padding: 34px 22px; }
}
@media print {
  .topbar, .site-header, .site-footer, .site-notice, .print-hide, .portal-header, .button { display: none !important; }
  body { background: #fff; }
  .wrap { width: 100%; }
  .certificate { box-shadow: none; margin-top: 0; }
}

.compact-copy { margin-top: 14px; }
.advice-card {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--gmct-line);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
.advice-card h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 2vw, 2rem); }
.advice-card p { margin: 0 0 16px; color: var(--gmct-muted); }
.advice-panel {
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--gmct-line);
  background: #fffaf4;
}
.advice-panel p { margin: 6px 0 10px; color: var(--gmct-muted); }
.admin-image-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--gmct-line);
  border-radius: 18px;
  background: #fff;
}
.admin-image-preview img {
  width: 180px;
  height: 105px;
  object-fit: cover;
  border-radius: 14px;
}
.admin-thumb {
  width: 86px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--gmct-line);
  background: #fff;
}
.booking-form-card .preview-note { margin-top: 6px; }
@media print {
  .page-hero, .booking-box, .form-actions.print-hide, .inline-actions.print-hide { display: none !important; }
  .section { padding: 0; }
  .admin-form-card { box-shadow: none; border: 0; padding: 0; }
  input, select, textarea { border: 1px solid #999 !important; }
}

/* Client feedback v4 additions */
.section-soft {
  background: linear-gradient(135deg, rgba(225,109,47,.08), rgba(255,255,255,.7));
  border-top: 1px solid rgba(228,223,213,.7);
  border-bottom: 1px solid rgba(228,223,213,.7);
}
.nvq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.nvq-card,
.nvq-strip-card,
.onsite-summary-card,
.category-chip {
  border: 1px solid var(--gmct-line);
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.nvq-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nvq-card h3,
.nvq-strip-card strong,
.onsite-summary-card strong { color: var(--gmct-slate); }
.nvq-card h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.nvq-card p { margin: 0; color: var(--gmct-muted); }
.nvq-detail {
  margin-top: auto;
  color: var(--gmct-muted);
  font-size: .95rem;
}
.level-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  padding: 6px 12px;
  align-items: center;
  border-radius: 999px;
  background: var(--gmct-slate);
  color: #fff;
  font-weight: 900;
  font-size: .82rem;
}
.nvq-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.nvq-strip-card {
  padding: 18px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.nvq-strip-card:hover { transform: translateY(-2px); border-color: rgba(225,109,47,.45); }
.nvq-strip-card span {
  display: block;
  color: var(--gmct-orange);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.onsite-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.onsite-summary-card { padding: 20px; }
.onsite-summary-card strong { display: block; font-size: 1.4rem; }
.onsite-summary-card span { color: var(--gmct-muted); }
.image-panel-offset { transform: rotate(1deg); }
.onsite-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.onsite-tab {
  border: 1px solid var(--gmct-line);
  background: #fff;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}
.onsite-tab.active {
  color: #fff;
  background: var(--gmct-slate);
  border-color: var(--gmct-slate);
}
.onsite-panel { display: none; }
.onsite-panel.active { display: block; }
.section-heading.compact { margin-bottom: 18px; }
.category-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.category-chip {
  padding: 13px 15px;
  font-weight: 750;
  color: var(--gmct-ink);
  box-shadow: none;
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
  color: var(--gmct-slate);
}
.form-section-title span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gmct-orange);
  color: #fff;
  font-weight: 900;
}
.privacy-mini {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #f2d4b9;
  color: #754219;
  font-size: .92rem;
}
.personal-data-note {
  background: #fff7ed;
  border-color: #f2d4b9;
}
@media (max-width: 960px) {
  .nvq-grid,
  .nvq-strip,
  .category-list-grid,
  .onsite-summary-grid { grid-template-columns: 1fr; }
  .image-panel-offset { transform: none; }
}

/* v4.5 Safety Consultancy page */
.safety-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: 32px;
  align-items: stretch;
}
.hero-side-card,
.service-card,
.package-tier-card,
.process-card {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.safety-contact-card {
  padding: 28px;
  background: linear-gradient(135deg, #fff, #fff7ed);
}
.safety-contact-card img {
  max-width: 150px;
  margin-bottom: 20px;
}
.safety-contact-card h2,
.service-card p,
.package-tier-card strong,
.process-card h3 {
  margin-top: 0;
}
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.plain-list li {
  margin: 0 0 8px;
  color: var(--gmct-muted);
}
.plain-list a {
  color: var(--gmct-slate);
  font-weight: 900;
  text-decoration: none;
}
.plain-list a:hover { text-decoration: underline; }
.service-grid,
.safety-process-grid,
.quote-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.service-card p {
  margin: 0;
  color: var(--gmct-muted);
}
.service-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gmct-orange);
  color: #fff;
  font-weight: 900;
}
.packages-panel {
  background: #fff;
  border: 1px solid var(--gmct-line);
  border-radius: 34px;
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.package-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.package-tier-card {
  padding: 22px;
  background: var(--gmct-slate);
  color: #fff;
}
.package-tier-card strong {
  display: block;
  font-size: 1.4rem;
}
.package-tier-card span {
  color: rgba(255,255,255,.76);
  font-weight: 700;
}
.package-list-card {
  box-shadow: none;
}
.check-list.columns {
  columns: 2;
  column-gap: 32px;
}
.check-list.columns li {
  break-inside: avoid;
}
.quote-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.safety-process-panel {
  display: grid;
  gap: 24px;
}
.process-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.process-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -42px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(229, 99, 35, .09);
}
.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--gmct-slate);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}
.process-card h3 {
  color: var(--gmct-slate);
  font-size: 1.16rem;
  line-height: 1.2;
}
.process-card p {
  color: var(--gmct-muted);
  margin-bottom: 0;
}
.safety-fit-card {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-left: 6px solid var(--gmct-orange);
}
.safety-fit-card h3 {
  margin: 0;
  color: var(--gmct-slate);
}
@media (max-width: 1080px) {
  .safety-hero-panel,
  .service-grid,
  .safety-process-grid,
  .quote-service-grid,
  .package-tier-grid,
  .safety-fit-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .safety-hero-panel,
  .service-grid,
  .safety-process-grid,
  .quote-service-grid,
  .package-tier-grid,
  .safety-fit-card {
    grid-template-columns: 1fr;
  }
  .packages-panel { padding: 24px; }
  .check-list.columns { columns: 1; }
}
