/* =============================================
   AUS SAFETY CARDS - Professional Theme
   ============================================= */

:root {
  --bg: #F2F4F7;
  --surface: #FFFFFF;
  --card: #FFFFFF;
  --card-hover: #F7F9FC;
  --border: #D8DFE8;
  --border-subtle: #EBF0F5;

  --navy: #1B3054;
  --navy-mid: #254373;
  --navy-light: rgba(27, 48, 84, 0.06);

  --text: #111827;
  --text-muted: #4B5563;
  --text-dim: #9CA3AF;

  --construction: #B54309;
  --construction-dim: rgba(181, 67, 9, 0.07);
  --construction-border: rgba(181, 67, 9, 0.18);

  --rail: #1E40AF;
  --rail-dim: rgba(30, 64, 175, 0.07);
  --rail-border: rgba(30, 64, 175, 0.18);

  --mining: #854D0E;
  --mining-dim: rgba(133, 77, 14, 0.07);
  --mining-border: rgba(133, 77, 14, 0.18);

  --truck: #14532D;
  --truck-dim: rgba(20, 83, 45, 0.07);
  --truck-border: rgba(20, 83, 45, 0.18);

  --asbestos: #6B21A8;
  --asbestos-dim: rgba(107, 33, 168, 0.07);
  --asbestos-border: rgba(107, 33, 168, 0.18);

  --green: #15803D;
  --red: #B91C1C;
  --accent: #C8860A;

  --font-heading: 'Lato', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-mono: 'Roboto Mono', monospace;

  --container: 1180px;
  --radius: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}

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

.brand-mark {
  width: 36px;
  height: 40px;
  background: transparent url('../img/logo-mark.svg') center/contain no-repeat;
  display: block;
  flex-shrink: 0;
  font-size: 0;
  color: transparent;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }

.brand-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.10em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  line-height: 1;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 7px 14px;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.70);
  transition: all 0.15s;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }

