/* ══════════════════════════════════════════════════════════════
   PULSE — A Fitness & Sport Theme
   ITSWEBER CMS v3.4.0
   Dark. Energetic. Powerful.
   ══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Core Palette */
  --black:       #0a0a0a;
  --surface:     #111111;
  --surface-2:   #141414;
  --surface-3:   #1a1a1a;
  --surface-4:   #222222;
  --border:      #2a2a2a;
  --border-light:#333333;
  --text:        #f0f0f0;
  --text-muted:  #b0b0b0;
  --text-dim:    #555555;

  /* Brand Colors */
  --neon:        #39ff14;
  --neon-dim:    #2bcc10;
  --neon-dark:   #1a7a0a;
  --cta:         #ff4500;
  --cta-hover:   #ff5a1f;
  --cta-dark:    #cc3700;
  --warning:     #ff6b35;
  --amber:       #f59e0b;
  --red:         #ef4444;

  /* Typography */
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Sizing */
  --content-width: 1200px;
  --narrow-width:  900px;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.6);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.4), 0 0 0 1px rgba(42,42,42,0.5);
  --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(57,255,20,0.15);

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Transitions */
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration: 0.3s;
  --duration-slow: 0.6s;

  /* Glows */
  --glow-neon:    0 0 20px rgba(57, 255, 20, 0.3), 0 0 60px rgba(57, 255, 20, 0.1);
  --glow-neon-sm: 0 0 10px rgba(57, 255, 20, 0.2);
  --glow-cta:     0 0 20px rgba(255, 69, 0, 0.4), 0 0 60px rgba(255, 69, 0, 0.15);
  --glow-text:    0 0 30px rgba(57, 255, 20, 0.5);

  /* Semantic aliases for CMS compatibility */
  --bg-page:       var(--black);
  --bg-header:     rgba(10, 10, 10, 0.85);
  --bg-raised:     var(--surface);
  --bg-surface:    var(--surface-2);
  --bg-overlay:    var(--surface-3);
  --text-primary:  var(--text);
  --text-secondary: var(--text-muted);
  --text-light:    var(--text-dim);
  --accent:        var(--neon);
  --accent-hover:  var(--neon-dim);
  --color-accent:  var(--neon);
  --border-active: var(--neon);

  /* ── Section Color Scheme Tokens (PFLICHT) ── */
  --scheme-primary-bg:    var(--neon);
  --scheme-primary-text:  var(--black);
  --scheme-primary-muted: rgba(10,10,10,0.8);
  --scheme-alt-bg:        var(--surface);
  --scheme-alt-text:      var(--text);
  --scheme-dark-bg:       var(--black);
  --scheme-dark-text:     var(--text);
  --scheme-dark-muted:    var(--text-muted);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--neon-dim); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
}

picture { display: contents; }

/* ── Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--neon);
  color: var(--black);
  border-radius: var(--radius-sm);
  z-index: 200;
  font-size: 0.875rem;
  font-weight: 700;
}
.skip-link:focus { top: var(--space-sm); color: var(--black); }

/* ── Containers ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.container--narrow,
.container-narrow {
  max-width: var(--narrow-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Utility ────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-muted { color: var(--text-muted); }

/* ── Scroll Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.vis,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: var(--bg-header);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease),
              background var(--duration) var(--ease),
              padding var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.site-header.scrolled,
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.95);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.site-logo:hover { color: var(--text); }
.site-logo img { height: 36px; width: auto; }
.site-logo span,
.logo-text span {
  color: var(--neon);
  text-shadow: var(--glow-text);
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

/* Preview-compatible logo alias */
.header__logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}
.header__logo span {
  color: var(--neon);
  text-shadow: var(--glow-text);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > .nav-item { position: relative; }
.nav-list > .nav-item > a,
.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  padding: var(--space-sm) 0;
}

.nav-list > .nav-item > a::after,
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon);
  box-shadow: var(--glow-neon-sm);
  transition: width var(--duration) var(--ease);
}

.nav-list > .nav-item > a:hover,
.nav-list a:hover,
.nav-list > .nav-item.is-open > a {
  color: var(--text);
}

.nav-list > .nav-item > a:hover::after,
.nav-list a:hover::after {
  width: 100%;
}

.nav-list > .nav-item > a.active {
  color: var(--text);
}
.nav-list > .nav-item > a.active::after {
  width: 100%;
  background: var(--neon);
  box-shadow: var(--glow-neon-sm);
}

/* Focus visible */
.nav-list a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Dropdown Navigation */
.nav-item.has-children > a { display: flex; align-items: center; gap: 0.25rem; }
.nav-chevron, .nav-flyout-chevron { transition: transform var(--duration) var(--ease); }
.nav-item.has-children.is-open > a .nav-chevron { transform: rotate(180deg); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration) var(--ease);
  z-index: 50;
  list-style: none;
}
.sub-menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--cta));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.nav-item.has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  border-left: 3px solid transparent;
  transition: background var(--duration), color var(--duration), border-color var(--duration);
  min-height: 44px;
}
.sub-menu a::after { display: none; }
.sub-menu a:hover {
  background: rgba(57, 255, 20, 0.06);
  color: var(--neon);
  border-left-color: var(--neon);
}
.sub-menu a.active {
  color: var(--neon);
  border-left-color: var(--neon);
}
.sub-menu .sub-menu { top: -0.5rem; left: 100%; }

/* Invisible bridge to prevent hover gap close */
.nav-item.has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 12px;
}

/* Flyout Panel (Level 3) */
.sub-menu--flyout {
  top: -8px;
  left: calc(100% + 4px);
  transform: translateX(-8px);
}
.sub-menu--flyout::before {
  background: linear-gradient(90deg, var(--cta), var(--neon));
}
.nav-item.has-children.is-open > .sub-menu--flyout {
  transform: translateX(0);
}

/* Nav icon prefix */
.nav-icon {
  font-size: 0.7rem;
  opacity: 0.6;
  color: var(--text-dim);
}

/* Header Search */
.header-search { position: relative; }
.header-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration);
}
.header-search-toggle:hover { color: var(--neon); }

