/* ============================================================
   lerenlassen.nl — HODAN Industrial Cyberpunk Theme
   Design: Dark canvas with cyan/magenta/orange accents,
           diamond plate textures, gradient borders, glass cards
   ============================================================ */

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

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* HODAN Industrial Cyberpunk */
  --color-primary: #00e5ff;
  --color-accent: #ff6b00;
  --color-secondary: #ff00e5;
  --color-text: #e0e0e0;
  --color-text-muted: #6b7280;
  --color-bg: #0a0a0f;
  --color-bg-end: #0f0a1a;
  --color-white: rgba(255, 255, 255, 0.04);
  --color-border: rgba(0, 229, 255, 0.1);
  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-danger: #f87171;

  /* HODAN accents */
  --hodan-cyan: #00e5ff;
  --hodan-magenta: #ff00e5;
  --hodan-orange: #ff6b00;
  --hodan-cyan-dim: rgba(0, 229, 255, 0.15);
  --hodan-magenta-dim: rgba(255, 0, 229, 0.15);
  --hodan-orange-dim: rgba(255, 107, 0, 0.15);

  /* Glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(0, 229, 255, 0.1);
  --glass-border-hover: rgba(0, 229, 255, 0.25);
  --glass-blur: blur(12px);
  --glass-nav: rgba(10, 10, 15, 0.85);
  --glass-nav-blur: blur(16px);

  /* Course type palette */
  --color-type-migmag: #00e5ff;
  --color-type-tig: #ff00e5;
  --color-type-stick: #ff6b00;
  --color-type-roulation: #7c3aed;
  --color-type-introduction: #34d399;

  /* Fonts */
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-heading: "Exo 2", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radii — asymmetric industrial */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-card: 48px 12px 48px 12px;
  --radius-card-sm: 24px 8px 24px 8px;

  /* Shadows & effects */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(255, 107, 0, 0.35);
  --shadow-glow-cyan: 0 0 20px rgba(0, 229, 255, 0.25);
  --shadow-glow-magenta: 0 0 20px rgba(255, 0, 229, 0.25);
  --transition: 0.2s ease;

  /* Gradients */
  --gradient-heading: linear-gradient(
    135deg,
    var(--hodan-cyan),
    var(--hodan-magenta)
  );
  --gradient-cta: linear-gradient(135deg, #e05500, var(--hodan-orange));
  --gradient-secondary: linear-gradient(
    135deg,
    var(--hodan-cyan),
    var(--hodan-magenta)
  );
  --gradient-border: linear-gradient(
    135deg,
    var(--hodan-cyan),
    var(--hodan-magenta),
    var(--hodan-orange)
  );

  /* Diamond plate SVG texture (encoded) */
  --texture-diamond: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0L20 10L10 20L0 10Z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
}

/* ── Gradient Border (mask-composite) ─────────────────────── */
.gradient-border {
  position: relative;
}
.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* ── Scan Line Animation ──────────────────────────────────── */
@keyframes scan-line {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(200%);
  }
}

.scan-line-hover {
  position: relative;
  overflow: hidden;
}
.scan-line-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 229, 255, 0.06) 50%,
    transparent 100%
  );
  height: 50%;
  width: 100%;
  pointer-events: none;
  transform: translateY(-100%);
  z-index: 2;
}
.scan-line-hover:hover::after {
  animation: scan-line 1.5s ease-in-out;
}

/* ── Sparkle Decoration ───────────────────────────────────── */
.sparkle::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--hodan-cyan);
  transform: rotate(45deg);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* ── Single-corner radius variants for repeated cards ────── */
.radius-tl {
  border-radius: 48px 12px 12px 12px;
}
.radius-tr {
  border-radius: 12px 48px 12px 12px;
}
.radius-br {
  border-radius: 12px 12px 48px 12px;
}
.radius-bl {
  border-radius: 12px 12px 12px 48px;
}