.nav-construction.active, .nav-construction:hover { color: #fff; border-color: rgba(181,67,9,0.5); background: rgba(181,67,9,0.25); }
.nav-rail.active, .nav-rail:hover { color: #fff; border-color: rgba(99,132,255,0.4); background: rgba(30,64,175,0.3); }
.nav-mining.active, .nav-mining:hover { color: #fff; border-color: rgba(212,160,50,0.4); background: rgba(133,77,14,0.3); }
.nav-truck.active, .nav-truck:hover { color: #fff; border-color: rgba(50,200,100,0.3); background: rgba(20,83,45,0.35); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  color: rgba(255,255,255,0.70);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.mobile-nav-link.active { color: #fff; }
.mobile-nav-link:last-child { border-bottom: none; }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.hero-inner { max-width: 680px; }

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.stat-card { display: flex; flex-direction: column; gap: 4px; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #A87000; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.30); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }

.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--navy); border-color: var(--navy); background: var(--navy-light); }

.btn-construction { background: var(--construction); color: #fff; border-color: var(--construction); }
.btn-construction:hover { background: #963807; box-shadow: var(--shadow); }

.btn-rail { background: var(--rail); color: #fff; border-color: var(--rail); }
.btn-rail:hover { background: #163399; box-shadow: var(--shadow); }

.btn-mining { background: var(--mining); color: #fff; border-color: var(--mining); }
.btn-mining:hover { background: #6D3F0C; box-shadow: var(--shadow); }

.btn-truck { background: var(--truck); color: #fff; border-color: var(--truck); }
.btn-truck:hover { background: #0F3D22; box-shadow: var(--shadow); }

/* =============================================
   SECTIONS
   ============================================= */
section { padding: 72px 0; }

.section-header { margin-bottom: 40px; }

.section-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy);
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 560px;
  line-height: 1.7;
}

/* =============================================
   INDUSTRY GRID
   ============================================= */
.industries { background: var(--bg); }

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

.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.industry-card.construction { border-top-color: var(--construction); }
.industry-card.rail { border-top-color: var(--rail); }
.industry-card.mining { border-top-color: var(--mining); }
.industry-card.truck { border-top-color: var(--truck); }

.industry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border);
}

.industry-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.construction .industry-tag { color: var(--construction); background: var(--construction-dim); }
.rail .industry-tag { color: var(--rail); background: var(--rail-dim); }
.mining .industry-tag { color: var(--mining); background: var(--mining-dim); }
.truck .industry-tag { color: var(--truck); background: var(--truck-dim); }

.industry-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}

.industry-code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  margin-top: -8px;
}

.industry-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.industry-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.meta-label { color: var(--text-muted); }
.meta-value { font-family: var(--font-mono); font-weight: 600; color: var(--text); font-size: 12px; }

.industry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.construction .industry-cta { color: var(--construction); }
.rail .industry-cta { color: var(--rail); }
.mining .industry-cta { color: var(--mining); }
.truck .industry-cta { color: var(--truck); }

.arrow { transition: transform 0.18s; }
.industry-card:hover .arrow { transform: translateX(4px); }

/* =============================================
   AVAILABILITY
   ============================================= */
.availability-section { background: var(--surface); }

.availability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.avail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.avail-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.construction-bg { background: var(--construction-dim); border-bottom-color: var(--construction-border) !important; }
.rail-bg { background: var(--rail-dim); border-bottom-color: var(--rail-border) !important; }
.mining-bg { background: var(--mining-dim); border-bottom-color: var(--mining-border) !important; }
.truck-bg { background: var(--truck-dim); border-bottom-color: var(--truck-border) !important; }

.avail-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.avail-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.avail-item {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.avail-item:last-child { padding-bottom: 0; border-bottom: none; }

.avail-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

/* =============================================
   PRICING TABLE
   ============================================= */
.pricing-section { background: var(--bg); }

.pricing-table-wrap {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}

.pricing-table thead tr { background: var(--navy); }

.pricing-table th {
  padding: 13px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

.pricing-table th:first-child { color: #fff; }

.pricing-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  vertical-align: middle;
  font-size: 13px;
}

.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:nth-child(even) td { background: var(--bg); }

.price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy) !important;
}

.cert-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.construction-badge { background: var(--construction-dim); color: var(--construction); }
.rail-badge { background: var(--rail-dim); color: var(--rail); }
.mining-badge { background: var(--mining-dim); color: var(--mining); }
.truck-badge { background: var(--truck-dim); color: var(--truck); }

/* =============================================
   QUIZ CTA STRIP
   ============================================= */
.quiz-cta-section {
  background: var(--navy);
  padding: 56px 0;
}

.quiz-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quiz-cta-section .section-label { color: var(--accent); }
.quiz-cta-section .section-label::before { background: var(--accent); }

.quiz-cta-text h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.quiz-cta-text p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
}

.quiz-cta-cards { display: flex; flex-direction: column; gap: 10px; }

.quiz-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  transition: all 0.18s;
  text-decoration: none;
}

.quiz-link:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.22);
  transform: translateX(4px);
}

.quiz-link-left { display: flex; flex-direction: column; gap: 2px; }

.quiz-link-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.quiz-link-count {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.quiz-link-arrow {
  font-family: var(--font-heading);
  font-size: 14px;
  color: rgba(255,255,255,0.40);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0D1B2E;
  padding: 40px 0;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.10em;
  color: #fff;
  text-transform: uppercase;
}

.footer-logo-mark {
  width: 28px;
  height: 32px;
  background: transparent url('../img/logo-mark.svg') center/contain no-repeat;
  display: inline-block;
  flex-shrink: 0;
}

.footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  max-width: 560px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--accent); }

/* =============================================
   CERT PAGES - HERO
   ============================================= */
.cert-hero {
  background: var(--navy);
  padding: 52px 0 44px;
  border-bottom: 3px solid var(--accent);
}

.cert-hero-construction { border-bottom-color: var(--construction); }
.cert-hero-rail { border-bottom-color: var(--rail); }
.cert-hero-mining { border-bottom-color: var(--mining); }
.cert-hero-truck { border-bottom-color: var(--truck); }

.cert-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  margin-bottom: 20px;
}