.header-search-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm);
  min-width: 280px;
}
.header-search-dropdown form { display: flex; gap: var(--space-xs); }
.header-search-dropdown input[type="search"] {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--text);
  font-size: 0.875rem;
  outline: none;
}
.header-search-dropdown input[type="search"]:focus { border-color: var(--neon); }
.header-search-dropdown button[type="submit"] {
  background: var(--neon);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--black);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--duration);
}
.theme-toggle:hover { background: var(--surface-3); }
.theme-toggle svg { width: 18px; height: 18px; }
html[data-theme="dark"] .icon-sun { display: none; }
html:not([data-theme="dark"]) .icon-moon { display: none; }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: var(--cta);
  color: #fff;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.header-cta:hover {
  background: var(--cta-hover);
  box-shadow: var(--glow-cta);
  transform: translateY(-1px);
  color: #fff;
}
.header-cta svg { width: 16px; height: 16px; }

/* Preview alias */
.header__cta {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.5rem;
  background: var(--cta);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.header__cta::after { display: none !important; }
.header__cta:hover {
  background: var(--cta-hover);
  box-shadow: var(--glow-cta);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.5rem;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Preview alias */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}
.header__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__toggle.active span:nth-child(2) { opacity: 0; }
.header__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════════════════════════════ */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin-right: var(--space-xs);
  color: var(--text-dim);
}
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--neon); }
.breadcrumb-current { font-weight: 700; color: var(--text); }

/* ══════════════════════════════════════════════════════════════
   PAGE SECTIONS (Page Builder)
   ══════════════════════════════════════════════════════════════ */
section {
  position: relative;
  z-index: 1;
}

.page-section {
  padding: var(--space-3xl) 0;
}
.page-section:nth-child(even) {
  background: var(--surface);
}
.page-section--title-only {
  padding: var(--space-2xl) 0 var(--space-lg);
}

/* Section Headers */
.section-block {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.section-subtitle,
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.page-content { font-size: 1rem; line-height: 1.7; }
.page-content p { margin-bottom: var(--space-md); }

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-4xl) var(--space-lg);
  background: var(--black);
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(57, 255, 20, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 69, 0, 0.04) 0%, transparent 50%),
    var(--black);
  z-index: 0;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(57, 255, 20, 0.015) 2px,
      rgba(57, 255, 20, 0.015) 4px
    );
  pointer-events: none;
  z-index: 0;
}
.hero-section .container {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: var(--narrow-width);
  margin: 0 auto;
}

/* Hero Background Elements */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(57, 255, 20, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 69, 0, 0.04) 0%, transparent 50%),
    var(--black);
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(57, 255, 20, 0.015) 2px,
      rgba(57, 255, 20, 0.015) 4px
    );
  pointer-events: none;
}

/* Animated glow orb */
.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  animation: pulseGlow 4s ease-in-out infinite;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* Diagonal accent line */
.hero__diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--black);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 2;
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  border: 1px solid rgba(57, 255, 20, 0.3);
  padding: 0.4rem 1.2rem;
  margin-bottom: var(--space-xl);
  position: relative;
}
.hero__badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  box-shadow: var(--glow-neon-sm);
  pointer-events: none;
}

/* Hero Title */
.hero-title,
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: var(--text);
}

.hero-title em,
.hero__title .highlight,
.highlight {
  font-style: normal;
  color: var(--neon);
  text-shadow: var(--glow-text);
  display: inline;
}

/* Hero Subtitle */
.hero-subtitle,
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

/* Hero Eyebrow */
.hero-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-md);
}

/* Hero Image */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Buttons */
.hero-ctas,
.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.btn,
.btn-hero,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  text-decoration: none;
  background: var(--cta);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn:hover,
.btn-hero:hover,
.btn-primary:hover {
  background: var(--cta-hover);
  box-shadow: var(--glow-cta);
  transform: translateY(-2px);
  color: #fff;
}

.btn--primary {
  background: var(--cta);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn--primary:hover {
  background: var(--cta-hover);
  box-shadow: var(--glow-cta);
  transform: translateY(-2px);
}

.btn-secondary,
.btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-secondary:hover,
.btn--outline:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: var(--glow-neon-sm);
}

.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-hover); text-decoration: none; color: #fff; }

.btn--large {
  padding: 1.2rem 3.5rem;
  font-size: 0.9rem;
  position: relative;
}
.btn--large::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--cta);
  opacity: 0;
  filter: blur(15px);
  transition: opacity var(--duration) var(--ease);
  z-index: -1;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn--large:hover::before { opacity: 0.4; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--neon), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.3; height: 20px; }
}

/* Hero layout modes */
.hero--text-white .hero-title,
.hero--text-white .hero-subtitle { color: white; }
.hero--text-white .hero-subtitle { color: rgba(255,255,255,0.7); }
.hero--hsize-sm .hero-title { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.hero--hsize-lg .hero-title { font-size: clamp(3rem, 8vw, 6rem); }
.hero--hweight-bold .hero-title { font-weight: 900; }
.hero--hweight-light .hero-title { font-weight: 400; }
.hero--body-lg .hero-subtitle { font-size: 1.25rem; }
.hero--align-center .container { text-align: center; }
.hero--align-center .hero-subtitle { margin-left: auto; margin-right: auto; }
.hero--align-center .hero-ctas { justify-content: center; }
.hero--tall { min-height: 100vh; }
.hero--cta-stacked .hero-ctas { flex-direction: column; align-items: flex-start; }

/* Hero overlay strengths */
.hero--overlay-light::before  { background: rgba(0,0,0,0.20); }
.hero--overlay-medium::before { background: rgba(0,0,0,0.45); }
.hero--overlay-heavy::before  { background: rgba(0,0,0,0.65); }
.hero--has-bg .hero-title,
.hero--has-bg .hero-subtitle { color: white; }
.hero--has-bg .hero-subtitle { color: rgba(255,255,255,0.7); }
.hero--has-bg::before { background: rgba(0,0,0,0.5); }

/* Split layout */
.hero--layout-split .hero-split-inner {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}
.hero--layout-split .hero-text { flex: 1; }
.hero-portrait-wrap { flex: 0 0 auto; }
.hero-portrait { max-width: 300px; border-radius: var(--radius-lg); }
.hero-portrait-inline { margin-bottom: var(--space-lg); }
.hero--portrait-rounded .hero-portrait { border-radius: 50%; }

/* Boxed layout */
.hero--layout-boxed .container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  background-size: cover;
  background-position: center;
}

/* Hero Video Background */
.hero-section .hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-section.hero--video-contain .hero-video-bg { object-fit: contain; }
.hero-section.hero--has-video > .container { position: relative; z-index: 2; }
.hero-section.hero--has-video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.hero-section.hero--has-video.hero--overlay-light::after  { background: rgba(0,0,0,0.25); }
.hero-section.hero--has-video.hero--overlay-medium::after { background: rgba(0,0,0,0.5); }
.hero-section.hero--has-video.hero--overlay-heavy::after  { background: rgba(0,0,0,0.7); }