/* ── Base Typography ────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-bg), var(--color-bg-end));
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  margin-bottom: 0.75rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--hodan-cyan);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--hodan-magenta);
}

ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
li {
  margin-bottom: 0.25rem;
}

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

/* ── Ambient glow orbs ────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      ellipse 500px 500px at 10% 20%,
      rgba(0, 229, 255, 0.12),
      transparent
    ),
    radial-gradient(
      ellipse 400px 400px at 85% 15%,
      rgba(255, 0, 229, 0.08),
      transparent
    ),
    radial-gradient(
      ellipse 450px 450px at 50% 85%,
      rgba(255, 107, 0, 0.06),
      transparent
    );
  pointer-events: none;
  animation: float-orbs 12s ease-in-out infinite alternate;
}

@keyframes float-orbs {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

/* Diamond plate texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  background-image: var(--texture-diamond);
  background-size: 20px 20px;
  pointer-events: none;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container-narrow {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1rem;
}

main {
  flex: 1;
}

/* Simple grid helpers */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (min-width: 768px) {
  .grid-2-fixed {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3-fixed {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid-4-fixed {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-nav);
  backdrop-filter: var(--glass-nav-blur);
  -webkit-backdrop-filter: var(--glass-nav-blur);
  border-bottom: 1px solid var(--glass-border);
}

/* Gradient border on bottom */
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
}

/* Grid: logo spans 2 rows, bars stack on right */
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Logo — spans both rows with step/notch effect */
.site-logo {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.5rem 1.5rem 0.5rem 0;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 50%,
    calc(100% - 12px) 100%,
    0 100%
  );
  background: rgba(0, 229, 255, 0.03);
}
.site-logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-logo-text:hover {
  text-decoration: none;
  color: var(--color-text);
}
.site-logo-text span {
  color: var(--hodan-cyan);
}

/* Top bar (phone, email — right-aligned) */
.header-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
  padding: 0.35rem 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.topbar-contact {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.topbar-contact a {
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
}
.topbar-contact a:hover {
  color: var(--hodan-cyan);
  text-decoration: none;
}

/* Main navigation bar */
.header-navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.4rem 0;
}

/* Navbar CTA — orange gradient, white text */
.navbar-cta {
  display: none;
  padding: 0.5rem 1.5rem;
  background: var(--gradient-cta);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow);
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    filter var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-cta:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.15);
  box-shadow: 0 0 28px rgba(255, 107, 0, 0.5);
  transform: translateY(-1px);
}

/* Primary nav */
.site-nav {
  display: none;
}

.site-nav > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav > ul > li {
  position: relative;
  margin: 0;
}

.site-nav a,
.site-nav button.nav-toggle {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition:
    background var(--transition),
    color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.site-nav a:hover,
.site-nav button.nav-toggle:hover {
  background: var(--glass-bg-hover);
  color: var(--hodan-magenta);
  text-decoration: none;
}
.site-nav a.active {
  color: var(--hodan-magenta);
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--glass-nav);
  backdrop-filter: var(--glass-nav-blur);
  -webkit-backdrop-filter: var(--glass-nav-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 200px;
  z-index: 200;
  padding: 0.4rem 0;
  list-style: none;
}

.nav-dropdown li {
  margin: 0;
}
.nav-dropdown a {
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text);
}
.nav-dropdown a:hover {
  color: var(--hodan-magenta);
  background: var(--glass-bg-hover);
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown,
.nav-item.has-dropdown.is-open .nav-dropdown {
  display: block;
}

.nav-caret {
  font-size: 0.65rem;
  opacity: 0.6;
  margin-left: 0.1rem;
  stroke: var(--color-text-muted);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.site-nav-mobile {
  display: none;
  background: var(--glass-nav);
  backdrop-filter: var(--glass-nav-blur);
  -webkit-backdrop-filter: var(--glass-nav-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}
.site-nav-mobile.is-open {
  display: block;
}
.site-nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav-mobile li {
  margin: 0;
}
.site-nav-mobile a {
  display: block;
  padding: 0.85rem 1rem;
  min-height: 44px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--glass-border);
}
.site-nav-mobile .nav-sub a {
  padding-left: 2rem;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.site-nav-mobile a:hover {
  background: var(--glass-bg-hover);
  color: var(--hodan-magenta);
}

/* Mobile nav: toggle buttons (section headers) */
.site-nav-mobile .nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 44px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.site-nav-mobile .nav-toggle:hover {
  background: var(--glass-bg-hover);
  color: var(--hodan-magenta);
}

/* Mobile nav: collapsible sub-menus */
.site-nav-mobile .nav-sub {
  display: none;
}
.site-nav-mobile .nav-sub.is-open {
  display: block;
}

/* Mobile nav: CTA link */
.site-nav-mobile a.mobile-nav-cta {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Removed: @media (max-width: 400px) block — logo now uses clamp() for fluid scaling */

@media (min-width: 992px) {
  .site-nav {
    display: block;
  }
  .navbar-cta {
    display: inline-block;
  }
  .nav-hamburger {
    display: none;
  }
  .site-nav-mobile {
    display: none !important;
  }
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text-muted);
  padding: 3rem 0 0;
  margin-top: auto;
  border-radius: 12px 48px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--texture-diamond);
  background-size: 20px 20px;
  opacity: 0.02;
  pointer-events: none;
  border-radius: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-col h3 {
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 229, 255, 0.2);
  display: inline-block;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--hodan-cyan);
  text-decoration: none;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--hodan-cyan);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.footer-contact-list a {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.footer-col strong {
  color: var(--color-text);
}

.footer-certs {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.footer-certs img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  padding: 0.5rem;
  opacity: 0.9;
}
.footer-certs img:hover {
  opacity: 1;
}

.footer-bottom {
  background: rgba(10, 10, 15, 0.98);
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  padding: 0.85rem 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a {
  color: var(--color-text-muted);
  text-decoration: none;
  margin-left: 1rem;
}
.footer-bottom a:hover {
  color: var(--hodan-magenta);
  text-decoration: none;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.3;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: #fff;
}
.btn-secondary:hover {
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
}

.btn-disabled,
.btn[disabled] {
  background: var(--glass-bg);
  color: var(--color-text-muted);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}
.btn-disabled:hover {
  background: var(--glass-bg);
  transform: none;
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  background: var(--color-bg);
  background-image: linear-gradient(
    135deg,
    var(--color-bg),
    var(--color-bg-end)
  );
  color: var(--color-text);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.18;
}

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(226, 232, 240, 0.88);
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Page Hero (non-homepage) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.95),
    rgba(10, 10, 15, 0.8)
  );
  color: var(--color-text);
  padding: 2.5rem 0;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
}
.page-hero h1 {
  color: #fff;
  -webkit-text-fill-color: #fff;
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: rgba(226, 232, 240, 0.8);
  font-size: 1.05rem;
  margin: 0;
}