.cert-breadcrumb a { color: rgba(255,255,255,0.40); transition: color 0.15s; }
.cert-breadcrumb a:hover { color: rgba(255,255,255,0.75); }

.cert-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.cert-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.15);
}

.cert-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.cert-hero-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.cert-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  max-width: 520px;
  line-height: 1.8;
}

/* Price Box */
.cert-price-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 22px;
  min-width: 220px;
  flex-shrink: 0;
}

.cert-price-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cert-price-main {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.cert-price-note {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  margin-bottom: 18px;
}

.cert-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.price-row-label { color: rgba(255,255,255,0.45); }
.price-row-value { font-family: var(--font-mono); color: #fff; font-weight: 600; }

/* =============================================
   CERT CONTENT
   ============================================= */
.cert-content { padding: 0; background: var(--bg); }

.cert-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 56px 0;
}

/* Full-width section panel */
.content-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.content-panel:last-child { margin-bottom: 0; }

.panel-header {
  padding: 14px 22px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-header h2,
.panel-header h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.panel-body { padding: 22px; }

/* Module list */
.module-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.module-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.module-item:last-child { border-bottom: none; padding-bottom: 0; }
.module-item:first-child { padding-top: 0; }

.module-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  border: 1.5px solid;
}

.num-construction { border-color: var(--construction); color: var(--construction); background: var(--construction-dim); }
.num-rail { border-color: var(--rail); color: var(--rail); background: var(--rail-dim); }
.num-mining { border-color: var(--mining); color: var(--mining); background: var(--mining-dim); }
.num-truck { border-color: var(--truck); color: var(--truck); background: var(--truck-dim); }

.module-content h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.module-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Requirements / checklist */
.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.req-item:last-child { border-bottom: none; padding-bottom: 0; }

.req-tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  background: #DCFCE7;
  color: var(--green);
}

.req-warn {
  background: #FEF9C3;
  color: #854D0E;
}

/* Info sidebar */
.info-sidebar { display: flex; flex-direction: column; gap: 18px; }

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-card-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.info-card-header h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}

.info-card-body { padding: 16px 18px; }

.fact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border-subtle);
}

.fact-list li:last-child { border-bottom: none; padding-bottom: 0; }

.fact-key {
  color: var(--text-muted);
  flex-shrink: 0;
}

.fact-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  font-size: 13px;
}

/* Pricing section on cert pages */
.cert-pricing {
  background: var(--surface);
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.price-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.15s;
}

.price-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
  background: var(--surface);
}

.price-card-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.price-card-amount {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.price-card-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

.price-card-delivery {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* State table */
.state-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.state-table th {
  padding: 10px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.state-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  vertical-align: middle;
}

.state-table tr:last-child td { border-bottom: none; }

.status-yes { color: var(--green); font-weight: 700; font-family: var(--font-heading); font-size: 12px; }
.status-no { color: var(--red); font-weight: 700; font-family: var(--font-heading); font-size: 12px; }
.status-partial { color: var(--mining); font-weight: 700; font-family: var(--font-heading); font-size: 12px; }

/* =============================================
   QUIZ
   ============================================= */
.quiz-section { background: var(--bg); padding: 72px 0; }

.quiz-container { max-width: 800px; margin: 0 auto; }

.quiz-intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow);
}

.quiz-intro-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}

.quiz-intro-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 0 28px;
  line-height: 1.75;
}

.quiz-meta-row {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.quiz-meta-item { display: flex; flex-direction: column; gap: 3px; }

.quiz-meta-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.quiz-meta-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quiz-active { display: none; }

.quiz-progress-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.quiz-progress-text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.quiz-progress-track {
  flex: 1;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
  background: var(--navy);
}

.quiz-score-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}

.question-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.question-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 14px 22px 0;
}

.question-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 22px 18px;
  color: var(--navy);
}

.options-list {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.option-btn {
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.12s;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}

.option-btn:hover:not(:disabled) {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-light);
}

.option-letter {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  color: var(--text-dim);
  background: var(--surface);
  transition: all 0.12s;
}

