/* ═══════════════════════════════════════════════════════
   YIXIANGS – MAIN STYLESHEET  v2.0
   Typography: Cormorant Garant (display) + DM Sans (body)
   Aesthetic: Authoritative luxury · industrial precision
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────── */
:root {
  /* Core Palette */
  --navy-deep:  #051828;
  --navy:       #0A2342;
  --navy-mid:   #0F3460;
  --navy-light: #163A6B;
  --gold:       #C49A20;
  --gold-light: #DFB840;
  --gold-pale:  #F5E6B0;
  --gold-dark:  #9A7510;

  /* Surfaces */
  --parchment:  #F7F4EF;
  --warm-white: #FDFCFA;
  --white:      #FFFFFF;
  --card-bg:    #FFFFFF;

  /* Text */
  --ink:        #1C2B3A;
  --ink-mid:    #3D5166;
  --ink-light:  #6B7A8D;
  --ink-faint:  #A0AEBB;

  /* Borders */
  --border:     #E8E3DA;
  --border-mid: #D4CEC3;

  /* Utility */
  --green:  #1A7A4A;
  --red:    #CC2222;

  /* Typography */
  --font-display: 'Cormorant Garant', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Geometry */
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(5,24,40,.06);
  --shadow-sm: 0 3px 12px rgba(5,24,40,.08);
  --shadow-md: 0 8px 28px rgba(5,24,40,.12);
  --shadow-lg: 0 16px 48px rgba(5,24,40,.16);
  --shadow-xl: 0 28px 72px rgba(5,24,40,.20);

  /* Motion */
  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-out:   cubic-bezier(0,0,.2,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --t-fast: .15s;
  --t-base: .25s;
  --t-slow: .4s;

  --container: 1280px;
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

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

/* ─── Typography ────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--navy);
}
h4, h5, h6 { font-family: var(--font-body); font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem);   font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem);   font-weight: 600; }
h4 { font-size: 1.05rem; }
p  { font-size: 1rem; color: var(--ink-mid); line-height: 1.75; }

/* ─── Section Rhythm ────────────────────────────────── */
.section    { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-xs { padding: 36px 0; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; color: var(--ink-light); }

/* ─── Label / Eyebrow ───────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-fast) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10,35,66,.28);
}
.btn-primary:hover { background: var(--navy-mid); box-shadow: 0 8px 28px rgba(10,35,66,.38); }

.btn-accent {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 16px rgba(196,154,32,.36);
}
.btn-accent:hover { background: var(--gold-light); box-shadow: 0 8px 28px rgba(196,154,32,.46); }

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: var(--white); box-shadow: 0 4px 16px rgba(10,35,66,.22); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--parchment); box-shadow: var(--shadow-lg); }

.btn-ghost {
  color: var(--ink-mid);
  border: 1.5px solid var(--border);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--parchment); }

.btn-sm  { padding: 9px 20px; font-size: .82rem; }
.btn-lg  { padding: 17px 40px; font-size: .97rem; }
.btn-nav { padding: 9px 22px; font-size: .85rem; border-radius: 6px; }
.btn i   { font-size: .85em; }

/* ─── Topbar ────────────────────────────────────────── */
.topbar {
  background: var(--navy-deep);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-left span,
.topbar-right a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .3px;
  color: rgba(255,255,255,.6);
  transition: color var(--t-fast);
}
.topbar-right a:hover { color: var(--gold-light); }
.topbar i { color: var(--gold); font-size: .72rem; }
.admin-link { font-weight: 700 !important; letter-spacing: .5px; }

/* ─── Navigation ────────────────────────────────────── */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253,252,250,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base) var(--ease);
}
.main-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--navy);
}
.logo-tag {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Nav Menu */
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-mid);
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--navy); background: var(--parchment); }

.nav-menu > li > a .fa-chevron-down { font-size: .6rem; transition: transform var(--t-base) var(--ease); }
.has-dropdown:hover > a .fa-chevron-down { transform: rotate(-180deg); }

/* Restores .btn inside nav from being overridden */
.nav-menu > li > a.btn {
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  padding: 9px 22px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 3px 14px rgba(10,35,66,.28);
}
.nav-menu > li > a.btn:hover {
  color: var(--white);
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(10,35,66,.36);
}
.nav-menu > li > a.btn-accent { background: var(--gold); color: var(--navy-deep); box-shadow: 0 3px 14px rgba(196,154,32,.36); }
.nav-menu > li > a.btn-accent:hover { background: var(--gold-light); color: var(--navy-deep); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 90vw;
  max-width: 1060px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 34px 24px 28px;   /* extra top padding replaces the old 6px gap */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity .22s var(--ease-out), visibility .22s var(--ease-out), transform .22s var(--ease-out);
  pointer-events: none;
}
.has-dropdown:hover .mega-menu,
.has-dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 230px;
  gap: 20px;
}
.mega-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: .84rem;
  color: var(--ink-mid);
  border-radius: 8px;
  transition: all var(--t-fast);
}
.mega-col a:hover { background: var(--parchment); color: var(--navy); padding-left: 16px; }
.mega-col a i { width: 16px; color: var(--gold); font-size: .78rem; }
.mega-col-cta .mega-cta-box {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  padding: 22px;
}
.mega-cta-box h4 {
  font-family: var(--font-body);
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mega-cta-box a { color: rgba(255,255,255,.72); }
.mega-cta-box a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.mega-cta-box a i { color: var(--gold); }
.mega-cta-box .btn-accent { margin-top: 12px; width: 100%; justify-content: center; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--t-base) var(--ease); }

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

/* Geometric grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,154,32,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,32,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Diagonal clip at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--warm-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Radial glow blobs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(196,154,32,.18) 0%, transparent 70%);
  top: -120px; right: 8%;
  animation: glow-drift 10s ease-in-out infinite;
}
.hero-glow-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(79,163,232,.12) 0%, transparent 70%);
  bottom: -80px; left: 4%;
  animation: glow-drift 13s ease-in-out infinite reverse;
}
@keyframes glow-drift { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }

/* Floating particles */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: .35;
  animation: particle-float linear infinite;
}
@keyframes particle-float { 0%{transform:translateY(100vh) scale(0);opacity:0} 10%{opacity:.35} 90%{opacity:.35} 100%{transform:translateY(-10vh) scale(1.5);opacity:0} }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 100px 0 140px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(196,154,32,.15);
  border: 1px solid rgba(196,154,32,.3);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.hero-badge::before { content:''; width:18px; height:1px; background:var(--gold); }

.hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero h1 span { color: var(--gold-light); }

.hero > .container > .hero-content > p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat {}
.hero-stat .stat-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
}
.hero-stat .stat-value span { color: var(--gold-light); }
.hero-stat .stat-label {
  font-size: .73rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
  font-weight: 600;
}

/* ─── Search Bar ────────────────────────────────────── */
.search-section {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}
.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.search-bar:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,35,66,.07);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-size: .95rem;
  color: var(--ink);
  background: transparent;
}
.search-bar input::placeholder { color: var(--ink-faint); }
.search-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }
.search-bar select {
  border: none;
  outline: none;
  padding: 18px 18px;
  font-size: .875rem;
  color: var(--ink-mid);
  background: transparent;
  cursor: pointer;
  min-width: 170px;
}
.search-bar button {
  background: var(--navy);
  color: var(--white);
  padding: 18px 30px;
  font-weight: 600;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--t-fast);
}
.search-bar button:hover { background: var(--gold); color: var(--navy-deep); }

/* ─── Trust Bar ─────────────────────────────────────── */
.trust-bar {
  background: var(--parchment);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ink-mid);
}
.trust-item i { color: var(--gold); font-size: .85rem; }

/* ─── Clients Bar ───────────────────────────────────── */
.clients-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.clients-label {
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
}
.client-logo-wrap {
  height: 90px;
  min-width: 160px;
  max-width: 240px;
  padding: 18px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .22s var(--ease);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.client-logo-wrap:hover {
  border-color: var(--border-mid);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.client-logo-wrap img {
  max-height: 54px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(15%);
  transition: filter .22s var(--ease);
}
.client-logo-wrap:hover img {
  filter: grayscale(0%);
}
.client-logo-fallback {
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink-mid);
  white-space: nowrap;
}

/* ─── Category Cards ────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base), border-color var(--t-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cat-color, var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); }
.cat-card:hover::before { transform: scaleX(1); }

.cat-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 18px;
  letter-spacing: -.04em;
  transition: color var(--t-base);
}
.cat-card:hover .cat-num { color: rgba(196,154,32,.2); }

.cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--cat-color, var(--navy)) 10%, transparent);
  color: var(--cat-color, var(--navy));
  font-size: 1.15rem;
  margin-bottom: 14px;
  transition: transform var(--t-base) var(--ease-spring);
}
.cat-card:hover .cat-icon { transform: scale(1.1) rotate(-5deg); }

.cat-card h4 { color: var(--navy); font-size: .95rem; margin-bottom: 4px; font-weight: 700; }
.cat-card p  { font-size: .78rem; color: var(--ink-light); margin: 0; line-height: 1.5; }
.cat-count {
  position: absolute;
  bottom: 16px; right: 16px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink-light);
  letter-spacing: .5px;
}

/* ─── Course Cards ──────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--border-mid); }

.course-card-header {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.course-card-header::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.13);
  color: rgba(255,255,255,.85);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 4px 11px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.course-card-header h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.course-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.course-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--ink-light);
}
.course-meta-item i { color: var(--gold); font-size: .72rem; }

.course-formats { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.format-tag {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: .3px;
  text-transform: uppercase;
  background: var(--parchment);
  color: var(--ink-mid);
  border: 1px solid var(--border);
}
.format-tag.classroom { background: rgba(10,35,66,.07); color: var(--navy); border-color: rgba(10,35,66,.12); }
.format-tag.online    { background: rgba(26,122,74,.07); color: var(--green); border-color: rgba(26,122,74,.15); }
.format-tag.inhouse   { background: rgba(196,154,32,.1); color: var(--gold-dark); border-color: rgba(196,154,32,.2); }
.format-tag.elearning { background: rgba(124,58,237,.07); color: #7c3aed; border-color: rgba(124,58,237,.15); }

/* Format tags on dark hero backgrounds */
.cd-hero .format-tag,
.course-hero .format-tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.18);
}
.cd-hero .format-tag.classroom,
.course-hero .format-tag.classroom { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.22); }
.cd-hero .format-tag.online,
.course-hero .format-tag.online    { background: rgba(22,163,74,.25); color: #86efac; border-color: rgba(22,163,74,.35); }
.cd-hero .format-tag.inhouse,
.course-hero .format-tag.inhouse   { background: rgba(196,154,32,.2); color: var(--gold-light); border-color: rgba(196,154,32,.32); }
.cd-hero .format-tag.elearning,
.course-hero .format-tag.elearning { background: rgba(124,58,237,.2); color: #c4b5fd; border-color: rgba(124,58,237,.3); }

.course-accred { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.accred-tag {
  font-size: .68rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--parchment);
  color: var(--navy);
  letter-spacing: .5px;
  border: 1px solid var(--border);
}

.course-pricing {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-from { font-size: .7rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1px; }
.price-value { font-size: 1.4rem; font-weight: 800; color: var(--navy); font-family: var(--font-display); letter-spacing: -.03em; line-height: 1; }
.price-value span { font-family: var(--font-body); font-size: .78rem; font-weight: 400; color: var(--ink-faint); }

.course-card-actions {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--parchment);
}
.course-card-actions .btn { flex: 1; justify-content: center; }

/* ─── Badges ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-featured       { background: var(--gold); color: var(--navy-deep); }
.badge-new            { background: var(--green); color: var(--white); }
.badge-level-foundation   { background: rgba(26,122,74,.1); color: var(--green); border: 1px solid rgba(26,122,74,.2); }
.badge-level-intermediate { background: rgba(196,154,32,.12); color: var(--gold-dark); border: 1px solid rgba(196,154,32,.22); }
.badge-level-advanced     { background: rgba(204,34,34,.08); color: var(--red); border: 1px solid rgba(204,34,34,.16); }

/* ─── Features / Why Section ────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(10,35,66,.22);
}
.feature-card h4 { margin-bottom: 10px; font-size: 1.02rem; }
.feature-card p  { font-size: .875rem; margin: 0; }

/* ─── Feature Card v2 (photo + gradient header) ─────── */
.feature-card-v2 {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-card-v2:hover { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(0,0,0,.15); }
.feature-card-v2:hover .fcv2-bg { transform: scale(1.06); }
.fcv2-head {
  height: 200px;
  background: linear-gradient(135deg, var(--c1, #0A2342), var(--c2, #1a5276));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fcv2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
  display: block;
}
.fcv2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--c1) 80%, transparent) 0%,
    color-mix(in srgb, var(--c2) 65%, transparent) 100%);
  z-index: 1;
}
.fcv2-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fcv2-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.95);
  background: rgba(0,0,0,.28);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.25);
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.fcv2-body { padding: 24px 24px 26px; }
.fcv2-body h4 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 9px; }
.fcv2-body p  { font-size: .875rem; color: var(--ink-mid); margin: 0; line-height: 1.68; }