/* Page hero with image */
.page-hero-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.breadcrumb a {
  color: var(--hodan-cyan);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--hodan-magenta);
}
.breadcrumb span {
  margin: 0 0.35rem;
}

.breadcrumb-light {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb-light a {
  color: var(--hodan-cyan);
  text-decoration: none;
}
.breadcrumb-light a:hover {
  color: var(--hodan-magenta);
}
.breadcrumb-light span {
  margin: 0 0.35rem;
}

/* ── Section Utilities ───────────────────────────────────────── */
.section {
  padding: 3.5rem 0;
}
.section-sm {
  padding: 2rem 0;
}
.section-lg {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 {
  margin-bottom: 0.5rem;
}
.section-title p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 0;
}

.section-alt {
  background: var(--color-white);
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity var(--transition);
  z-index: 1;
}
.card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 32px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}
.card:hover::before {
  opacity: 1;
}

.card-body {
  padding: 1.5rem;
}
.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.card-text {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ── Course Cards ────────────────────────────────────────────── */
.course-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
  position: relative;
}
.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity var(--transition);
  z-index: 1;
}
.course-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 32px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}
.course-card:hover::before {
  opacity: 1;
}

.course-card-header {
  background: rgba(10, 10, 15, 0.6);
  color: var(--color-text);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}
.course-card-header h2 {
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
  font-size: 1.1rem;
  margin: 0;
}

.course-card-body {
  padding: 1.25rem 1.5rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.course-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--hodan-orange);
  -webkit-text-fill-color: var(--hodan-orange);
  margin-bottom: 0.5rem;
}
.course-price small {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--color-text-muted);
  -webkit-text-fill-color: var(--color-text-muted);
  margin-left: 0.25rem;
}

.course-slots {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.avail-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.avail-progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.avail-progress-fill--green {
  background: var(--color-success);
}
.avail-progress-fill--amber {
  background: var(--color-warning);
}
.avail-progress-fill--red {
  background: var(--color-danger);
}
.slots-available {
  color: var(--color-success);
}
.slots-limited {
  color: var(--color-warning);
}
.slots-full {
  color: var(--color-danger);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-full {
  background: rgba(248, 113, 113, 0.15);
  color: var(--color-danger);
}
.badge-limited {
  background: rgba(251, 191, 36, 0.15);
  color: var(--color-warning);
}
.badge-open {
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-success);
}

/* ── News Cards ──────────────────────────────────────────────── */
.news-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
  position: relative;
}
.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity var(--transition);
  z-index: 1;
}
.news-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 32px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}
.news-card:hover::before {
  opacity: 1;
}