/* Hero Inline Video */
.hero-video-inline-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
  aspect-ratio: 16 / 9;
}
.hero-video-inline-wrap--center {
  display: block;
  margin: 2rem auto 0;
  width: min(540px, 90%);
}
.hero-video-inline {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero--video-inline .hero-split-inner .hero-video-inline-wrap {
  flex: 0 0 auto;
  width: clamp(200px, 28vw, 360px);
  aspect-ratio: 16 / 9;
}
.hero--video-size-sm   .hero-video-inline-wrap--center { width: min(380px, 90%); }
.hero--video-size-md   .hero-video-inline-wrap--center { width: min(560px, 90%); }
.hero--video-size-lg   .hero-video-inline-wrap--center { width: min(820px, 94%); }
.hero--video-size-full .hero-video-inline-wrap--center { width: 100%; }

/* Hero stats */
.hero-stats {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--neon);
  text-shadow: var(--glow-neon-sm);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero search */
.hero-search {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  max-width: 600px;
}
.hero-search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}
.hero-search-input:focus { border-color: var(--neon); box-shadow: var(--glow-neon-sm); }
.hero-search-select {
  padding: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
}
.hero-search-btn {
  padding: 0.75rem 1.5rem;
  background: var(--neon);
  color: var(--black);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.hero-search-btn:hover { background: var(--neon-dim); }

/* ══════════════════════════════════════════════════════════════
   INTRO SECTION
   ══════════════════════════════════════════════════════════════ */
.intro-section {
  text-align: center;
  padding: var(--space-3xl) 0;
}
.intro-section .container { max-width: var(--narrow-width); }
.intro-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.intro-section p,
.intro-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}
.intro-section .section-subtitle,
.cta-section .section-subtitle { max-width: 680px; margin-left: auto; margin-right: auto; }
.intro-cta { margin-top: 2rem; }

/* ══════════════════════════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════════════════════════ */
.features-section { padding: var(--space-3xl) 0; }
.features-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  position: relative;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--cta));
  opacity: 0;
  transition: opacity var(--duration);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--neon-dark);
}
.feature-card:hover::before { opacity: 1; }

.feature-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  background: rgba(57, 255, 20, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
}
.feature-card-icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--neon);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.feature-card-link { display: inline-block; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 700; color: var(--neon); }
.feature-card-link:hover { text-decoration: underline; }

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.feature-card__title .icon { font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════════════════════════════ */
.service-cards-section { padding: var(--space-3xl) 0; }
.scs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.scs-card,
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.scs-card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--cta));
  opacity: 0;
  transition: opacity var(--duration);
}
.scs-card:hover,
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--neon-dark); }
.scs-card:hover::before,
.service-card:hover::before { opacity: 1; }
.scs-card-visual {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-md);
  background: rgba(57, 255, 20, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
}
.scs-card-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-md); }
.scs-card-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   TOPIC CARDS
   ══════════════════════════════════════════════════════════════ */
.topic-cards-section { padding: var(--space-3xl) 0; }
.topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}
.topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.topic-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: var(--neon-dark); color: var(--text); }
.topic-card-icon { margin-bottom: var(--space-md); color: var(--neon); }
.topic-card-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-sm); }
.topic-card-text { font-size: 0.85rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════════════════════════ */
.stats-section {
  padding: var(--space-4xl) 0;
  position: relative;
  background: var(--surface);
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-dark), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item,
.stats-item {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
}

.stat-item::after,
.stats-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-item:last-child::after,
.stats-item:last-child::after {
  display: none;
}

.stat-value,
.stats-item-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--neon);
  text-shadow: var(--glow-text);
  line-height: 1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
}

.stat-value .suffix {
  font-size: 0.5em;
  color: var(--neon-dim);
}

.stat-label,
.stats-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.cta-section {
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--black);
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255, 69, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(57, 255, 20, 0.04) 0%, transparent 50%),
    var(--black);
}
.cta-section__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(57, 255, 20, 0.01) 40px,
    rgba(57, 255, 20, 0.01) 42px
  );
}

.cta-section > .container { position: relative; z-index: 1; }
.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2,
.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.cta-section__title .neon {
  color: var(--neon);
  text-shadow: var(--glow-text);
}

.cta-section p,
.cta-text,
.cta-section__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn,
.cta-section .btn-hero {
  background: var(--cta);
  color: #fff;
}
.cta-section .btn:hover,
.cta-section .btn-hero:hover {
  background: var(--cta-hover);
  box-shadow: var(--glow-cta);
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cta--has-bg { background-size: cover; background-position: center; position: relative; }
.cta--has-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); z-index: 0; }
.cta--has-bg > .container { position: relative; z-index: 1; }
.cta--has-bg h2, .cta--has-bg .cta-text, .cta--has-bg .cta-eyebrow { color: #fff; }
.cta--overlay-light::after { background: rgba(0,0,0,0.3); }
.cta--overlay-medium::after { background: rgba(0,0,0,0.5); }
.cta--overlay-heavy::after { background: rgba(0,0,0,0.7); }
.cta-eyebrow { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.75rem; color: var(--neon); }

/* Animated neon border pulse around CTA */
.cta-section__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 20, 0.05);
  animation: ringPulse 3s ease-in-out infinite;
  pointer-events: none;
}
.cta-section__ring:nth-child(2) {
  width: 750px;
  height: 750px;
  animation-delay: 1s;
}
.cta-section__ring:nth-child(3) {
  width: 900px;
  height: 900px;
  animation-delay: 2s;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.cta-section__features {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cta-feature__check {
  width: 20px;
  height: 20px;
  border: 1px solid var(--neon-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* CTA inner (CMS generic) */
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   BLOG SECTION & BLOG PREVIEW
   ══════════════════════════════════════════════════════════════ */
.blog-section { padding: var(--space-3xl) 0; }
.blog-preview-section { padding: var(--space-3xl) 0; }
.blog-preview-section h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; text-transform: uppercase; margin-bottom: 1rem; }
.blog-preview-cta { text-align: center; margin-top: 2rem; }

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}
.blog-category-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}
.blog-category-link:hover,
.blog-category-link.active {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--black);
}
.blog-category-count { font-size: 0.6875rem; opacity: 0.7; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

/* Blog card */
.blog-card,
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.blog-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-image-link { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image-link img,
.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-image-link img,
.blog-card:hover .blog-card-image { transform: scale(1.05); }

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}
.blog-card-placeholder svg { width: 40px; height: 40px; }

.blog-card-body { padding: var(--space-lg); }
.blog-category {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon);
  margin-bottom: var(--space-sm);
  display: inline-block;
}
.blog-card-body h2 { font-size: 1.05rem; font-weight: 800; line-height: 1.3; margin-bottom: var(--space-sm); text-transform: none; }
.blog-card-body h2 a { color: var(--text); text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--neon); }
.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