/* ─── Stats Bar ─────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196,154,32,.1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(79,163,232,.07) 0%, transparent 55%);
}
/* Subtle diagonal stripes */
.stats-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px,
    transparent 1px, transparent 16px
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 0 32px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 56px;
  background: rgba(255,255,255,.12);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}
.stat-number span { color: var(--gold-light); }
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.stat-divider { display: none; }

/* ─── Training Formats ──────────────────────────────── */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.format-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.format-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--format-color, var(--navy));
}
.format-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.format-card-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  background: var(--format-color, var(--navy));
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
  transition: transform var(--t-base) var(--ease-spring);
}
.format-card:hover .format-card-icon { transform: scale(1.08) rotate(-4deg); }
.format-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.format-card p  { font-size: .875rem; margin-bottom: 22px; }

/* ─── Testimonials ──────────────────────────────────── */
.testimonials { background: var(--parchment); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold-pale);
  position: absolute;
  top: 8px; left: 22px;
  line-height: .8;
  pointer-events: none;
}

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-stars i { color: var(--gold); font-size: .82rem; }
.testimonial-text {
  font-size: .925rem;
  color: var(--ink-mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info .name { font-weight: 700; color: var(--navy); font-size: .875rem; }
.author-info .role { font-size: .78rem; color: var(--ink-light); margin-top: 2px; }

/* ─── Locations ─────────────────────────────────────── */
.locations-map {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.locations-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,154,32,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,32,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.locations-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  max-width: 860px;
  margin: 28px auto 0;
  position: relative;
  z-index: 1;
}
.location-tag {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 16px;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 500;
  transition: all var(--t-base);
  cursor: default;
}
.location-tag:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

/* ─── CTA Section ───────────────────────────────────── */
.cta-section {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(196,154,32,.025) 0, rgba(196,154,32,.025) 1px,
    transparent 1px, transparent 20px
  );
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); }
.cta-section p  { color: rgba(255,255,255,.7); font-size: 1.05rem; margin: 16px auto 36px; max-width: 520px; }
.cta-section .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Page Heroes ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 76px 0;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,154,32,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,32,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* Catalog hero */
.catalog-header {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 72px 0 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.catalog-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 18px);
}
.catalog-header > .container { position: relative; z-index: 1; }
.catalog-header h1 { color: var(--white); margin-bottom: 10px; }
.catalog-header p  { color: rgba(255,255,255,.7); max-width: 520px; }

/* ─── Catalog Layout ────────────────────────────────── */
.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  align-items: start;
  padding: 52px 0;
}
.filter-sidebar {
  position: sticky;
  top: 82px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 26px;
  box-shadow: var(--shadow-xs);
}
.filter-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-section h5 {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  font-size: .84rem;
  color: var(--ink-mid);
}
.filter-option:hover,
.filter-option.active { background: var(--parchment); color: var(--navy); }
.filter-option.active { font-weight: 700; }
.filter-count {
  background: var(--parchment);
  color: var(--ink-light);
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}
.filter-option.active .filter-count { background: var(--navy); color: var(--white); }

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-size: .875rem; color: var(--ink-light); }
.results-count strong { color: var(--navy); font-weight: 700; }

.sort-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .84rem;
  color: var(--ink-mid);
  outline: none;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.sort-select:focus { border-color: var(--navy); }

.no-results {
  text-align: center;
  padding: 72px 32px;
  background: var(--parchment);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.no-results i { font-size: 2.6rem; color: var(--ink-faint); margin-bottom: 14px; display: block; }

.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: .3px;
}
.active-filter-tag button { color: rgba(255,255,255,.65); font-size: .72rem; }
.active-filter-tag button:hover { color: var(--white); }

/* ─── Course Detail v2 (cd-*) ───────────────────────── */
.cd-hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, #0d2d52 55%, var(--navy) 100%);
  padding: 64px 0 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cd-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(196,154,32,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(10,35,66,.6) 0%, transparent 60%);
  pointer-events: none;
}
.cd-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,154,32,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,32,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.cd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 32px;
}
.cd-breadcrumb a { color: rgba(255,255,255,.45); transition: color var(--t-fast); }
.cd-breadcrumb a:hover { color: var(--gold-light); }
.cd-breadcrumb i { font-size: .5rem; }
.cd-breadcrumb span { color: var(--gold-light); }
.cd-hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding-bottom: 64px;
}
.cd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.cd-badge-featured { background: var(--gold); color: var(--navy-deep); }
.cd-badge-level { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.2); }
.cd-badge-accred { background: rgba(196,154,32,.15); color: var(--gold-light); border: 1px solid rgba(196,154,32,.25); }
.cd-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.cd-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
  margin-bottom: 28px;
  max-width: 640px;
}
.cd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.cd-meta-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 10px 16px;
  backdrop-filter: blur(4px);
}
.cd-meta-pill i { color: var(--gold-light); font-size: 1rem; flex-shrink: 0; }
.cd-meta-pill div { display: flex; flex-direction: column; }
.cd-meta-val { font-size: .875rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.cd-meta-key { font-size: .68rem; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.45); }
.cd-formats-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Booking card in hero */
.cd-booking-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(5,24,40,.4), 0 6px 20px rgba(5,24,40,.18);
  position: sticky;
  top: 88px;
  z-index: 10;
  /* Reset inherited white color from .cd-hero */
  color: var(--ink);
}
.cd-booking-top {
  background: linear-gradient(145deg, #0A2342 0%, #0F3460 100%);
  padding: 28px 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cd-booking-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(196,154,32,.22) 0%, transparent 65%);
  pointer-events: none;
}
.cd-booking-top::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,154,32,.4), transparent);
}
.cd-booking-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
  position: relative;
}
.cd-booking-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -.04em;
  line-height: 1;
  position: relative;
}
.cd-booking-sub {
  font-size: .73rem;
  color: rgba(255,255,255,.45);
  margin-top: 8px;
  position: relative;
}
.cd-booking-body {
  padding: 22px 24px 24px;
  background: var(--white);
  /* Ensure all text inside is readable */
  color: var(--ink);
}
.cd-booking-section-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.cd-fmt-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--t-fast);
  background: var(--white);
  position: relative;
}
.cd-fmt-option:hover {
  border-color: var(--navy-mid);
  background: var(--parchment);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(10,35,66,.08);
}
.cd-fmt-option.active {
  border-color: var(--navy);
  background: rgba(10,35,66,.03);
  box-shadow: 0 0 0 3px rgba(10,35,66,.08), 0 2px 8px rgba(10,35,66,.1);
}
.cd-fmt-option.active::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 10px; right: 12px;
  font-size: .6rem;
  color: var(--white);
  background: var(--navy);
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 16px;
  text-align: center;
}
.cd-fmt-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.cd-fmt-info { flex: 1; min-width: 0; }
.cd-fmt-name { font-size: .85rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.cd-fmt-desc { font-size: .72rem; color: var(--gray-400); margin-top: 1px; }
.cd-fmt-price { font-size: .9rem; font-weight: 800; color: var(--navy); white-space: nowrap; padding-right: 4px; }
.cd-fmt-option.active .cd-fmt-price { padding-right: 22px; }

/* CTA buttons inside card */
.cd-booking-body .btn-accent {
  color: var(--navy-deep) !important;
  font-weight: 700;
}
.cd-booking-body .btn-outline {
  color: var(--navy) !important;
  border-color: var(--navy) !important;
  background: transparent !important;
}
.cd-booking-body .btn-outline:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
}