.news-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
  font-size: 2rem;
}

.news-card-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.news-card-image-link {
  display: block;
  position: relative;
}
.news-card-image-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.7) 0%,
    transparent 50%
  );
  pointer-events: none;
}
.news-card-title {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text);
  flex: 1;
  margin-bottom: 1rem;
}
.news-card-link {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--hodan-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.news-card-link:hover {
  color: var(--hodan-magenta);
  text-decoration: none;
}
.news-card-link::after {
  content: " →";
}

/* ── Product Cards ───────────────────────────────────────────── */
.product-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
  position: relative;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity var(--transition);
  z-index: 1;
}
.product-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 32px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}
.product-card:hover::before {
  opacity: 1;
}
.product-card-body {
  padding: 1.25rem;
}
.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}
.product-card-sku {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}
.product-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--hodan-orange);
  -webkit-text-fill-color: var(--hodan-orange);
}

/* ── Content Pages (CKEditor output) ────────────────────────── */
.page-content {
  padding: 2.5rem 0;
}

.rich-text h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.rich-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.rich-text p {
  margin-bottom: 1rem;
}
.rich-text ul,
.rich-text ol {
  margin-bottom: 1rem;
  padding-left: 1.75rem;
}
.rich-text li {
  margin-bottom: 0.35rem;
}
.rich-text a {
  color: var(--hodan-cyan);
  text-decoration: underline;
}
.rich-text a:hover {
  color: var(--hodan-magenta);
}
.rich-text img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  max-width: 100%;
}
/* Wrap tables in a scrollable container on mobile */
.rich-text .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}
.rich-text .table-scroll table {
  margin: 0;
}
.rich-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  min-width: 480px;
}
.rich-text th {
  background: rgba(10, 10, 15, 0.6);
  color: var(--hodan-cyan);
  -webkit-text-fill-color: var(--hodan-cyan);
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 600;
}
.rich-text td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.rich-text tr:nth-child(even) td {
  background: var(--color-bg);
}
.rich-text blockquote {
  border-left: 4px solid var(--hodan-magenta);
  padding: 0.75rem 1.25rem;
  background: var(--glass-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  margin: 1.5rem 0;
  color: var(--color-text);
}

/* ── Homepage Sections ───────────────────────────────────────── */
.home-features {
  background: var(--glass-bg);
}
.feature-item {
  text-align: center;
  padding: 1rem;
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.intro-section {
  background: var(--color-bg);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.intro-grid img {
  border-radius: var(--radius-lg);
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-container {
  max-width: 640px;
  margin-inline: auto;
  padding-bottom: 120px;
}

.form-section {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
}
.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.3;
  z-index: 1;
}
.form-section h3 {
  font-size: 0.875rem;
  color: var(--hodan-cyan);
  -webkit-text-fill-color: var(--hodan-cyan);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}
.form-group .hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row .form-group {
  margin-bottom: 0;
}
@media (min-width: 576px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 576px) {
  .form-row--postal {
    grid-template-columns: 1fr 2fr;
  }
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--glass-bg);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--hodan-cyan);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.4);
}
input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}
select {
  color-scheme: dark;
}
input.is-error,
textarea.is-error {
  border-color: var(--color-danger);
}
textarea {
  min-height: 100px;
  resize: vertical;
}

/* Participant blocks */
.participant-block {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card-sm);
  padding: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
}
.participant-number {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--hodan-cyan);
  -webkit-text-fill-color: var(--hodan-cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.participant-number::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--hodan-cyan);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.remove-participant {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--hodan-magenta);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
}