.option-btn:hover:not(:disabled) .option-letter {
  border-color: var(--navy);
  color: var(--navy);
}

.option-btn.correct {
  border-color: var(--green);
  background: #F0FDF4;
  color: var(--green);
}

.option-btn.correct .option-letter {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.option-btn.wrong {
  border-color: var(--red);
  background: #FEF2F2;
  color: var(--red);
}

.option-btn.wrong .option-letter {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.option-btn:disabled { cursor: not-allowed; }

.explanation-box {
  margin: 0 14px 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.65;
  display: none;
}

.explanation-box.show { display: block; }

.explanation-correct {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.explanation-wrong {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.quiz-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.quiz-result { display: none; }

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow);
}

.result-ring {
  width: 130px;
  height: 130px;
  margin: 0 auto 22px;
  position: relative;
}

.result-ring svg { transform: rotate(-90deg); }

.result-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.result-pct {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.result-frac {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.result-grade {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 8px;
}

.result-msg {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Licence progression */
.licence-progression {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 0;
  overflow-x: auto;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.lic-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lic-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  border: 2px solid;
}

.lic-car { background: var(--navy-light); border-color: var(--navy); color: var(--navy); }
.lic-lr { background: var(--truck-dim); border-color: var(--truck); color: var(--truck); }
.lic-mr { background: var(--truck-dim); border-color: var(--truck); color: var(--truck); opacity: 0.80; }
.lic-hr { background: var(--truck-dim); border-color: var(--truck); color: var(--truck); opacity: 0.90; }
.lic-hc { background: var(--truck-dim); border-color: var(--truck); color: var(--truck); }
.lic-mc { background: var(--truck); border-color: var(--truck); color: #fff; }

.lic-label {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  max-width: 68px;
  line-height: 1.3;
}

.lic-arrow {
  font-size: 16px;
  color: var(--text-dim);
  margin: 0 8px;
  flex-shrink: 0;
  padding-bottom: 24px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .availability-grid { grid-template-columns: 1fr; }
  .cert-content-grid { grid-template-columns: 1fr; }
  .quiz-cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .cert-hero-inner { grid-template-columns: 1fr; }
  .cert-price-box { min-width: auto; }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 52px 0; }
  .hero { padding: 48px 0 44px; }
  .hero-title { font-size: 36px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .industry-grid { grid-template-columns: 1fr; }
  .quiz-intro-card { padding: 28px 20px; }
  .result-card { padding: 28px 20px; }
  .price-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 30px; }
  .cert-hero-title { font-size: 36px; }
  .quiz-meta-row { gap: 20px; }
}

/* =============================================
   CERT PAGE - HERO (new structure)
   ============================================= */
.cert-hero {
  background: var(--navy);
  padding: 48px 0 40px;
  border-bottom: 4px solid var(--industry-color, var(--accent));
}

.hero-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}

/* =============================================
   CERT PAGE - MAIN GRID
   ============================================= */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: start;
  padding: 40px 0 60px;
}

.main-content { min-width: 0; }

.main-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}

@media (max-width: 1024px) {
  .main-grid { grid-template-columns: 1fr; }
  .main-sidebar { position: static; }
}

/* =============================================
   SIDEBAR CARDS
   ============================================= */
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  background: var(--sc-color, var(--navy));
  padding: 10px 16px;
}

.sidebar-list {
  list-style: none;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.5;
  padding-left: 12px;
  position: relative;
}

.sidebar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sc-color, var(--navy));
  opacity: 0.5;
}

.sidebar-list li:last-child { border-bottom: none; }

.sidebar-card p {
  font-size: 0.9rem;
  padding: 12px 16px;
}

/* =============================================
   PANEL HEADER COLOR OVERRIDE
   ============================================= */
.panel-header {
  background: var(--panel-color, var(--navy));
}

/* =============================================
   INFO GRID
   ============================================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-card-header {
  background: var(--card-color, var(--navy));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 7px 12px;
}

.info-card-body {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
}

/* =============================================
   PRICE CARDS (cert pages)
   ============================================= */