.cd-booking-trust {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.cd-booking-trust div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  color: var(--gray-600);
  font-weight: 500;
}
.cd-booking-trust i { color: var(--gold-dark); font-size: .75rem; width: 12px; }

/* Tab nav strip */
.cd-tab-nav {
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 72px;
  z-index: 90;
}
.cd-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cd-tabs::-webkit-scrollbar { display: none; }
.cd-tab {
  display: block;
  padding: 14px 22px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: all var(--t-fast);
  text-decoration: none;
}
.cd-tab:hover { color: rgba(255,255,255,.85); }
.cd-tab.active { color: var(--gold-light); border-bottom-color: var(--gold-light); }

/* Layout */
.cd-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 52px;
  padding: 52px 0 80px;
  align-items: start;
}
.cd-main { min-width: 0; }

/* Section blocks */
.cd-section { margin-bottom: 56px; scroll-margin-top: 140px; }
.cd-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cd-section-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.cd-section-title {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.cd-section-sub { font-size: .82rem; color: var(--gray-400); margin: 0; }
.cd-body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 16px;
}

/* Objective box */
.cd-objective-box {
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg, var(--parchment) 0%, rgba(196,154,32,.06) 100%);
  border: 1px solid rgba(196,154,32,.2);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.cd-objective-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(196,154,32,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); font-size: 1.1rem;
}
.cd-objective-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.cd-objective-box p { font-size: .9rem; line-height: 1.7; color: var(--gray-700); margin: 0; }

/* Stats strip */
.cd-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.cd-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cd-stat i { color: var(--navy); font-size: .95rem; width: 18px; text-align: center; }
.cd-stat div { display: flex; flex-direction: column; }
.cd-stat strong { font-size: .88rem; font-weight: 700; color: var(--navy); }
.cd-stat span { font-size: .72rem; color: var(--gray-400); }

/* Outcomes */
.cd-outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cd-outcome-item {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: all var(--t-fast);
}
.cd-outcome-item:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cd-outcome-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.cd-outcome-item p { font-size: .875rem; line-height: 1.6; color: var(--gray-700); margin: 0; }

/* Journey bar */
.cd-journey-bar {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
}
.cd-journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0 8px;
  transition: all var(--t-fast);
}
.cd-journey-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: all var(--t-fast);
}
.cd-journey-step:hover .cd-journey-dot,
.cd-journey-step.active .cd-journey-dot {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.cd-journey-label { font-size: .68rem; color: var(--gray-400); text-align: center; line-height: 1.3; max-width: 52px; }
.cd-journey-step.active .cd-journey-label { color: var(--navy); font-weight: 600; }
.cd-journey-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: 17px;
  min-width: 24px;
}

/* Day cards */
.cd-outline-list { display: flex; flex-direction: column; gap: 10px; }
.cd-day-card {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.cd-day-card.open { border-color: var(--navy); box-shadow: 0 4px 24px rgba(10,35,66,.1); }
.cd-day-header {
  display: grid;
  grid-template-columns: 52px 1fr auto 28px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--white);
  transition: background var(--t-fast);
}
.cd-day-card.open .cd-day-header { background: var(--navy); }
.cd-day-num {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  white-space: nowrap;
}
.cd-day-card.open .cd-day-num { color: var(--gold-light); }
.cd-day-title { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.cd-day-card.open .cd-day-title { color: var(--white); }
.cd-day-objective { font-size: .78rem; color: var(--gray-400); margin: 0; line-height: 1.4; }
.cd-day-card.open .cd-day-objective { color: rgba(255,255,255,.6); }
.cd-day-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .73rem;
  color: var(--gray-400);
  text-align: right;
  white-space: nowrap;
}
.cd-day-meta i { margin-right: 4px; }
.cd-day-card.open .cd-day-meta { color: rgba(255,255,255,.6); }
.cd-day-toggle i {
  font-size: .75rem;
  color: var(--gray-400);
  transition: transform var(--t-fast);
}
.cd-day-card.open .cd-day-toggle i { transform: rotate(180deg); color: var(--gold-light); }
.cd-day-body {
  display: none;
  padding: 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--border);
}
.cd-day-card.open .cd-day-body { display: block; }

/* Modules */
.cd-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.cd-module {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.cd-module-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(10,35,66,.03) 0%, transparent 100%);
}
.cd-module-num {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gold-dark);
  margin-bottom: 3px;
}
.cd-module-title { font-size: .85rem; font-weight: 700; color: var(--navy); margin: 0; }
.cd-topic-list {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cd-topic-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.4;
}
.cd-topic-list li i { color: var(--gold-dark); margin-top: 3px; font-size: .65rem; flex-shrink: 0; }

/* Workshop callout */
.cd-workshop-callout {
  display: flex;
  gap: 14px;
  background: linear-gradient(135deg, rgba(10,35,66,.05) 0%, rgba(196,154,32,.06) 100%);
  border: 1px solid rgba(196,154,32,.2);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 16px;
}
.cd-workshop-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(196,154,32,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
}
.cd-workshop-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--gold-dark); margin-bottom: 5px; }
.cd-workshop-callout p { font-size: .84rem; line-height: 1.6; color: var(--gray-700); margin: 0; }
.cd-outline-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: 18px;
  font-style: italic;
}
.cd-outline-note i { color: var(--gray-300); }