/* Tags */
.tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration), color var(--duration);
}
.tag:hover { border-color: var(--neon); color: var(--neon); }

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}
.pagination-link {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}
.pagination-link:hover { border-color: var(--neon); color: var(--neon); }
.pagination-link.disabled { opacity: 0.4; pointer-events: none; }
.pagination-info { font-size: 0.8125rem; color: var(--text-muted); }

.pagination { display: flex; gap: 0.5rem; margin-top: 2rem; justify-content: center; }
.pagination-btn { padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 0.875rem; }
.pagination-btn:hover { background: var(--surface-3); text-decoration: none; }
.pagination-btn.active { background: var(--neon); color: var(--black); border-color: var(--neon); }

/* ══════════════════════════════════════════════════════════════
   BLOG SINGLE — Article
   ══════════════════════════════════════════════════════════════ */
.blog-article { padding: var(--space-2xl) 0 var(--space-3xl); }
.blog-list { padding: var(--space-2xl) 0 var(--space-3xl); }
.blog-single { padding: var(--space-2xl) 0 var(--space-3xl); }
.blog-content { font-size: 1rem; line-height: 1.8; }
.blog-sidebar {
  padding-left: var(--space-xl);
}

.article-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-lg);
}
.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}
.article-category {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon);
  font-size: 0.6875rem;
}
.article-reading-time { display: flex; align-items: center; gap: 0.25rem; }

/* Table of Contents */
.article-toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.article-toc-title {
  font-weight: 800;
  font-size: 0.9375rem;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.article-toc-list { padding-left: var(--space-lg); margin: 0; list-style: disc; }
.article-toc-list li { margin-bottom: var(--space-xs); font-size: 0.875rem; }
.article-toc-list a { color: var(--text-muted); }
.article-toc-list a:hover { color: var(--neon); }
.toc-level-3 { padding-left: var(--space-md); }

/* Article Content */
.article-content { font-size: 1rem; line-height: 1.8; }
.article-content h2 { font-size: 1.5rem; margin: var(--space-2xl) 0 var(--space-md); }
.article-content h3 { font-size: 1.25rem; margin: var(--space-xl) 0 var(--space-md); }
.article-content p { margin-bottom: var(--space-lg); }
.article-content ul, .article-content ol { margin-bottom: var(--space-lg); padding-left: var(--space-xl); }
.article-content li { margin-bottom: var(--space-sm); }
.article-content blockquote {
  border-left: 3px solid var(--neon);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
  background: var(--surface-2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-muted);
}
.article-content pre {
  background: var(--surface-2);
  color: var(--text);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow-x: auto;
  font-family: Consolas, 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.article-content code {
  font-family: Consolas, 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875em;
  background: var(--surface-2);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.article-content pre code { background: none; padding: 0; border: none; }
.article-content img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

/* Related Posts */
.article-related {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
}
.article-related-title { font-size: 1.25rem; font-weight: 900; text-transform: uppercase; margin-bottom: var(--space-lg); }
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}
.related-post-card {
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.related-post-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.related-post-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.related-post-img { width: 100%; height: 100%; object-fit: cover; }
.related-post-body { padding: var(--space-md); }
.related-post-date { font-size: 0.7rem; color: var(--text-dim); }
.related-post-body h4 { font-size: 0.95rem; margin-top: var(--space-xs); }

.article-footer {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════════
   HIGHLIGHT GRID
   ══════════════════════════════════════════════════════════════ */
.highlight-grid-section { padding: var(--space-3xl) 0; }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.highlight-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.highlight-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin: calc(-1 * var(--space-lg)) calc(-1 * var(--space-lg)) var(--space-lg);
}
.highlight-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.highlight-card:hover .highlight-card-image img { transform: scale(1.05); }
.highlight-card-body { padding: 0; }
.highlight-card h3 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-sm); }
.highlight-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   FEATURE SHOWCASE
   ══════════════════════════════════════════════════════════════ */
.feature-showcase-section { padding: var(--space-3xl) 0; }
.fss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.fss-grid.reverse { direction: rtl; }
.fss-grid.reverse > * { direction: ltr; }
.fss-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.fss-card img { width: 100%; height: auto; }
.fss-title { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 900; text-transform: uppercase; margin-bottom: var(--space-md); }
.fss-card-text { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: var(--space-md); }

/* ══════════════════════════════════════════════════════════════
   PROCESS STEPS
   ══════════════════════════════════════════════════════════════ */
.process-steps-section { padding: var(--space-3xl) 0; }
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  counter-reset: step;
}
.process-step { text-align: center; counter-increment: step; }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--neon);
  text-shadow: var(--glow-neon-sm);
  opacity: 0.4;
  display: block;
  margin-bottom: var(--space-sm);
}
.process-step-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-sm); }
.process-step-text { font-size: 0.9rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════════════════════════════════ */
.team-section { padding: var(--space-3xl) 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-xl);
}
.team-card {
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.team-card:hover {
  border-color: var(--neon-dark);
  transform: translateY(-4px);
}
.team-card-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: var(--space-xl) auto var(--space-md);
  border: 2px solid var(--border);
}
.team-card-image img { width: 100%; height: 100%; object-fit: cover; }
.team-card-name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: var(--space-xs); }
.team-card-role { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--neon); margin-bottom: var(--space-md); }
.team-card-bio { font-size: 0.9rem; color: var(--text-muted); margin-top: var(--space-sm); padding: 0 var(--space-lg) var(--space-lg); line-height: 1.7; }