.add-btn {
  background: none;
  border: 2px dashed rgba(255, 0, 229, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  width: 100%;
  cursor: pointer;
  color: var(--hodan-magenta);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: inherit;
  transition:
    background var(--transition),
    border-color var(--transition);
}
.add-btn:hover {
  background: rgba(255, 0, 229, 0.05);
  border-color: var(--hodan-magenta);
}

/* Total bar */
.total-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--glass-nav);
  backdrop-filter: var(--glass-nav-blur);
  -webkit-backdrop-filter: var(--glass-nav-blur);
  border-top: 1px solid var(--glass-border);
}
.total-bar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
}
.total-bar-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}
.total-bar-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.total-bar strong {
  color: var(--color-text);
  font-size: 0.9rem;
}
.total-bar .hint {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}
.total-bar .btn-submit {
  width: 100%;
}
.total-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--hodan-cyan);
  -webkit-text-fill-color: var(--hodan-cyan);
}

.btn-submit {
  padding: 1rem;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--gradient-cta);
  color: #fff;
  font-family: inherit;
  transition: all var(--transition);
}
.btn-submit:hover {
  box-shadow: var(--shadow-glow);
}

/* Form errors */
.form-errors {
  background: rgba(255, 0, 229, 0.08);
  border: 1px solid rgba(255, 0, 229, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.form-errors ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--hodan-magenta);
  font-size: 0.875rem;
}
.form-errors li {
  margin-bottom: 0.3rem;
}

/* Hide CTA links on booking page */
.booking-page .booking-cta-hide {
  display: none;
}

/* Course summary block (booking form) */
.course-summary-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

/* ── Booking Result Pages ────────────────────────────────────── */
.result-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 3rem 1rem;
}

.result-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  text-align: center;
  max-width: 520px;
  width: 100%;
  position: relative;
}
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  z-index: 1;
}

.result-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}
.result-icon-success {
  color: var(--hodan-cyan);
  animation: pulse-glow 2s ease-in-out infinite;
}
.result-icon-warning {
  color: var(--hodan-magenta);
}
.result-icon-cancel {
  color: var(--hodan-magenta);
}

@keyframes pulse-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.6));
  }
}
.result-icon-danger {
  color: var(--color-danger);
}
.result-icon-error {
  color: var(--color-danger);
}
/* SVG icons inside result-icon need proper sizing */
.result-icon svg {
  display: inline-block;
}

.result-card h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.result-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.result-info-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  text-align: left;
}
.result-info-box h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  -webkit-text-fill-color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.result-info-box p {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.result-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── Pricing Table ───────────────────────────────────────────── */
.pricing-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.pricing-table th {
  background: rgba(10, 10, 15, 0.6);
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.pricing-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  text-align: center;
}
.pricing-table tr:nth-child(even) td {
  background: var(--color-bg);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table td:first-child {
  text-align: left;
  font-weight: 600;
}

/* ── Detail Grid (course detail) ─────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.detail-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.detail-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.detail-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
}
.dates-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dates-list li {
  padding: 0.15rem 0;
  font-weight: 500;
}

/* ── Availability Tag ────────────────────────────────────────── */
.avail-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.avail-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.avail-open {
  color: var(--color-success);
  background: rgba(52, 211, 153, 0.15);
}
.avail-limited {
  color: var(--color-warning);
  background: rgba(251, 191, 36, 0.15);
}
.avail-full {
  color: var(--color-danger);
  background: rgba(248, 113, 113, 0.15);
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border-left: 4px solid;
}
.alert-success {
  background: rgba(52, 211, 153, 0.1);
  border-color: var(--color-success);
  color: var(--color-success);
}
.alert-warning {
  background: rgba(251, 191, 36, 0.1);
  border-color: var(--color-warning);
  color: var(--color-warning);
}
.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border-color: var(--color-danger);
  color: var(--color-danger);
}
.alert-info {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--hodan-cyan);
  color: var(--hodan-cyan);
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 3rem 0;
  text-align: center;
  position: relative;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--texture-diamond);
  background-size: 20px 20px;
  opacity: 0.03;
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
}
.cta-banner h2 {
  margin-bottom: 0.5rem;
}
.cta-banner p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* ── News Article ────────────────────────────────────────────── */
.article-header {
  margin-bottom: 2rem;
}
.article-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.article-image {
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  max-height: 420px;
  width: 100%;
  object-fit: cover;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--hodan-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 2rem;
}
.article-back:hover {
  color: var(--hodan-magenta);
  text-decoration: none;
}
.article-back::before {
  content: "← ";
}

/* ── Booking Entry ───────────────────────────────────────────── */
.booking-detail {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.booking-detail .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.booking-detail .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 0.15rem;
}