/* Audience */
.cd-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.cd-audience-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: all var(--t-fast);
}
.cd-audience-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cd-audience-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: .9rem;
}
.cd-audience-card h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cd-audience-card p { font-size: .8rem; color: var(--gray-500); margin: 0; line-height: 1.5; }

/* Schedule */
.cd-schedule-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cd-schedule-row {
  display: grid;
  grid-template-columns: 52px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all var(--t-fast);
}
.cd-schedule-row:hover { border-color: var(--navy-mid); box-shadow: var(--shadow-sm); }
.cd-schedule-date {
  background: var(--navy);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}
.cd-sched-month { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-light); }
.cd-sched-day { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); line-height: 1; }
.cd-sched-range { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cd-sched-location { font-size: .78rem; color: var(--gray-400); display: flex; align-items: center; gap: 5px; }
.cd-sched-location i { color: var(--gold-dark); }
.cd-sched-tags { display: flex; flex-direction: column; gap: 5px; }
.cd-sched-format { font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; background: var(--gray-100); color: var(--gray-600); white-space: nowrap; }
.cd-sched-urgency { font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; white-space: nowrap; }
.cd-urgency-urgent { background: #fef2f2; color: #dc2626; }
.cd-urgency-low { background: #fff7ed; color: #d97706; }
.cd-urgency-available { background: #f0fdf4; color: #16a34a; }
.cd-sched-amount { font-size: 1rem; font-weight: 800; color: var(--navy); }
.cd-sched-pp { font-size: .7rem; color: var(--gray-400); }
.cd-schedule-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 28px;
}
.cd-schedule-note i { color: var(--navy); margin-top: 2px; flex-shrink: 0; }
.cd-schedule-note a { color: var(--navy); font-weight: 600; }

/* Pricing table */
.cd-pricing-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.cd-pricing-header {
  background: var(--navy);
  padding: 20px 24px;
}
.cd-pricing-header h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.cd-pricing-header p { color: rgba(255,255,255,.55); font-size: .8rem; margin: 0; }
.cd-pricing-rows { background: var(--white); }
.cd-pricing-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.cd-pricing-row:last-child { border-bottom: none; }
.cd-pricing-fmt { font-size: .875rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.cd-pricing-fmt i { color: var(--gold-dark); }
.cd-pricing-includes { font-size: .8rem; color: var(--gray-500); }
.cd-price-amount { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.cd-pricing-footer {
  background: var(--gray-50);
  padding: 12px 24px;
  font-size: .8rem;
  color: var(--gray-500);
  border-top: 1px solid var(--border);
}
.cd-pricing-footer i { color: var(--gold-dark); margin-right: 4px; }
.cd-pricing-footer a { color: var(--navy); font-weight: 600; }

/* Accreditation strip */
.cd-accred-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.cd-accred-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px 28px;
  min-width: 110px;
  transition: all var(--t-fast);
}
.cd-accred-badge:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(196,154,32,.15); }
.cd-accred-badge i { font-size: 1.4rem; color: var(--gold-dark); }
.cd-accred-badge span:first-of-type { font-size: .95rem; font-weight: 800; color: var(--navy); }
.cd-accred-sub { font-size: .68rem; text-transform: uppercase; letter-spacing: .6px; color: var(--gray-400); }

/* Resources */
.cd-resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cd-resource-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  transition: all var(--t-fast);
}
.cd-resource-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cd-resource-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.cd-resource-info h4 { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.cd-resource-info p { font-size: .76rem; color: var(--gray-400); margin: 0; }
.cd-resource-arrow { margin-left: auto; color: var(--gray-300); font-size: .8rem; transition: transform var(--t-fast); }
.cd-resource-card:hover .cd-resource-arrow { transform: translateX(3px); color: var(--navy); }

/* Sidebar */
.cd-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 140px; }
.cd-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.cd-sb-heading { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.cd-sb-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cd-sb-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--gray-400); }
.cd-sb-price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.cd-sb-formats { display: flex; flex-wrap: wrap; gap: 6px; }

.cd-related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  text-decoration: none;
  transition: all var(--t-fast);
}
.cd-related-item:hover { border-color: var(--navy); background: var(--parchment); }
.cd-related-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: .8rem;
}
.cd-related-title { font-size: .82rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.cd-related-meta { font-size: .73rem; color: var(--gray-400); }
.cd-related-arrow { margin-left: auto; color: var(--gray-300); font-size: .75rem; }

.cd-advisor-card { background: linear-gradient(145deg, var(--navy-deep), var(--navy)); color: var(--white); }
.cd-advisor-avatar {
  width: 52px; height: 52px;
  background: rgba(196,154,32,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1.4rem;
  margin-bottom: 14px;
}
.cd-advisor-card h4 { color: var(--white); margin-bottom: 8px; }
.cd-advisor-card p { color: rgba(255,255,255,.65); font-size: .82rem; margin-bottom: 18px; line-height: 1.6; }
.cd-advisor-contact {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cd-advisor-contact div { font-size: .78rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 7px; }
.cd-advisor-contact i { color: var(--gold-light); }

/* ─── Course Detail v1 legacy (keep for now) ─────────── */
.course-hero {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 76px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(196,154,32,.02) 0, rgba(196,154,32,.02) 1px, transparent 1px, transparent 22px);
}
.course-hero > .container { position: relative; z-index: 1; }
.course-hero-inner {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 52px;
  align-items: start;
}
.course-hero-content .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 18px;
}
.course-hero-content .breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--t-fast); }
.course-hero-content .breadcrumb a:hover { color: var(--gold-light); }
.course-hero-content .breadcrumb i { font-size: .56rem; }
.course-hero-content h1 { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.course-hero-content > p { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 22px; }
.course-meta-hero { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.course-meta-item-lg {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: rgba(255,255,255,.7);
}
.course-meta-item-lg i { color: var(--gold-light); }

/* Booking card */
.course-booking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: 82px;
  border: 1px solid var(--border);
}
.booking-card-header {
  background: linear-gradient(145deg, var(--gold-dark) 0%, var(--gold) 100%);
  padding: 26px;
  text-align: center;
}
.booking-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--navy-deep); letter-spacing: -.04em; line-height: 1; }
.booking-price-label { font-size: .75rem; color: rgba(10,35,66,.65); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.booking-card-body { padding: 26px; }
.booking-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.booking-option:hover { border-color: var(--navy); background: var(--parchment); }
.booking-option.selected { border-color: var(--navy); background: rgba(10,35,66,.04); }
.booking-option-label { font-size: .84rem; font-weight: 700; color: var(--navy); }
.booking-option-price { font-size: .84rem; font-weight: 700; color: var(--ink-mid); }

.course-detail-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 52px;
  padding: 52px 0;
  align-items: start;
}
.course-section { margin-bottom: 40px; }
.course-section h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.outcomes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.outcome-item { display: flex; align-items: flex-start; gap: 9px; font-size: .875rem; }
.outcome-item i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* ─── About / Static Pages ──────────────────────────── */
/* Accreditation logo grid */
.accred-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 16px;
}
.accred-logo-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 16px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: default;
  position: relative;
}
.accred-logo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accred-color);
  border-radius: 16px 16px 0 0;
}
.accred-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  border-color: var(--accred-color);
}
.accred-logo-img-wrap {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 4px 8px;
  overflow: hidden;
}
.accred-logo-img-wrap img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.accred-logo-fallback {
  font-size: 1.6rem;
  align-items: center;
  justify-content: center;
}
.accred-logo-name {
  font-size: .72rem;
  color: var(--ink-light);
  line-height: 1.45;
  text-align: center;
  min-height: 2.9em;
  margin-bottom: 10px;
}
.accred-logo-label {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--accred-color);
  background: var(--accred-bg, #f0f4ff);
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .accred-logo-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image-placeholder {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(196,154,32,.04) 0, rgba(196,154,32,.04) 1px, transparent 1px, transparent 18px);
}
.about-badge-float {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 18px 22px;
  border-radius: var(--radius);
  font-weight: 900;
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -.04em;
  box-shadow: var(--shadow-lg);
  text-align: center;
  line-height: 1.1;
  z-index: 1;
}
.about-badge-float small { font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; display: block; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.5rem;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(10,35,66,.22);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; }
.service-card p  { font-size: .875rem; margin-bottom: 22px; }