/* Trainer card aliases (Pulse maps trainers to team) */
.trainer-card { /* inherits .team-card styles via same section */ }
.trainer-card__body { padding: var(--space-xl) var(--space-lg); }
.trainer-card__name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 900; text-transform: uppercase; margin-bottom: var(--space-xs); }
.trainer-card__role { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--neon); margin-bottom: var(--space-md); }
.trainer-card__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: var(--space-lg); }
.trainer-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.trainer-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--duration) var(--ease);
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════ */
.testimonials-section { padding: var(--space-3xl) 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--neon);
  opacity: 0.2;
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  line-height: 1;
}
.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}
.testimonial-stars { margin-bottom: var(--space-sm); color: var(--amber); }
.testimonial-author { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 1px solid var(--border); }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-avatar--initials,
.testimonial-avatar-initials {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(57, 255, 20, 0.12);
  color: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(57, 255, 20, 0.35);
  flex-shrink: 0;
}
.testimonial-author-name { font-weight: 800; font-size: 0.9rem; color: var(--text); }
.testimonial-author-role { font-size: 0.75rem; color: var(--text-dim); }

/* ══════════════════════════════════════════════════════════════
   TRUST SHOWCASE
   ══════════════════════════════════════════════════════════════ */
.trust-showcase-section { padding: var(--space-3xl) 0; }
.tss-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xl);
  align-items: center;
}
.tss-card {
  opacity: 0.4;
  transition: opacity var(--duration) var(--ease);
  max-height: 48px;
  width: auto;
  filter: grayscale(100%);
}
.tss-card:hover { opacity: 1; filter: grayscale(0%); }

/* ══════════════════════════════════════════════════════════════
   RATING / BEFORE-AFTER / VIDEO / SOCIAL EMBED / HTML
   ══════════════════════════════════════════════════════════════ */
.rating-highlight-section { padding: var(--space-3xl) 0; }
.before-after-section { padding: var(--space-3xl) 0; }
.video-section { padding: var(--space-3xl) 0; }
.social-embed-section { padding: var(--space-3xl) 0; }
.html-section { padding: var(--space-3xl) 0; }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ══════════════════════════════════════════════════════════════
   COURSE SCHEDULE (Pulse Theme Section)
   ══════════════════════════════════════════════════════════════ */
.course-schedule-section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.course-card:hover {
  border-color: var(--neon-dark);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow-neon-sm);
}

.course-card__image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.course-card__image--hiit {
  background: linear-gradient(135deg, #1a0a00 0%, #331100 40%, #0a0a0a 100%);
}
.course-card__image--hiit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 69, 0, 0.15) 0%, transparent 60%);
}

.course-card__image--yoga {
  background: linear-gradient(135deg, #0a1a0a 0%, #0a2a10 40%, #0a0a0a 100%);
}
.course-card__image--yoga::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(57, 255, 20, 0.1) 0%, transparent 60%);
}

.course-card__image--crossfit {
  background: linear-gradient(135deg, #1a1a00 0%, #2a2200 40%, #0a0a0a 100%);
}
.course-card__image--crossfit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 200, 0, 0.1) 0%, transparent 60%);
}

.course-card__image--boxing {
  background: linear-gradient(135deg, #1a0005 0%, #330011 40%, #0a0a0a 100%);
}
.course-card__image--boxing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255, 0, 50, 0.12) 0%, transparent 60%);
}

.course-card__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.15;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.course-card__category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--neon);
}

.course-card__body { padding: var(--space-lg); }
.course-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
}
.course-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.course-card__meta {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.course-card__meta-item { display: flex; flex-direction: column; gap: 2px; }
.course-card__meta-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.course-card__meta-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════════════ */
.gallery-section,
.gallery-album-section { padding: var(--space-3xl) 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.gallery-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.gallery-card-image { aspect-ratio: 4/3; overflow: hidden; }
.gallery-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-card:hover .gallery-card-image img { transform: scale(1.05); }
.gallery-card-body { padding: var(--space-md); }
.gallery-card-placeholder { height: 220px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.gallery-card-placeholder svg { width: 48px; height: 48px; opacity: 0.4; color: var(--text-dim); }
.gallery-card-info { padding: 1rem; }
.gallery-card-info h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.25rem; }
.gallery-card-info p { font-size: 0.875rem; color: var(--text-muted); }

.gallery-preview-section { padding: var(--space-3xl) 0; }
.gallery-preview-section h2 { text-align: center; margin-bottom: 2.5rem; }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.gallery-preview-card { display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; position: relative; text-decoration: none; background: var(--surface-2); }
.gallery-preview-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-preview-card:hover img { transform: scale(1.05); }
.gallery-preview-placeholder { width: 100%; height: 100%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 2rem; }
.gallery-preview-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.gallery-preview-card span { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.5rem 0.75rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-preview-cta { text-align: center; }

/* Gallery album images */
.gallery-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.gallery-image-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  margin: 0;
}
.gallery-image-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}
.gallery-image-item:hover img,
.gallery-image-item:focus img { transform: scale(1.05); }
.gallery-image-item:focus { outline: 2px solid var(--neon); outline-offset: 2px; }
.gallery-image-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 2rem 0.75rem 0.625rem;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.gallery-image-item:hover figcaption,
.gallery-image-item:focus figcaption { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   EVENTS
   ══════════════════════════════════════════════════════════════ */
.events-section { padding: var(--space-3xl) 0; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration) var(--ease);
}
.event-card:hover { box-shadow: var(--shadow-card-hover); }
.event-card-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.event-card picture { display: block; }
.event-card picture img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.event-card-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.event-card-body h3 { font-size: 1rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.event-card-body h3 a { color: var(--text); }
.event-card-body h3 a:hover { color: var(--neon); text-decoration: none; }
.event-card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.event-card--featured { border-color: var(--neon); }
.event-card--featured .event-card-body h3 a { color: var(--neon); }
.event-card--postponed { border-color: var(--amber); }
.event-card--cancelled { opacity: 0.7; border-color: var(--red); }
.event-card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.75rem; color: var(--text-muted); }
.event-date, .event-time, .event-location { white-space: nowrap; }
.event-category { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--neon); }
.event-category a { color: inherit; }
.event-category a:hover { text-decoration: underline; }
.event-status-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 3px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.event-status-badge--postponed { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.event-status-badge--cancelled { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.event-card-link { margin-top: auto; font-size: 0.8rem; font-weight: 700; color: var(--neon); }
.event-card-link:hover { text-decoration: underline; }
.event-card-placeholder { width: 100%; height: 200px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--text-dim); }
.event-card-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.events-header { margin-bottom: 2rem; }
.events-category-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.events-category-filter a { padding: 0.3rem 0.85rem; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.8rem; transition: background 0.15s var(--ease), color 0.15s; }
.events-category-filter a:hover, .events-category-filter a.active { background: var(--neon); color: var(--black); border-color: var(--neon); text-decoration: none; }
.events-featured { margin-bottom: 3rem; padding: 2rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); }
.events-featured-title { font-size: 0.85rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.events-featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.events-all-title { font-size: 0.85rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }

.events-preview-section { padding: var(--space-3xl) 0; }
.events-preview-section h2 { text-align: center; margin-bottom: 2rem; }
.events-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.events-preview-cta { text-align: center; margin-top: 2rem; }

/* Event detail */
.event-detail { padding: 4rem 0; }
.event-status-notice { padding: 1rem 1.5rem; border-radius: var(--radius-sm); margin-bottom: 2rem; font-size: 0.95rem; }
.event-status-notice--postponed { background: rgba(245, 158, 11, 0.1); color: var(--amber); border-left: 3px solid var(--amber); }
.event-status-notice--cancelled { background: rgba(239, 68, 68, 0.1); color: var(--red); border-left: 3px solid var(--red); }
.event-detail-header { margin-bottom: 2rem; }
.event-detail-header h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.5rem 0 1rem; }
.event-detail-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-size: 0.85rem; color: var(--text-muted); }
.event-meta-item { display: flex; align-items: center; gap: 0.4rem; }
.meta-icon { display: inline-flex; align-items: center; justify-content: center; width: 1rem; height: 1rem; flex-shrink: 0; color: var(--neon); opacity: 0.7; }
.meta-icon svg { width: 100%; height: 100%; }
.event-detail-image { margin-bottom: 2rem; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.event-detail-image img, .event-detail-image picture img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.event-detail-image picture { display: block; }
.event-detail-excerpt { margin-bottom: 1.5rem; font-size: 1.05rem; color: var(--text-muted); line-height: 1.65; }
.event-detail-content { margin-bottom: 2rem; }
.event-detail-content.prose { line-height: 1.75; }
.event-detail-content.prose p { margin-bottom: 1rem; }
.event-detail-content.prose h2, .event-detail-content.prose h3 { margin: 1.5rem 0 0.75rem; }
.event-detail-footer { padding-top: 2rem; border-top: 1px solid var(--border); }
.btn-back { color: var(--text-muted); font-size: 0.875rem; }
.btn-back:hover { color: var(--neon); }

/* Date block */
.event-date-block {
  text-align: center;
  min-width: 64px;
  padding: var(--space-md);
  background: var(--neon);
  color: var(--black);
  border-radius: var(--radius-md);
}
.event-date-day { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.event-date-month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact-section { padding: var(--space-3xl) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-form .form-group { margin-bottom: var(--space-md); }
.contact-form label,
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--black);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color var(--duration), box-shadow var(--duration);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.form-control:focus {
  border-color: var(--neon);
  box-shadow: var(--glow-neon-sm);
}
.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-info-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}
.contact-info-card h3 { margin-bottom: var(--space-md); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}
.contact-info-item svg { color: var(--neon); flex-shrink: 0; margin-top: 2px; }
.contact-info { margin-top: 2rem; }
.contact-info p { margin-bottom: 0.5rem; }

/* ══════════════════════════════════════════════════════════════
   DOWNLOADS
   ══════════════════════════════════════════════════════════════ */
.downloads-section { padding: var(--space-3xl) 0; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration);
}
.download-card:hover { box-shadow: var(--shadow-card-hover); border-color: var(--neon-dark); }
.download-card h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-sm); }
.download-card h3 a { color: var(--text); text-decoration: none; }
.download-card h3 a:hover { color: var(--neon); }
.download-meta { font-size: 0.75rem; color: var(--text-dim); }