/* ── Utility Classes ─────────────────────────────────────────── */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-muted {
  color: var(--color-text-muted);
}
.text-primary {
  color: var(--color-primary);
}
.text-secondary {
  color: var(--color-secondary);
}
.text-accent {
  color: var(--color-accent);
}
.text-success {
  color: var(--color-success);
}
.text-warning {
  color: var(--color-warning);
}
.text-danger {
  color: var(--color-danger);
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive Helpers ──────────────────────────────────────── */
@media (max-width: 575px) {
  .hide-xs {
    display: none !important;
  }
  .container {
    padding-inline: 0.75rem;
  }
  .section {
    padding: 2rem 0;
  }
  .hero {
    padding: 2rem 0 1.5rem;
  }
  .page-section {
    padding: 2rem 0;
  }
  .page-hero {
    padding: 1.5rem 0;
  }

  /* Reduce asymmetric radius on small screens */
  .radius-tl {
    border-radius: 24px 8px 8px 8px;
  }
  .radius-tr {
    border-radius: 8px 24px 8px 8px;
  }
  .radius-br {
    border-radius: 8px 8px 24px 8px;
  }
  .radius-bl {
    border-radius: 8px 8px 8px 24px;
  }
  /* Tighter card padding */
  .card-body,
  .course-card-body,
  .news-card-body {
    padding: 1rem;
  }
  .course-card-header {
    padding: 0.75rem 1rem;
  }

  /* Stack course card actions full-width */
  .course-card-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .course-card-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Reduce form section padding */
  .form-section {
    padding: 1.25rem;
  }

  /* Footer bottom: stack copyright + legal links */
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .footer-bottom a {
    margin-left: 0;
  }

  /* Result card: tighter padding */
  .result-card {
    padding: 1.5rem;
  }
  .result-page {
    padding: 2rem 0.75rem;
  }

  /* Total bar: tighter on small screens */
  .total-price {
    font-size: 1.35rem;
  }

  /* CTA banner */
  .cta-banner {
    padding: 2rem 0;
  }

  /* Product card body */
  .product-card-body {
    padding: 1rem;
  }
}

@media (min-width: 576px) {
  .show-xs-only {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ── Page Section (standard page content wrapper) ─────────── */
.page-section {
  padding: 3rem 0;
}

/* ── Page Hero meta (date/author line below h1) ────────────── */
.page-hero-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ── Page hero with image overlay ─────────────────────────── */
.page-hero-image {
  position: relative;
  overflow: hidden;
  max-height: 320px;
}
.page-hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 15, 0.88),
    rgba(10, 10, 15, 0.55)
  );
  display: flex;
  align-items: flex-end;
  padding-bottom: 2rem;
}
.page-hero-overlay h1 {
  color: #fff;
  -webkit-text-fill-color: #fff;
  margin: 0;
}

/* ── Homepage content wrapper ──────────────────────────────── */
.homepage-content {
  padding: 3rem 0;
  color: var(--color-text);
}

/* ── Article layout (news detail) ─────────────────────────── */
.article-layout {
  max-width: 780px;
  margin-inline: auto;
}
.article-body {
  width: 100%;
}
.article-featured-image {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  display: block;
}
.article-back {
  margin-top: 2.5rem;
}

/* ── Grid layouts for listing pages ───────────────────────── */
.news-grid,
.product-grid {
  margin-top: 2rem;
}

/* ── Product grid section (within pages) ──────────────────── */
.product-grid-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--glass-border);
}
.product-grid-section h2 {
  margin-bottom: 1.5rem;
}

/* ── Product card title alias ──────────────────────────────── */
.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

/* ── Course listing grid ───────────────────────────────────── */
.courses-grid {
  gap: 1.5rem;
}

/* ── Course card actions (info + book buttons) ─────────────── */
.course-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* ── Course detail layout ──────────────────────────────────── */
.course-detail-grid {
  max-width: 640px;
}
.course-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.course-detail-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ── Course summary box title/meta ─────────────────── */
.course-summary-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
}
.course-summary-meta {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

/* ── Result message (below h1 in result cards) ─────────────── */
.result-message {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* ── Hero Carousel ──────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--color-bg);
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-height: 480px;
  background: var(--color-bg) center/cover no-repeat;
  position: relative;
}

