/* =========================================================
   Datum Training — Site Stylesheet
   Bold sales-page style: black canvas, orange accent, cream cards.
   ========================================================= */

:root {
  /* Dark canvas */
  --black: #1a1714;
  --charcoal: #262019;
  --divider: rgba(243, 237, 224, 0.12);
  --on-dark: #f5f0e6;
  --on-dark-muted: rgba(245, 240, 230, 0.7);
  --on-dark-soft: rgba(245, 240, 230, 0.5);

  /* Cream card surfaces */
  --card-bg: #fbf6ec;
  --card-bg-deep: #f0e6d1;
  --white: #ffffff;
  --ink: #241f1a;
  --ink-muted: #5c5348;
  --ink-soft: #8a8072;
  --border: #e6dac2;
  --border-strong: #d8c6a0;

  /* Accent */
  --gold: #f5730e;
  --gold-dark: #d85f00;
  --gold-tint: #fbe0c4;
  --olive: #8a6d3f;
  --olive-tint: #f0e6d2;

  --success: #3f7d4f;
  --success-tint: #eaf3ec;
  --error: #a3402f;
  --error-tint: #faece9;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.3);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--on-dark);
  background: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--on-dark);
  line-height: 1.2;
  letter-spacing: 0.002em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.28rem; }

p { color: var(--on-dark-muted); }

.hl { color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}

.section--tight { padding: 60px 0; }

.section--alt {
  background: var(--card-bg);
}
.section--alt, .section--alt h1, .section--alt h2, .section--alt h3, .section--alt h4 { color: var(--ink); }
.section--alt p { color: var(--ink-muted); }

/* .eyebrow must win over any component's "p { color }" rule regardless of where it's nested */
.section--alt .eyebrow,
.card .eyebrow,
.feature-panel .eyebrow,
.cta-banner .eyebrow,
.form-panel .eyebrow,
.course-card .eyebrow,
.testimonial-card .eyebrow { color: var(--gold-dark); }

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head p { margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Outline buttons on the dark hero need light text/border */
.hero .btn-outline {
  border-color: var(--divider);
  color: var(--on-dark);
}
.hero .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: #322c24; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Ghost button in the (dark) nav needs light text/border */
.nav-cta .btn-ghost {
  color: var(--on-dark);
  border-color: var(--divider);
}
.nav-cta .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 23, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--on-dark);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg, .brand-mark img { width: 21px; height: 27px; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--on-dark);
  padding: 6px 0;
  position: relative;
}

.nav-links a.active,
.nav-links a:hover { color: var(--gold); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 12% 15%, rgba(245, 115, 14, 0.22), transparent 45%),
              linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%);
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 88px;
}

.hero-content { max-width: 540px; }

.hero p.lead {
  color: var(--on-dark-muted);
  font-size: 1.14rem;
  margin: 20px 0 34px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Trust bar */
.trust-bar {
  position: relative;
  z-index: 1;
  background: var(--card-bg);
}
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 56px;
  padding: 32px 24px;
}
.trust-item .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item .ic svg { width: 18px; height: 18px; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); font-weight: 700; }
.trust-item span { font-size: 0.8rem; color: var(--ink-muted); }

.page-hero {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
  padding: 88px 0 72px;
}
.page-hero p { max-width: 640px; margin-top: 18px; font-size: 1.06rem; }

/* ---------- Image placeholders ---------- */
.img-placeholder {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--card-bg-deep);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  text-align: center;
  overflow: hidden;
}
.img-placeholder svg { width: 34px; height: 34px; opacity: 0.55; }
.img-placeholder span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  max-width: 220px;
}
.img-placeholder--hero { aspect-ratio: 4 / 3; }
.img-placeholder--card { aspect-ratio: 4 / 3; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.img-placeholder--square { aspect-ratio: 1 / 1; }
.img-placeholder--wide { aspect-ratio: 16 / 9; }

/* Real photos (same sizing pattern as placeholders, no dashed border) */
.photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card-bg-deep);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--contain img { object-fit: contain; }
.photo--hero { aspect-ratio: 4 / 3; }
.photo--card { aspect-ratio: 4 / 3; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--wide { aspect-ratio: 16 / 9; }

/* Scattered polaroid-style photo gallery — full uncropped images, tilted, staggered */
.polaroid-gallery {
  column-count: 3;
  column-gap: 36px;
}
.polaroid {
  display: block;
  break-inside: avoid;
  margin: 0 0 44px;
  background: var(--white);
  padding: 14px 14px 18px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
}
.polaroid:hover { transform: scale(1.03) rotate(0deg) !important; }
.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.polaroid--tilt-1 { transform: rotate(-3deg); }
.polaroid--tilt-2 { transform: rotate(2.5deg); }
.polaroid--tilt-3 { transform: rotate(-2deg); }
.polaroid--tilt-4 { transform: rotate(3deg); }

@media (max-width: 980px) {
  .polaroid-gallery { column-count: 2; }
}
@media (max-width: 600px) {
  .polaroid-gallery { column-count: 1; }
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  color: var(--ink);
}
.card h1, .card h2, .card h3, .card h4 { color: var(--ink); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(245,115,14,0.4); }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; color: var(--ink-muted); }

/* Course card */
.course-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  color: var(--ink);
}
.course-card h1, .course-card h2, .course-card h3, .course-card h4 { color: var(--ink); }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.course-card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }

.course-detail-body { flex-direction: row; gap: 32px; align-items: flex-start; }
.course-detail-body > *:first-child { flex: 1; min-width: 0; }
.course-detail-cta { width: 240px; flex-shrink: 0; }
@media (max-width: 700px) {
  .course-detail-body { flex-direction: column; }
  .course-detail-cta { width: 100%; }
}

.course-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--olive-tint);
  color: var(--olive);
  white-space: nowrap;
}
.badge-gold { background: var(--gold-tint); color: var(--gold-dark); }

.course-card h3 { margin: 0; }
.course-card .desc { font-size: 0.93rem; flex-grow: 1; color: var(--ink-muted); }

.course-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-muted); }
.course-meta strong { color: var(--ink); font-weight: 700; }

.course-price {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
}
.course-price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.covered-list { margin-top: 2px; }
.covered-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.covered-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.group-note {
  background: var(--olive-tint);
  border: 1px solid rgba(138,109,63,0.3);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.83rem;
  color: var(--olive);
  font-weight: 700;
  line-height: 1.5;
}

/* Featured BESS block */
.feature-panel {
  background: linear-gradient(150deg, var(--card-bg), var(--card-bg-deep));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--ink);
}
.feature-panel h1, .feature-panel h2, .feature-panel h3 { color: var(--ink); }
.feature-panel p { color: var(--ink-muted); }
.feature-panel::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,115,14,0.2), transparent 70%);
  top: -140px; right: -100px;
}

.price-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.price-row:last-of-type { border-bottom: none; }
.price-row .label { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.price-row .amount { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--gold-dark); }
.price-row .gst-note { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; color: var(--ink-soft); }

/* Two column content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.check-list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }

/* On the dark canvas, check-list text should be light */
.section:not(.section--alt) .check-list li,
.hero .check-list li { color: var(--on-dark); }
.section--alt .check-list li,
.card .check-list li,
.feature-panel .check-list li { color: var(--ink); }

/* Process disclosure (BESS "The Process" button) */
.process-disclosure summary {
  list-style: none;
  cursor: pointer;
  width: fit-content;
}
.process-disclosure summary::-webkit-details-marker { display: none; }
.process-disclosure summary::marker { content: ""; }
.process-disclosure summary .chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.process-disclosure[open] summary .chevron { transform: rotate(180deg); }

.process-content {
  margin-top: 22px;
  padding: 36px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  color: var(--ink);
}
.process-content h1, .process-content h2, .process-content h3 { color: var(--ink); }
.process-track h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.process-track h3 span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.process-steps {
  list-style: none;
  counter-reset: step;
  margin-top: 18px;
}
.process-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 26px;
  padding-bottom: 22px;
  margin-left: 14px;
  border-left: 2px solid var(--border);
}
.process-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: -15px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-steps strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.process-steps p { font-size: 0.88rem; margin: 0; color: var(--ink-muted); }
.process-steps a {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.process-steps a:hover { color: var(--ink); }

/* SOP / CTA banner */
.cta-banner {
  background: linear-gradient(150deg, var(--gold-tint), var(--card-bg-deep));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: var(--ink);
}
.cta-banner h1, .cta-banner h2, .cta-banner h3 { color: var(--ink); }
.cta-banner p { color: var(--ink-muted); max-width: 560px; margin: 14px auto 30px; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { display: flex; gap: 4px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }
.testimonial-quote {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
  line-height: 1.5;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--card-bg-deep);
  border: 1px dashed var(--border-strong);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--ink); }
.testimonial-author span { font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.form-panel h1, .form-panel h2, .form-panel h3 { color: var(--ink); }
.form-panel p { color: var(--ink-muted); }

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

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--card-bg-deep);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,115,14,0.18);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 0.78rem; color: var(--ink-soft); margin-top: 6px; }

.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: var(--success-tint); color: var(--success); border: 1px solid #cfe6d5; }
.form-status.error { background: var(--error-tint); color: var(--error); border: 1px solid #edc9c0; }

/* Contact info cards */
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-list li:last-child { border-bottom: none; }
.info-list .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-list .ic svg { width: 18px; height: 18px; }
.info-list h4 { font-size: 0.95rem; margin-bottom: 3px; color: var(--ink); }
.info-list p { font-size: 0.9rem; margin: 0; color: var(--ink-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--on-dark-muted);
  padding: 64px 0 28px;
  border-top: 1px solid var(--divider);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--divider);
}
.footer-grid h4 {
  color: var(--on-dark);
  font-size: 0.92rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-grid ul li { margin-bottom: 11px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-brand p { color: var(--on-dark-muted); font-size: 0.9rem; margin-top: 14px; max-width: 300px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: var(--on-dark-soft);
}
.footer-bottom a:hover { color: var(--gold); }

.nzta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.nzta-badge svg { width: 15px; height: 15px; color: var(--gold-dark); }
.nzta-badge:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .feature-panel { grid-template-columns: 1fr; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 64px; }
  .hero-content { max-width: 620px; }
  .trust-bar .container { gap: 18px 36px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--card-bg);
    flex-direction: column;
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { color: var(--ink); }
  .nav.open .nav-links a.active,
  .nav.open .nav-links a:hover { color: var(--gold-dark); }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 60px 0 0; }
  .hero-grid { padding-bottom: 48px; }
  .section { padding: 64px 0; }
  .feature-panel { padding: 28px; }
  .cta-banner { padding: 36px 24px; }
  .form-panel { padding: 26px; }
  .trust-bar .container { justify-content: flex-start; gap: 16px 28px; padding: 22px; }
  .process-content { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
}