/* ─── Contact v2 (ct-*) ─────────────────────────────── */

/* Hero */
.ct-hero {
  position: relative;
  background: linear-gradient(145deg, var(--navy-deep) 0%, #0d2d52 60%, var(--navy) 100%);
  overflow: hidden;
  padding: 88px 0 72px;
  color: var(--white);
}
.ct-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(196,154,32,.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(10,35,66,.5) 0%, transparent 55%);
  pointer-events: none;
}
.ct-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,154,32,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,32,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.ct-hero-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: .35;
}
.ct-glow-1 { width: 500px; height: 500px; background: rgba(196,154,32,.18); top: -200px; right: -100px; }
.ct-glow-2 { width: 380px; height: 380px; background: rgba(15,52,96,.8); bottom: -150px; left: 10%; }
.ct-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
.ct-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .4px;
  color: rgba(255,255,255,.55); margin-bottom: 20px;
}
.ct-label-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  flex-shrink: 0;
  animation: ct-pulse 2s ease infinite;
}
@keyframes ct-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,.08); }
}
.ct-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--white);
}
.ct-hero-title span { color: var(--gold-light); }
.ct-hero-lead {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,.68); margin-bottom: 32px; max-width: 540px;
}
.ct-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px; padding: 7px 15px;
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.75);
  backdrop-filter: blur(4px);
}
.ct-chip i { color: var(--gold-light); font-size: .8rem; }

/* Quick-contact cards in hero */
.ct-hero-cards { display: flex; flex-direction: column; gap: 12px; }
.ct-quick-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 16px 18px;
  text-decoration: none; color: var(--white);
  backdrop-filter: blur(8px);
  transition: all var(--t-fast);
}
.ct-quick-card:hover { background: rgba(255,255,255,.13); transform: translateX(4px); border-color: rgba(255,255,255,.22); }
.ct-qc-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.ct-card-wa .ct-qc-icon  { background: rgba(37,211,102,.2); color: #25d366; }
.ct-card-email .ct-qc-icon { background: rgba(196,154,32,.2); color: var(--gold-light); }
.ct-card-phone .ct-qc-icon { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.ct-qc-label { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.45); }
.ct-qc-value { font-size: .9rem; font-weight: 600; color: var(--white); margin-top: 2px; }
.ct-qc-arrow { margin-left: auto; font-size: .8rem; color: rgba(255,255,255,.3); transition: all var(--t-fast); }
.ct-quick-card:hover .ct-qc-arrow { color: rgba(255,255,255,.7); transform: translateX(3px); }

/* Page body */
.ct-body { background: var(--gray-50); padding: 64px 0 80px; }
.ct-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: start;
}

