/* ============================================================
   CERTIFI — style.css
   Brand: Teal/Green/Gold | Fonts: Playfair Display + Inter
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;600&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* Colours */
  --teal:        #0D6B6B;
  --teal-dark:   #094f4f;
  --teal-light:  #0f7a7a;
  --green:       #1A9B6B;
  --green-light: #22b87d;
  --leaf:        #2DC882;
  --gold:        #C8960D;
  --gold-dark:   #a67a0a;
  --off-white:   #F7FAF9;
  --warm-grey:   #6B7B76;
  --near-black:  #0A1A14;
  --white:       #ffffff;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  5rem 1.5rem;
  --section-pad-sm: 3.5rem 1.5rem;

  /* Transitions */
  --ease: 0.25s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ── UTILITY ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  padding: 0.8rem 1.75rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--near-black);
  border-color: var(--gold);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}


/* ═══════════════════════════════════════════════
   1. NAVIGATION
═══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
}

#navbar.scrolled {
  background: var(--near-black);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--white);
  transition: color var(--ease);
  letter-spacing: -0.01em;
}

#navbar:not(.scrolled) .nav-logo-text {
  color: var(--white);
}

.nav-logo-dot {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  transition: color var(--ease), background var(--ease);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links .btn-gold {
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
  letter-spacing: 0.01em;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.25rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════════════════
   2. HERO
═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--teal-dark) 0%, var(--teal) 45%, #0f7a5a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

/* Subtle geometric texture */
#hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(44,200,130,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -15%; left: -8%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,150,13,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--leaf);
  border-radius: 2px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  color: var(--leaf);
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Standards trust bar */
.hero-standards {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.hero-standards-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.standards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.std-badge {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.04em;
  transition: background var(--ease), color var(--ease);
}

.std-badge:hover {
  background: rgba(255,255,255,0.16);
  color: var(--white);
}


/* ═══════════════════════════════════════════════
   3. TRUST ANCHORS
═══════════════════════════════════════════════ */
#trust {
  background: var(--white);
  padding: 3rem 1.5rem;
  border-bottom: 1px solid rgba(13,107,107,0.1);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.trust-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.trust-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.trust-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
  line-height: 1.25;
  padding: 0.5rem;
  transition: background var(--ease), color var(--ease);
}

.trust-logo-badge:hover {
  background: var(--teal);
  color: var(--white);
}

.trust-logo-name {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.trust-tagline {
  font-size: 0.92rem;
  color: var(--warm-grey);
  max-width: 520px;
  line-height: 1.65;
}

.trust-tagline strong {
  color: var(--teal);
}


/* ═══════════════════════════════════════════════
   4. CERTIFICATIONS
═══════════════════════════════════════════════ */
#certifications {
  background: var(--off-white);
  padding: var(--section-pad);
}

.certifications-header {
  max-width: 620px;
  margin-bottom: 3.5rem;
}

.certifications-header .section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--near-black);
  margin-bottom: 1rem;
}

.certifications-header p {
  font-size: 1rem;
  color: var(--warm-grey);
  line-height: 1.75;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: var(--white);
  border: 1px solid rgba(13,107,107,0.1);
  border-radius: 8px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,107,107,0.12);
  border-color: rgba(13,107,107,0.25);
}

.cert-card:hover::before {
  transform: scaleX(1);
}

.cert-icon {
  width: 44px;
  height: 44px;
  background: rgba(13,107,107,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cert-standard {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.cert-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--near-black);
  line-height: 1.3;
}

.cert-desc {
  font-size: 0.9rem;
  color: var(--warm-grey);
  line-height: 1.65;
  flex: 1;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal);
  margin-top: 0.5rem;
  transition: gap var(--ease), color var(--ease);
}

.cert-link:hover {
  gap: 0.6rem;
  color: var(--green);
}

.cert-link svg {
  transition: transform var(--ease);
}

.cert-link:hover svg {
  transform: translateX(3px);
}


/* ═══════════════════════════════════════════════
   5. HOW IT WORKS
═══════════════════════════════════════════════ */
#process {
  background: var(--teal);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

#process::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.process-header .section-label {
  color: var(--leaf);
}

.process-header .section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.process-header p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-bottom: 3rem;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.5), rgba(255,255,255,0.2));
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 0 0.5rem;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  flex-shrink: 0;
  transition: background var(--ease), border-color var(--ease);
}

.step-card:hover .step-number {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--near-black);
}

.step-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.25;
}

.step-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.process-footnote {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.process-cta {
  display: flex;
  justify-content: center;
}


/* ═══════════════════════════════════════════════
   6. TRAINING
═══════════════════════════════════════════════ */
#training {
  background: var(--off-white);
  padding: var(--section-pad);
}

.training-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.training-intro .section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--near-black);
  margin-bottom: 1.25rem;
}

.training-intro p {
  font-size: 1rem;
  color: var(--warm-grey);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.format-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.format-badge {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13,107,107,0.08);
  border: 1px solid rgba(13,107,107,0.2);
  border-radius: 3px;
  padding: 0.35rem 0.85rem;
}

.training-courses {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.course-card {
  background: var(--white);
  border: 1px solid rgba(13,107,107,0.1);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow var(--ease), border-left-color var(--ease);
}

.course-card:hover {
  box-shadow: 0 6px 24px rgba(13,107,107,0.1);
  border-left-color: var(--gold);
}

.course-level {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.course-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--near-black);
}

.course-desc {
  font-size: 0.9rem;
  color: var(--warm-grey);
  line-height: 1.65;
}

.training-cta {
  margin-top: 2rem;
}


/* ═══════════════════════════════════════════════
   7. ABOUT
═══════════════════════════════════════════════ */
#about {
  background: var(--near-black);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -25%; right: -5%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(13,107,107,0.18) 0%, transparent 70%);
  pointer-events: none;
}

#about::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -8%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,150,13,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: 1;
}

.about-header {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.about-header .section-label {
  color: var(--leaf);
}

.about-header .section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.about-header .section-heading em {
  font-style: italic;
  color: var(--leaf);
}

.about-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 620px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background var(--ease), border-color var(--ease);
}

.value-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(13,107,107,0.5);
}

.value-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.value-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════
   8. CONTACT / CTA
═══════════════════════════════════════════════ */
#contact {
  background: linear-gradient(145deg, var(--green) 0%, #128f58 100%);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -15%; right: -8%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-intro .section-label {
  color: rgba(255,255,255,0.7);
}

.contact-intro .section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.contact-intro p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--near-black);
  background: var(--off-white);
  border: 1.5px solid rgba(13,107,107,0.15);
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
  outline: none;
  width: 100%;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D6B6B' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,107,107,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

.form-submit .btn-gold {
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--warm-grey);
}


/* ═══════════════════════════════════════════════
   9. FOOTER
═══════════════════════════════════════════════ */
#footer {
  background: var(--near-black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.75rem 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-dot {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold);
}

.footer-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.65;
}

.footer-meta .divider { margin: 0 0.5rem; }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  transition: color var(--ease);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.75);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

/* Tablet: ≤ 900px */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .steps-grid::before {
    display: none;
  }

  .training-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Mobile: ≤ 640px */
@media (max-width: 640px) {
  :root {
    --section-pad: 3.5rem 1.25rem;
  }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--near-black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.65rem 1.5rem;
  }

  .nav-links .btn-gold {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  /* Hero */
  #hero {
    padding: 6rem 1.25rem 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Trust */
  .trust-logos {
    gap: 1.5rem 2rem;
  }

  /* Cert grid */
  .cert-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Form row */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