.cert-pricing { margin-top: 0; }

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.price-card:hover { box-shadow: var(--shadow); }

.price-card-label {
  background: var(--pc-color, var(--navy));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 8px 14px;
}

.price-card-amount {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 14px 4px;
}

.price-card-note {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 14px 12px;
  line-height: 1.5;
}

/* =============================================
   REQ LIST
   ============================================= */
.req-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }

.req-item {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 12px;
  background: var(--bg);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a87008; }

.btn-ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.btn-industry {
  background: var(--btn-color, var(--navy));
  color: #fff;
  padding: 12px 28px;
  font-size: 14px;
}
.btn-industry:hover { filter: brightness(1.10); }

/* =============================================
   QUIZ COMPONENTS
   ============================================= */
.quiz-intro-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.quiz-intro-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.quiz-intro-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.quiz-meta-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.quiz-progress-wrap {
  margin-bottom: 14px;
}

.quiz-progress-bar {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.quiz-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
  background: var(--navy);
}

.quiz-progress-info {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.score-live {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.question-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 14px;
}

.question-num {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.question-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 18px;
}

.options-list { display: flex; flex-direction: column; gap: 8px; }

.option-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  color: var(--text);
  transition: all 0.12s;
  font-family: var(--font-body);
  line-height: 1.5;
}

.option-btn:hover:not(:disabled) {
  border-color: var(--navy);
  background: var(--navy-light);
}

.option-letter {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  letter-spacing: 0;
}