/* Slide background placeholders — replace with real images when available */
.hero-slide--1 {
  background-image: linear-gradient(
    135deg,
    var(--color-bg) 0%,
    var(--color-bg-end) 100%
  );
}
.hero-slide--2 {
  background-image: linear-gradient(
    135deg,
    var(--color-bg) 0%,
    rgba(0, 229, 255, 0.05) 100%
  );
}
.hero-slide--3 {
  background-image: linear-gradient(
    135deg,
    var(--color-bg) 0%,
    rgba(255, 0, 229, 0.05) 100%
  );
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
    to right,
    rgba(10, 10, 15, 0.92),
    rgba(10, 10, 15, 0.65)
  );
}
.hero-slide-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--texture-diamond);
  background-size: 20px 20px;
  opacity: 0.03;
  pointer-events: none;
}

.hero-slide-overlay .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero-title {
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  max-width: 680px;
}

.hero-lead {
  color: rgba(226, 232, 240, 0.85);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 1.75rem;
  max-width: 560px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Prev / Next buttons */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition);
  z-index: 10;
}
.hero-prev {
  left: 1rem;
}
.hero-next {
  right: 1rem;
}
.hero-prev:hover,
.hero-next:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transform: rotate(45deg);
  transition: all var(--transition);
}
.hero-dot.is-active {
  background: var(--hodan-cyan);
  border-color: var(--hodan-cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

/* Accent button variant (CTA in carousel) */
.btn-accent {
  background: var(--gradient-cta);
  color: #fff;
  border: none;
  font-weight: 700;
}
.btn-accent:hover {
  box-shadow: var(--shadow-glow);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 600px) {
  .hero-slide {
    min-height: 260px;
  }
  .hero-slide-overlay .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .hero-prev,
  .hero-next {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
  .hero-prev {
    left: 0.5rem;
  }
  .hero-next {
    right: 0.5rem;
  }
}

/* ── Stats Bar ────────────────────────────────────────────────── */
.stats-bar {
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.75rem 0;
  position: relative;
}
.stats-bar::before,
.stats-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
}
.stats-bar::before {
  top: -1px;
}
.stats-bar::after {
  bottom: -1px;
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stats-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--hodan-cyan);
  -webkit-text-fill-color: var(--hodan-cyan);
  line-height: 1.2;
}
.stats-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 575px) {
  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* ── Calendar Grid (Aanmelden page) ─────────────────────────── */

/* Month navigation */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background var(--transition),
    border-color var(--transition);
  min-width: 120px;
  justify-content: center;
}

.cal-nav-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--hodan-magenta);
}

.cal-nav-btn--disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.cal-nav-current {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
  min-width: 200px;
  text-align: center;
}
@media (max-width: 575px) {
  .cal-nav {
    gap: 0.75rem;
  }
  .cal-nav-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
    min-width: 0;
  }
  .cal-nav-current {
    font-size: 0.95rem;
    min-width: 0;
  }
}

.cal-list-empty {
  padding: 2rem 0;
  text-align: center;
}

/* Legend */
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
}
.cal-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.cal-legend-dot--migMag {
  background: var(--color-type-migmag);
}
.cal-legend-dot--tig {
  background: var(--color-type-tig);
}
.cal-legend-dot--stick {
  background: var(--color-type-stick);
}
.cal-legend-dot--roulation {
  background: var(--color-type-roulation);
}
.cal-legend-dot--introduction {
  background: var(--color-type-introduction);
}