/* Info panels */
.ct-info { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.ct-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.ct-panel-title {
  font-family: var(--font-body);
  font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .7px;
  color: var(--gray-400); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.ct-panel-title i { color: var(--navy); }

/* Timeline */
.ct-timeline { display: flex; flex-direction: column; gap: 0; }
.ct-tl-item {
  display: flex; gap: 14px;
  padding-bottom: 20px; position: relative;
}
.ct-tl-item:last-child { padding-bottom: 0; }
.ct-tl-item::before {
  content: ''; position: absolute;
  left: 15px; top: 32px; bottom: 0;
  width: 1.5px; background: var(--border);
}
.ct-tl-item:last-child::before { display: none; }
.ct-tl-dot {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
  z-index: 1;
}
.ct-tl-label { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.ct-tl-desc { font-size: .78rem; color: var(--gray-500); line-height: 1.5; }

/* Address block */
.ct-address-block {
  display: flex; gap: 12px; margin-bottom: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}
.ct-address-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(10,35,66,.07); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: .9rem;
}
.ct-address-name { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.ct-address-line { font-size: .78rem; color: var(--gray-500); line-height: 1.55; }

/* Hours */
.ct-hours { display: flex; flex-direction: column; gap: 8px; }
.ct-hours-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: var(--gray-600);
}
.ct-hours-row i { color: var(--navy); margin-right: 6px; }
.ct-hours-time { font-weight: 600; color: var(--navy); }
.ct-hours-closed .ct-hours-time { color: var(--gray-400); }

/* Connect panel */
.ct-panel-connect {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  border: none;
}
.ct-panel-connect .ct-panel-title i { color: var(--gold-light); }
.ct-connect-btn {
  display: flex; align-items: center; gap: 12px;
  border-radius: 11px; padding: 13px 16px;
  margin-bottom: 8px; text-decoration: none;
  transition: all var(--t-fast); cursor: pointer;
}
.ct-connect-btn:last-child { margin-bottom: 0; }
.ct-connect-btn i { font-size: 1.2rem; flex-shrink: 0; width: 22px; text-align: center; }
.ct-btn-wa  { background: rgba(37,211,102,.15); color: #86efac; }
.ct-btn-wa:hover  { background: rgba(37,211,102,.25); }
.ct-btn-wc  { background: rgba(7,193,96,.12); color: #6ee7b7; }
.ct-btn-email { background: rgba(196,154,32,.15); color: var(--gold-light); }
.ct-btn-email:hover { background: rgba(196,154,32,.25); }
.ct-cbtn-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: .6; }
.ct-cbtn-val   { font-size: .82rem; font-weight: 600; }

/* Form column */
.ct-form-col { display: flex; flex-direction: column; gap: 14px; }
.ct-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 8px 40px rgba(10,35,66,.08);
}
.ct-form-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px; gap: 16px;
}
.ct-form-title { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.ct-form-sub { font-size: .85rem; color: var(--gray-400); margin: 0; }
.ct-response-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f0fdf4; color: #16a34a;
  border: 1px solid #bbf7d0; border-radius: 50px;
  padding: 6px 14px; font-size: .72rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.ct-response-badge i { font-size: .7rem; }

/* Enquiry type tabs */
.ct-enq-types {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.ct-enq-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent; color: var(--gray-500);
  font-size: .78rem; font-weight: 600; cursor: pointer;
  transition: all var(--t-fast);
}
.ct-enq-btn:hover { border-color: var(--navy); color: var(--navy); background: rgba(10,35,66,.04); }
.ct-enq-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ct-enq-btn i { font-size: .8rem; }

/* Error box */
.ct-error-box {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 12px; padding: 16px; margin-bottom: 24px;
  color: #dc2626; font-size: .85rem;
}
.ct-error-box i { font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.ct-error-box ul { margin: 6px 0 0 16px; }

/* Form fields */
.ct-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.ct-field { margin-bottom: 16px; }
.ct-field:last-child { margin-bottom: 0; }
.ct-field-grid .ct-field { margin-bottom: 0; }
.ct-field label {
  display: block;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--navy-mid); margin-bottom: 8px;
}
.ct-req { color: var(--gold-dark); }
.ct-input-wrap {
  position: relative; display: flex; align-items: center;
}
.ct-fi {
  position: absolute; left: 15px;
  color: var(--gray-300); font-size: .85rem;
  pointer-events: none; transition: color var(--t-fast);
}
.ct-input-wrap input,
.ct-input-wrap select {
  width: 100%; padding: 13px 16px 13px 42px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  font-size: .9rem; color: var(--ink);
  background: var(--gray-50);
  transition: all var(--t-fast); outline: none;
  appearance: none;
}
.ct-input-wrap input:focus,
.ct-input-wrap select:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,35,66,.08);
}
.ct-input-wrap input:focus ~ .ct-fi,
.ct-input-wrap:focus-within .ct-fi { color: var(--navy); }
.ct-select-wrap .ct-select-arrow {
  position: absolute; right: 14px;
  color: var(--gray-400); font-size: .72rem;
  pointer-events: none;
}
.ct-textarea-wrap { position: relative; }
.ct-textarea-wrap textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  font-size: .9rem; color: var(--ink);
  background: var(--gray-50);
  resize: vertical; min-height: 130px;
  transition: all var(--t-fast); outline: none;
  font-family: var(--font-body);
}
.ct-textarea-wrap textarea:focus {
  border-color: var(--navy); background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,35,66,.08);
}
.ct-char-count {
  position: absolute; bottom: 10px; right: 14px;
  font-size: .7rem; color: var(--gray-300);
  pointer-events: none;
}

/* Submit button */
.ct-submit-btn {
  width: 100%; margin-top: 24px;
  padding: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all var(--t-fast);
  box-shadow: 0 4px 20px rgba(10,35,66,.28);
}
.ct-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(10,35,66,.36); }
.ct-submit-btn:active { transform: translateY(0); }
.ct-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.ct-privacy {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .75rem; color: var(--gray-400); margin-top: 14px; line-height: 1.5;
}
.ct-privacy i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

/* Alt strip below form */
.ct-alt-strip {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 22px;
}
.ct-alt-strip span { font-size: .82rem; color: var(--gray-400); margin-right: 4px; }
.ct-alt-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 50px;
  font-size: .78rem; font-weight: 700; text-decoration: none;
  transition: all var(--t-fast);
}
.ct-alt-wa  { background: rgba(37,211,102,.1); color: #16a34a; border: 1px solid rgba(37,211,102,.25); }
.ct-alt-em  { background: rgba(10,35,66,.06); color: var(--navy); border: 1px solid rgba(10,35,66,.12); }
.ct-alt-ph  { background: rgba(196,154,32,.08); color: var(--gold-dark); border: 1px solid rgba(196,154,32,.2); }
.ct-alt-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Success card */
.ct-success-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 60px 40px;
  text-align: center; box-shadow: 0 8px 40px rgba(10,35,66,.08);
}
.ct-success-icon {
  width: 80px; height: 80px; margin: 0 auto 28px;
  color: #16a34a;
}
.ct-check-circle { stroke-dasharray: 157; stroke-dashoffset: 157; animation: ct-circle .6s ease forwards; }
.ct-check-tick   { stroke-dasharray: 36; stroke-dashoffset: 36; animation: ct-tick .4s .55s ease forwards; }
@keyframes ct-circle { to { stroke-dashoffset: 0; } }
@keyframes ct-tick   { to { stroke-dashoffset: 0; } }
.ct-success-card h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 12px; }
.ct-success-card p  { font-size: .95rem; color: var(--gray-600); line-height: 1.7; max-width: 440px; margin: 0 auto 28px; }
.ct-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.ct-success-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.2);
  border-radius: 50px; padding: 8px 18px;
  font-size: .8rem; color: var(--gray-600);
}
.ct-success-note i { color: #25d366; font-size: 1rem; }
.ct-success-note a { color: var(--navy); font-weight: 700; }

/* Why section */
.ct-why { background: var(--parchment); padding: 80px 0; }
.ct-why-header { text-align: center; margin-bottom: 52px; }
.ct-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ct-why-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: all var(--t-fast);
}
.ct-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-mid); }
.ct-why-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1.1rem; margin-bottom: 18px;
}
.ct-why-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.ct-why-card p  { font-size: .82rem; color: var(--gray-500); line-height: 1.65; margin: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .ct-hero-inner { grid-template-columns: 1fr 320px; gap: 40px; }
  .ct-layout { grid-template-columns: 280px 1fr; }
}
@media (max-width: 860px) {
  .ct-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .ct-hero-cards { flex-direction: row; flex-wrap: wrap; }
  .ct-quick-card { flex: 1; min-width: 200px; }
  .ct-layout { grid-template-columns: 1fr; }
  .ct-info { position: static; }
  .ct-why-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-form-card { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .ct-field-grid { grid-template-columns: 1fr; }
  .ct-why-grid { grid-template-columns: 1fr; }
  .ct-form-header { flex-direction: column; gap: 12px; }
  .ct-hero-chips { gap: 8px; }
  .ct-success-actions { flex-direction: column; }
}

/* ─── Contact v1 legacy ──────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
  padding: 72px 0;
}
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .925rem;
  color: var(--ink);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
  background: var(--warm-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,35,66,.07);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.contact-info-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-content h5 { color: var(--navy); margin-bottom: 3px; font-size: .9rem; }
.contact-info-content p  { font-size: .84rem; margin: 0; }

/* ─── Footer ────────────────────────────────────────── */
.main-footer { background: var(--navy-deep); }
.footer-top { padding: 72px 0 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 14px;
  text-decoration: none;
  display: block;
}
.footer-brand > a > .footer-logo { display: block; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .84rem; line-height: 1.7; margin-bottom: 22px; }

.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--t-base);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); transform: translateY(-2px); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col h4::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }

.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,.48);
  font-size: .84rem;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-col ul li a i { font-size: .72rem; color: var(--gold-dark); width: 13px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.48);
  font-size: .84rem;
  margin-bottom: 12px;
}
.footer-contact li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; width: 15px; }
.footer-contact li a { color: rgba(255,255,255,.48); transition: color var(--t-fast); }
.footer-contact li a:hover { color: var(--gold-light); }

.footer-accred { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.accred-badge {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: .66rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 3px;
  letter-spacing: .8px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.1);
}

.footer-newsletter h5 {
  color: rgba(255,255,255,.72);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  margin-top: 22px;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.newsletter-form {
  display: flex;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 14px;
  font-size: .84rem;
  color: var(--white);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form button {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 11px 16px;
  font-size: .875rem;
  font-weight: 700;
  transition: background var(--t-fast);
}
.newsletter-form button:hover { background: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.32); font-size: .76rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.32); font-size: .76rem; transition: color var(--t-fast); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ─── Back to Top ───────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .875rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t-base) var(--ease);
  border: 1px solid rgba(255,255,255,.1);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }

/* ─── Pagination ────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.page-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .84rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--ink-mid);
  transition: all var(--t-fast);
}
.page-btn:hover, .page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ─── Tabs ──────────────────────────────────────────── */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.tab-btn {
  padding: 11px 22px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--t-fast);
  border-radius: 8px 8px 0 0;
}
.tab-btn:hover { color: var(--navy); background: var(--parchment); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); background: transparent; }

/* ─── Alerts ────────────────────────────────────────── */
.alert {
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.alert-success { background: rgba(26,122,74,.08); color: var(--green); border: 1px solid rgba(26,122,74,.18); }
.alert-error   { background: rgba(204,34,34,.07); color: var(--red);   border: 1px solid rgba(204,34,34,.16); }

/* ─── Spinner & Skeleton ────────────────────────────── */
.spinner {
  width: 38px; height: 38px;
  border: 3px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .75s linear infinite;
  margin: 36px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton {
  background: linear-gradient(90deg, var(--parchment) 25%, var(--border) 50%, var(--parchment) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 7px;
}
@keyframes skeleton-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ─── Utility ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--ink-faint); }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }
.bg-navy     { background: var(--navy); color: var(--white); }
.bg-parchment{ background: var(--parchment); }
.bg-gray     { background: var(--parchment); }
.w-100       { width: 100%; }
.hidden      { display: none !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.flex-wrap { flex-wrap: wrap; }
.relative { position: relative; }

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .catalog-layout { grid-template-columns: 240px 1fr; }
}
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
  .course-hero-inner,
  .course-detail-layout { grid-template-columns: 1fr; }
  .course-booking-card { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  /* cd-* responsive */
  .cd-hero-layout { grid-template-columns: 1fr; }
  .cd-booking-card { position: static; }
  .cd-layout { grid-template-columns: 1fr; }
  .cd-sidebar { position: static; }
  .cd-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .cd-schedule-row { grid-template-columns: 52px 1fr auto; }
  .cd-schedule-row > :nth-child(4),
  .cd-schedule-row > :nth-child(5) { display: none; }
  .cd-pricing-row { grid-template-columns: 120px 1fr auto; }
}
@media (max-width: 720px) {
  .cd-outcomes-grid { grid-template-columns: 1fr; }
  .cd-resources-grid { grid-template-columns: 1fr; }
  .cd-audience-grid { grid-template-columns: 1fr; }
  .cd-modules-grid { grid-template-columns: 1fr; }
  .cd-day-header { grid-template-columns: 42px 1fr 24px; }
  .cd-day-meta { display: none; }
  .cd-schedule-row { grid-template-columns: 48px 1fr; gap: 12px; }
  .cd-schedule-row > :nth-child(3),
  .cd-schedule-row > :nth-child(4),
  .cd-schedule-row > :nth-child(5) { display: none; }
  .cd-stats-strip { grid-template-columns: 1fr 1fr; }
  .cd-pricing-row { grid-template-columns: 1fr auto; }
  .cd-pricing-includes { display: none; }
  .cd-booking-trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .mega-menu-inner { grid-template-columns: 1fr 1fr; }
  .mega-col-cta { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}
@media (max-width: 768px) {
  :root { --container: 100%; }
  .section { padding: 60px 0; }
  .topbar-left { display: none; }
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 24px 24px;
    gap: 2px;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { padding: 13px 16px; font-size: .95rem; width: 100%; border-radius: var(--radius); }
  .mega-menu { position: static; transform: none; width: 100%; box-shadow: none; border: none; padding: 0 0 0 14px; opacity: 1; visibility: visible; pointer-events: all; display: none; }
  .has-dropdown.open .mega-menu { display: block; }
  .mega-menu-inner { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; z-index: 1001; position: relative; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .outcomes-list { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { min-height: auto; padding: 60px 0 100px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .search-bar { flex-direction: column; border-radius: var(--radius); }
  .search-bar select { width: 100%; border-top: 1px solid var(--border); }
  .search-bar button { width: 100%; justify-content: center; padding: 16px; }
  .search-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Print ─────────────────────────────────────────── */
@media print {
  .main-nav, .topbar, .main-footer, .back-to-top, .cta-section { display: none; }
  body { font-size: 11px; }
}