/* ══════════════════════════════════════════════════════════════
   SEARCH
   ══════════════════════════════════════════════════════════════ */
.search-section { padding: var(--space-3xl) 0; }
.search-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}
.search-form input[type="search"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: var(--surface-2);
  color: var(--text);
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--neon); box-shadow: var(--glow-neon-sm); }

.search-results-list { list-style: none; padding: 0; }
.search-result-item { padding: var(--space-lg) 0; border-bottom: 1px solid var(--border); }
.search-result-item h2 { font-size: 1.1rem; margin-bottom: var(--space-xs); }
.search-result-item h2 a { color: var(--text); }
.search-result-item h2 a:hover { color: var(--neon); }
.search-result-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════════ */
.error-page, .error-section { text-align: center; padding: var(--space-3xl) 0; }
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--neon);
  text-shadow: var(--glow-text);
  opacity: 0.15;
  line-height: 1;
}
.error-page h1 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: var(--space-md); }
.error-page p { color: var(--text-muted); margin-bottom: var(--space-xl); }
.error-message { font-size: 1.1rem; color: var(--text-muted); margin: 1rem 0 2rem; }

/* ══════════════════════════════════════════════════════════════
   MAINTENANCE PAGE
   ══════════════════════════════════════════════════════════════ */
.maintenance-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--space-xl);
  background: var(--black);
}
.maintenance-page h1 { font-size: 1.75rem; margin-bottom: var(--space-md); }
.maintenance-page p { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.site-footer::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--cta));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand { min-width: 200px; }
.footer-brand-logo {
  display: inline-block;
  margin-bottom: var(--space-md);
  text-decoration: none;
}
.footer-brand-logo img { height: 36px; width: auto; }
.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-brand-text span {
  color: var(--neon);
}

/* Footer brand name (Preview alias) */
.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.footer__brand-name span {
  color: var(--neon);
}
.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all var(--duration) var(--ease);
}
.footer-social a:hover {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--black);
  transform: translateY(-2px);
}
.footer-social a svg { width: 18px; height: 18px; }

.footer-col { }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

/* Footer heading (Preview alias) */
.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
  padding: 2px 0;
}
.footer-nav a:hover { color: var(--neon); }

/* Footer links (Preview alias) */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
  padding: 2px 0;
}
.footer__links a:hover { color: var(--neon); }

/* Footer hours */
.footer-contact-line {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}
.footer-contact-line a { color: var(--text-muted); }
.footer-contact-line a:hover { color: var(--neon); }
.footer-hours {
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.7;
  margin-top: var(--space-sm);
}

.footer__hours { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__hour-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: var(--space-md);
}
.footer__hour-row .day {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}
.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color var(--duration) var(--ease);
}
.footer-legal a:hover { color: var(--text-muted); }

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}
.footer__legal a {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color var(--duration) var(--ease);
}
.footer__legal a:hover { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════════════════════ */
.scroll-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--neon);
  color: var(--black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--duration) var(--ease);
  z-index: 90;
  box-shadow: var(--shadow-md);
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: var(--neon-dim);
  transform: translateY(-2px);
  box-shadow: var(--glow-neon);
}