/* Month wrapper */
.cal-grid-month {
  margin-bottom: 2.5rem;
}
.cal-grid-month-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid rgba(0, 229, 255, 0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

/* 7-column grid — gap used as 1px cell border */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Day-of-week headers */
.cal-grid-header {
  background: rgba(10, 10, 15, 0.6);
  color: var(--color-text-muted);
  text-align: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Day cells */
.cal-grid-cell {
  background: var(--glass-bg);
  min-height: 80px;
  padding: 0.35rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cal-grid-empty {
  background: rgba(15, 23, 42, 0.4);
}
.cal-grid-cell.is-past {
  opacity: 0.5;
  pointer-events: none;
}
.cal-grid-cell.is-today {
  border-color: var(--hodan-cyan);
  box-shadow: inset 0 0 0 2px var(--hodan-cyan);
}
.cal-grid-cell.has-courses {
  background: var(--glass-bg-hover);
}
.cal-grid-empty.has-courses {
  background: var(--glass-bg-hover);
}

/* Day number */
.cal-grid-day-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 0.15rem;
}

/* Course chips */
.cal-chip {
  display: block;
  width: 100%;
  padding: 0.2rem 0.35rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition:
    filter var(--transition),
    box-shadow var(--transition);
}
.cal-chip:hover {
  filter: brightness(1.15);
  text-decoration: none;
  color: #fff;
}
.cal-chip[aria-disabled="true"] {
  cursor: default;
  text-decoration: line-through;
  opacity: 0.6;
}
.cal-chip--migMag {
  background: var(--color-type-migmag);
}
.cal-chip--tig {
  background: var(--color-type-tig);
}
.cal-chip--stick {
  background: var(--color-type-stick);
}
.cal-chip--roulation {
  background: var(--color-type-roulation);
}
.cal-chip--introduction {
  background: var(--color-type-introduction);
}
.cal-chip--booglassen {
  background: var(--color-type-stick);
}

/* Chip badge (Vol / slot count) */
.cal-chip-badge {
  display: inline-block;
  margin-left: 0.2rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  padding: 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

/* Responsive visibility */
.cal-list-view {
  display: none;
}
.cal-grid-view {
  display: block;
}
@media (max-width: 767px) {
  .cal-grid-view {
    display: none;
  }
  .cal-list-view {
    display: block;
  }
}

/* Mobile list */
.cal-list-items {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.cal-list-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card-sm);
  padding: 0.875rem 1rem;
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}
.cal-list-item:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--glass-border-hover);
}
.cal-list-item.is-full {
  opacity: 0.6;
  background: rgba(15, 23, 42, 0.4);
}
.cal-list-date {
  flex: 0 0 52px;
  text-align: center;
  background: rgba(0, 229, 255, 0.2);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.5rem;
}
.cal-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.cal-month-short {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  opacity: 0.85;
}
.cal-list-info {
  flex: 1;
  min-width: 0;
}
.cal-course-title {
  font-weight: 600;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.cal-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cal-list-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

/* Color dot prefix for course title in mobile list */
.cal-chip-label--migMag::before,
.cal-chip-label--tig::before,
.cal-chip-label--stick::before,
.cal-chip-label--booglassen::before,
.cal-chip-label--roulation::before,
.cal-chip-label--introduction::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.cal-chip-label--migMag::before {
  background: var(--color-type-migmag);
}
.cal-chip-label--tig::before {
  background: var(--color-type-tig);
}
.cal-chip-label--stick::before {
  background: var(--color-type-stick);
}
.cal-chip-label--booglassen::before {
  background: var(--color-type-stick);
}
.cal-chip-label--roulation::before {
  background: var(--color-type-roulation);
}
.cal-chip-label--introduction::before {
  background: var(--color-type-introduction);
}

/* Availability badges */
.avail-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.avail-open {
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-success);
}
.avail-almost {
  background: rgba(251, 191, 36, 0.15);
  color: var(--color-warning);
}
.avail-full {
  background: rgba(248, 113, 113, 0.15);
  color: var(--color-danger);
}

/* Footer note */
.calendar-footer-note {
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  color: var(--color-text-muted);
  font-size: 0.925rem;
}

/* ── Contact Form Section ────────────────────────────────────── */
.contact-form-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--glass-border);
}
.contact-form-section h2 {
  margin-bottom: 0.5rem;
}
.contact-form-section > p {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.contact-form {
  max-width: 640px;
}

.form-group--submit {
  margin-top: 1.5rem;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.form-alert--success {
  background: rgba(52, 211, 153, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.form-alert--error {
  background: rgba(248, 113, 113, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(248, 113, 113, 0.3);
}
.form-error {
  display: block;
  color: var(--color-danger);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

/* Footer address link (Google Maps) */
.footer-address-link {
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.6;
  transition: color var(--transition);
}
.footer-address-link:hover {
  color: var(--hodan-cyan);
  text-decoration: underline;
}

/* ── Scroll Animations ─────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  transition-delay: calc(var(--stagger-index, 0) * 0.1s);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Button Micro-interactions ──────────────────────────────── */
.btn:hover {
  transform: scale(1.02) translateY(-1px);
}
.btn:active {
  transform: scale(0.98);
}

/* ── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.05s !important;
  }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 0.05s;
  }
  body::before {
    animation: none;
  }
}