.option-btn.correct { background: #f0fdf4; border-color: #22c55e; }
.option-btn.correct .option-letter { background: #22c55e; border-color: #22c55e; color: #fff; }
.option-btn.wrong { background: #fff0f0; border-color: #ef4444; }
.option-btn.wrong .option-letter { background: #ef4444; border-color: #ef4444; color: #fff; }

.explanation-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.6;
  display: none;
}

.explanation-box.show { display: block; }
.explanation-correct { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.explanation-wrong    { background: #fff0f0; color: #b91c1c; border: 1px solid #fecaca; }

.quiz-nav {
  display: flex;
  justify-content: flex-end;
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.result-score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.result-score-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.result-percent {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.result-fraction {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.result-grade {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.result-msg {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.result-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   SECTION HEADER (landing page)
   ============================================= */
.section-header { text-align: center; margin-bottom: 40px; }

.section-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* =============================================
   BRAND-LINK + SITE-NAV (new cert pages)
   ============================================= */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav .nav-link { font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; padding: 7px 14px; border-radius: var(--radius); color: rgba(255,255,255,0.70);
  transition: all 0.15s; text-transform: uppercase; border: 1px solid transparent; }
.site-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
.site-nav .nav-link.active { color: #fff; background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 63px;
    left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 8px 0;
    z-index: 200;
    gap: 0;
  }
  .site-nav.open .nav-link {
    padding: 13px 28px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 14px;
  }
}

/* =============================================
   HEADER AUTH AREA
   ============================================= */
.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 16px;
}

.btn-signin {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-signin:hover { background: #a87008; }

.user-menu { position: relative; }

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.user-menu-btn:hover { background: rgba(255,255,255,0.16); }

.user-avatar {
  width: 26px; height: 26px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  z-index: 300;
  overflow: hidden;
}
.user-dropdown.open { display: block; }

.user-dropdown-name {
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.04em;
}
.user-dropdown-email {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0;
}

.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
}
.user-dropdown a:hover,
.user-dropdown button:hover { background: var(--bg); color: var(--navy); }
.user-dropdown .signout-btn { color: var(--red); }
.user-dropdown .signout-btn:hover { background: #fff0f0; }

/* =============================================
   AUTH MODAL
   ============================================= */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,18,32,0.72);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-overlay.open { display: flex; }

.auth-modal {
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.30);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-modal-header {
  background: var(--navy);
  padding: 20px 24px 0;
  border-bottom: 3px solid var(--accent);
}

.auth-modal-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: -3px;
}
.auth-tab:hover { color: rgba(255,255,255,0.80); }
.auth-tab.active { color: #fff; border-bottom-color: var(--accent); }

.auth-modal-body { padding: 24px; }

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,48,84,0.10); }
.form-input.error { border-color: var(--red); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-error-msg {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}
.form-error-msg.show { display: block; }

.auth-submit {
  width: 100%;
  padding: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}
.auth-submit:hover { background: var(--navy-mid); }

.auth-divider {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin: 16px 0;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}
.auth-alert.show { display: block; }
.auth-alert.success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.auth-alert.danger  { background: #fff0f0; color: var(--red); border: 1px solid #fecaca; }

.auth-close {
  position: absolute;
  top: 18px; right: 20px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: rgba(255,255,255,0.7);
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.auth-close:hover { background: rgba(255,255,255,0.22); color: #fff; }
.auth-modal-header { position: relative; }

/* =============================================
   GET STARTED BUTTON (on cert pages)
   ============================================= */
.enrol-now-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.enrol-strip-text h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.enrol-strip-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.btn-enrol {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.btn-enrol:hover { background: #a87008; transform: translateY(-1px); }

/* =============================================
   ENROL PAGE
   ============================================= */
.enrol-hero {
  background: var(--navy);
  padding: 40px 0;
  border-bottom: 3px solid var(--accent);
}

.enrol-crumb {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  margin-bottom: 14px;
}
.enrol-crumb a { color: rgba(255,255,255,0.50); transition: color 0.15s; }
.enrol-crumb a:hover { color: #fff; }

.enrol-hero-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.enrol-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.enrol-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
  padding: 40px 0 60px;
}

/* Left column */
.qual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.qual-card-header {
  padding: 14px 22px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.qual-card-header h2 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.qual-card-body { padding: 24px; }

.cert-preview {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.cert-seal {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  background: var(--navy);
  border: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-seal-label {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.cert-seal-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  line-height: 1;
  margin: 4px 0;
}

.cert-seal-sub {
  font-family: var(--font-mono);
  font-size: 7px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.cert-qual-info h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.cert-qual-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cert-qual-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.cert-qual-meta-row strong {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 110px;
}

.qual-includes {
  margin-bottom: 0;
}

.qual-includes h4 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.includes-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.includes-list li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 2px solid #22c55e;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%2322c55e' d='M10 3L5 8.5 2 5.5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Delivery options */
.delivery-options { display: flex; flex-direction: column; gap: 10px; }

.delivery-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

.delivery-option:hover { border-color: var(--navy); background: var(--navy-light); }
.delivery-option.selected { border-color: var(--navy); background: var(--navy-light); }

.delivery-option input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.delivery-option-info { flex: 1; }

.delivery-option-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.delivery-option-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.delivery-option-duration {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.delivery-option-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}

/* Right column - order + payment */
.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: sticky;
  top: 80px;
}

.order-card-header {
  background: var(--navy);
  padding: 14px 20px;
}

.order-card-header h3 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
}

.order-card-body { padding: 20px; }

.order-lines { margin-bottom: 14px; }

.order-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

.order-line:last-child { border-bottom: none; }

.order-line-label { color: var(--text-muted); flex: 1; }
.order-line-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  flex-shrink: 0;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 0;
  border-top: 2px solid var(--navy);
  margin-top: 8px;
}

.order-total-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.order-total-amount {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
}

.order-gst {
  font-size: 11px;
  color: var(--text-dim);
  text-align: right;
  margin-top: 4px;
}

/* Payment form */
.payment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.payment-card-header {
  background: var(--navy);
  padding: 14px 20px;
}

.payment-card-header h3 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
}

.payment-card-body { padding: 20px; }

.pay-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.pay-tab {
  flex: 1;
  padding: 9px 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
  text-align: center;
}
.pay-tab:hover { border-color: var(--navy); color: var(--navy); }
.pay-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.pay-panel { display: none; }
.pay-panel.active { display: block; }

.card-logos {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.card-logo {
  padding: 3px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.card-field-wrap { position: relative; }

.card-field-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 14px;
  pointer-events: none;
}

.paypal-panel-content {
  text-align: center;
  padding: 16px 0;
}

.paypal-panel-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-paypal {
  width: 100%;
  padding: 14px;
  background: #FFC439;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: #003087;
  letter-spacing: 0.03em;
  transition: background 0.15s;
}
.btn-paypal:hover { background: #e6b234; }

.btn-afterpay {
  width: 100%;
  padding: 14px;
  background: #B2FCE4;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: 0.03em;
  transition: background 0.15s;
  margin-top: 8px;
}
.btn-afterpay:hover { background: #8ff0d0; }

.afterpay-note {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

.btn-pay-now {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s;
  margin-top: 16px;
}
.btn-pay-now:hover { background: var(--navy-mid); }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 10px;
}

/* =============================================
   SUCCESS SCREEN
   ============================================= */
.success-screen {
  display: none;
  padding: 72px 0;
}
.success-screen.show { display: block; }

.success-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  text-align: center;
}

.success-card-top {
  background: var(--navy);
  padding: 36px 32px;
  border-bottom: 3px solid #22c55e;
}

.success-tick {
  width: 64px; height: 64px;
  background: #22c55e;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: #fff;
}

.success-card-top h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.success-card-top p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.success-card-body { padding: 28px 32px; }

.success-ref {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 20px;
  text-align: left;
}

.success-ref strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.success-steps {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.success-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}
.success-steps li:last-child { border-bottom: none; }

.step-num {
  width: 22px; height: 22px;
  background: var(--navy);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.success-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.success-actions a, .success-actions button {
  flex: 1;
  padding: 11px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-back-home {
  background: var(--navy);
  color: #fff !important;
  border: none;
}
.btn-back-home:hover { background: var(--navy-mid); }

.btn-outline-cert {
  background: none;
  color: var(--navy) !important;
  border: 1.5px solid var(--navy);
}
.btn-outline-cert:hover { background: var(--navy-light); }

@media (max-width: 1024px) {
  .enrol-grid { grid-template-columns: 1fr; }
  .order-card { position: static; }
}

@media (max-width: 480px) {
  .cert-preview { flex-direction: column; align-items: center; text-align: center; }
  .cert-qual-meta-row { flex-direction: column; gap: 2px; }
  .cert-qual-meta-row strong { min-width: auto; }
  .pay-tabs { flex-wrap: wrap; }
  .enrol-now-strip { flex-direction: column; text-align: center; }
}

/* =============================================
   IMAGERY / GALLERY / RESOURCE LINKS
   ============================================= */
.cert-hero { position: relative; overflow: hidden; }
.cert-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(0.9);
  z-index: 0;
  pointer-events: none;
}
.cert-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.85) 100%);
}
.cert-hero > .container { position: relative; z-index: 1; }

.module-photo {
  width: 100%;
  max-width: 640px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin: 14px 0 6px;
  display: block;
  background: #e5e7eb;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.photo-caption {
  font-size: 11px;
  color: var(--text-muted, #5a5a6a);
  font-style: italic;
  margin: 0 0 14px;
  line-height: 1.4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.gallery-item {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  background: #e5e7eb;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.resource-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--border, #e5e7eb);
  border-left: 3px solid var(--navy, #0f172a);
  border-radius: 6px;
  text-decoration: none;
  background: #fff;
  transition: all 0.15s;
}
.resource-link:hover {
  border-left-width: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateX(2px);
}
.resource-link-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #0f172a);
  line-height: 1.3;
}
.resource-link-sub {
  font-size: 11px;
  color: var(--text-muted, #5a5a6a);
  line-height: 1.3;
}
.resource-link-url {
  font-size: 10px;
  color: #9ca3af;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-top: 2px;
  word-break: break-all;
}

.sample-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc, #eef2f6);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  margin-top: 18px;
}
.sample-card img {
  width: 120px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.sample-card-body h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #0f172a);
  margin-bottom: 4px;
}
.sample-card-body p {
  font-size: 12px;
  color: var(--text-muted, #5a5a6a);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 560px) {
  .gallery-item { height: 170px; }
  .module-photo { height: 180px; }
  .sample-card { flex-direction: column; align-items: flex-start; }
}