/* ══════════════════════════════════════════════════════════════
   CONSENT BANNER
   ══════════════════════════════════════════════════════════════ */
.consent-reopen { color: var(--text-dim); font-size: 0.7rem; }
.consent-reopen:hover { color: var(--neon); }

/* ══════════════════════════════════════════════════════════════
   GALLERY LIGHTBOX
   ══════════════════════════════════════════════════════════════ */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.gallery-lightbox.is-open { opacity: 1; pointer-events: all; }
.gallery-lightbox-inner {
  position: relative;
  max-width: min(90vw, 1200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4rem;
}
.gallery-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: var(--shadow-lg);
}
.gallery-lightbox-info { margin-top: 0.875rem; text-align: center; min-height: 2.5rem; }
.gallery-lightbox-caption { color: rgba(255, 255, 255, 0.9); font-size: 0.875rem; margin: 0; }
.gallery-lightbox-counter { color: var(--text-dim); font-size: 0.75rem; margin-top: 0.25rem; }
.gallery-lightbox-close {
  position: fixed;
  top: 1.125rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.15s;
  z-index: 9001;
}
.gallery-lightbox-close:hover, .gallery-lightbox-close:focus { color: #fff; outline: none; }
.gallery-lightbox-prev, .gallery-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.375rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 9001;
  user-select: none;
}
.gallery-lightbox-prev { left: 1rem; }
.gallery-lightbox-next { right: 1rem; }
.gallery-lightbox-prev:hover, .gallery-lightbox-next:hover { background: rgba(255, 255, 255, 0.2); }
.gallery-lightbox-prev:disabled, .gallery-lightbox-next:disabled { opacity: 0.2; cursor: default; }

/* === Section Color Schemes (Unified v3.4) === */
.section--scheme-primary { background: var(--scheme-primary-bg); color: var(--scheme-primary-text); }
.section--scheme-primary h2,
.section--scheme-primary h3 { color: var(--scheme-primary-text); }
.section--scheme-primary p,
.section--scheme-primary .section-subtitle,
.section--scheme-primary .intro-text { color: var(--scheme-primary-muted); }
.section--scheme-primary .testimonial-card,
.section--scheme-primary .feature-card,
.section--scheme-primary .highlight-card { color: var(--text); }
.section--scheme-primary .testimonial-text,
.section--scheme-primary .feature-card p { color: var(--text-muted); }
.section--scheme-primary .testimonial-author-name { color: var(--text); }
.section--scheme-primary .testimonial-author-role { color: var(--text-muted); }
.section--scheme-primary .testimonial-card::before { color: var(--neon); opacity: 0.15; }
.section--scheme-primary .testimonial-rating { color: var(--neon); }

.section--scheme-alt { background: var(--scheme-alt-bg); color: var(--scheme-alt-text); }

.section--scheme-dark { background: var(--scheme-dark-bg); color: var(--scheme-dark-text); }
.section--scheme-dark h2,
.section--scheme-dark h3,
.section--scheme-dark p { color: var(--scheme-dark-text); }
.section--scheme-dark .testimonial-card,
.section--scheme-dark .feature-card { color: var(--scheme-dark-text); }

.section--scheme-none,
.section--scheme-transparent { background: transparent; }

.section--text-light { color: var(--text); }
.section--text-light h2,
.section--text-light h3 { color: var(--text); }
.section--text-dark { color: var(--black); }

/* ══════════════════════════════════════════════════════════════
   MODULE INTRO / UTILITY
   ══════════════════════════════════════════════════════════════ */
.module-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: var(--narrow-width);
}

/* Accent line */
.accent-line {
  position: relative;
  padding-left: var(--space-lg);
}
.accent-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--neon);
  border-radius: 2px;
}

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

/* Desktop / Tablet landscape */
@media (max-width: 1024px) {
  .courses__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid,
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after,
  .stats-item:nth-child(2)::after,
  .stats__item:nth-child(2)::after {
    display: none;
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid > *:last-child:nth-child(odd) { grid-column: span 2; }
  .fss-grid { grid-template-columns: 1fr; }
  .fss-grid.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  .footer-brand { grid-column: span 2; }

  .hero__glow {
    width: 350px;
    height: 350px;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-4xl: 5rem;
  }

  /* Mobile nav */
  .nav-list {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    z-index: 999;
    padding: var(--space-md);
  }
  .nav-list.open { display: flex; }
  .nav-list > .nav-item { display: block; }
  .nav-list > .nav-item > a,
  .nav-list a {
    font-size: 1.2rem;
    height: auto;
    padding: var(--space-sm) var(--space-md);
    width: 100%;
    min-height: 48px;
  }
  .nav-list > .nav-item > a::after,
  .nav-list a::after {
    bottom: -6px;
  }
  .nav-list > .nav-item > a.active::after { display: none; }

  .nav-toggle,
  .header__toggle {
    display: flex;
    z-index: 1001;
  }

  .header-search { display: none; }

  .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: var(--space-lg);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }
  .sub-menu::before, .sub-menu::after { display: none; }
  .nav-item.has-children.is-open > .sub-menu { display: block; }
  .sub-menu .nav-item > a { padding: 10px 20px 10px 40px; border-left: none; }
  .sub-menu .nav-item > a:hover { background: rgba(57, 255, 20, 0.06); color: var(--neon); border-left: none; }
  .sub-menu--flyout { position: static !important; margin-left: 0; }

  /* Hero */
  .hero-section { min-height: auto; padding: var(--space-2xl) 0; }

  /* Grids */
  .features-grid { grid-template-columns: 1fr; }
  .features-grid > *:last-child:nth-child(odd) { grid-column: span 1; }

  .courses__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .stats-grid,
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .stat-item::after,
  .stats-item::after,
  .stats__item::after {
    display: none;
  }
  .stat-item,
  .stats-item,
  .stats__item {
    padding: var(--space-lg) var(--space-md);
    border: 1px solid var(--border);
  }

  .trainers__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .trainer-card__image {
    height: 250px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Preview header__nav mobile */
  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    z-index: 999;
  }
  .header__nav.open {
    display: flex;
  }
  .header__nav a {
    font-size: 1.2rem;
  }
  .header__nav a::after {
    bottom: -6px;
  }

  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }

  .footer-grid,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .footer-brand { grid-column: span 1; }

  .footer-bottom,
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-legal,
  .footer__legal {
    justify-content: center;
  }

  .cta-section__features {
    gap: var(--space-lg);
  }

  .cta-section__ring {
    display: none;
  }

  .hero__scroll {
    bottom: 140px;
  }

  .hero__diagonal {
    height: 60px;
  }

  .hero-video-inline-wrap--center { margin-top: 1.5rem; }
  .hero--video-inline .hero-split-inner { flex-direction: column; align-items: center; }
  .hero--video-inline .hero-split-inner .hero-video-inline-wrap { width: min(480px, 90%); flex: none; }
  .gallery-images-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.375rem; }
  .gallery-lightbox-inner { padding: 0 3rem; }
  .gallery-lightbox-prev { left: 0.25rem; }
  .gallery-lightbox-next { right: 0.25rem; }

  .blog-sidebar { padding-left: 0; margin-top: var(--space-xl); }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --space-3xl: 3rem;
    --space-4xl: 4rem;
  }

  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* Very small mobile */
@media (max-width: 320px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
    --space-4xl: 5rem;
  }

  .hero-title,
  .hero__title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.7rem;
  }

  .stats-grid,
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .cta-section__features {
    flex-direction: column;
    align-items: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   PULSE-SPECIFIC MISSING CLASS ADDITIONS
   ══════════════════════════════════════════════════════════════ */

/* Logo dot accent (neon accent on logo text) */
.logo-dot {
  color: var(--neon);
  text-shadow: var(--glow-text);
}

/* Footer opening hours – layout.php uses these class names */
.footer-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 2px 0;
}
.footer-hours__day {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.footer-hours__time {
  color: var(--text-muted);
  white-space: nowrap;
}

/* Stats Section – section-level header (stats.php template) */
.stats-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.stats-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--text);
}
.stats-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stats item sub-elements (prefix / number / suffix / divider) */
.stats-prefix {
  font-size: 0.5em;
  color: var(--neon-dim);
  font-weight: 700;
  vertical-align: super;
}
.stats-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--neon);
  text-shadow: var(--glow-text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stats-suffix {
  font-size: 0.5em;
  color: var(--neon-dim);
  font-weight: 700;
}
.stats-divider {
  display: none; /* hidden on desktop; handled via ::after on .stats-item */
}

/* Team card – text initials fallback when no photo */
.team-card-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(57, 255, 20, 0.08);
  color: var(--neon);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: inherit;
}

/* Course card – placeholder when no image */
.course-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-card__placeholder::after {
  content: '';
  width: 48px;
  height: 48px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  opacity: 0.3;
}

/* CTA features list (cta.php uses ul/li with .cta-features / .cta-feature-item) */
.cta-features {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.cta-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cta-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--neon);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   PREVIEW ALIASES — Additional selectors from theme preview
   Ensures 100% match between pulse.html preview and CMS output
   ══════════════════════════════════════════════════════════════ */

/* ── Header Preview Aliases ──────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(10, 10, 10, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease),
              background var(--duration) var(--ease),
              padding var(--duration) var(--ease);
}
.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.95);
  padding: var(--space-sm) 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.header__nav a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon);
  box-shadow: var(--glow-neon-sm);
  transition: width var(--duration) var(--ease);
}
.header__nav a:hover {
  color: var(--text);
}
.header__nav a:hover::after {
  width: 100%;
}

/* ── Hero Preview Alias ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-4xl) var(--space-lg);
}

/* ── Stats Preview Aliases ───────────────────────────────────── */
.stats {
  padding: var(--space-4xl) 0;
  position: relative;
  background: var(--surface);
}
.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-dark), transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stats__item {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
}
.stats__item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.stats__item:last-child::after {
  display: none;
}

.stats__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--neon);
  text-shadow: var(--glow-text);
  line-height: 1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
}
.stats__number .suffix {
  font-size: 0.5em;
  color: var(--neon-dim);
}

.stats__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Courses Preview Alias ───────────────────────────────────── */
.courses {
  padding: var(--space-4xl) 0;
  position: relative;
}

/* ── Trainers Preview Aliases ────────────────────────────────── */
.trainers {
  padding: var(--space-4xl) 0;
  background: var(--surface);
  position: relative;
}
.trainers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.trainers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.trainer-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.trainer-card:hover {
  border-color: var(--neon-dark);
  transform: translateY(-4px);
}

.trainer-card__image {
  height: 320px;
  position: relative;
  overflow: hidden;
}

.trainer-card:nth-child(1) .trainer-card__image {
  background: linear-gradient(180deg, #141414 0%, #0f1a0f 50%, #0a0a0a 100%);
}
.trainer-card:nth-child(1) .trainer-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(57, 255, 20, 0.06) 0%, transparent 70%);
}

.trainer-card:nth-child(2) .trainer-card__image {
  background: linear-gradient(180deg, #141414 0%, #1a0f0a 50%, #0a0a0a 100%);
}
.trainer-card:nth-child(2) .trainer-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 69, 0, 0.06) 0%, transparent 70%);
}

.trainer-card:nth-child(3) .trainer-card__image {
  background: linear-gradient(180deg, #141414 0%, #0f0f1a 50%, #0a0a0a 100%);
}
.trainer-card:nth-child(3) .trainer-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(100, 100, 255, 0.05) 0%, transparent 70%);
}

/* Placeholder silhouette */
.trainer-card__silhouette {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 240px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.03) 100%);
  border-radius: 80px 80px 0 0;
}

.trainer-card:hover .trainer-card__tag {
  border-color: var(--border-light);
  color: var(--text);
}

/* ── Footer Preview Aliases (base rules) ─────────────────────── */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

/* ── Theme Badge (Preview Only) ──────────────────────────────── */
.theme-badge {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 9999;
  background: var(--surface-3);
  border: 1px solid var(--border);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.theme-badge span {
  color: var(--neon);
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .animate-on-scroll { opacity: 1; transform: none; }
  .hero__glow { animation: none; opacity: 0.5; }
  .hero__scroll-line { animation: none; }
  .cta-section__ring { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════ */
@media print {
  .site-header, .site-footer, .scroll-to-top, .nav-toggle, .theme-toggle,
  .breadcrumbs, .blog-pagination, .article-toc { display: none; }
  body { background: white; color: black; font-size: 12pt; }
  .container, .container-narrow { max-width: 100%; padding: 0; }
  a { color: inherit; text-decoration: underline; }
  .hero__glow, .hero__diagonal, .hero__bg, .cta-section__ring, .cta-section__bg { display: none; }
}
