/* ============================================================
   WIKANO — COMPLETE STYLESHEET
   Warm Palette | Spatial CSS Naming | color-mix() throughout
   ============================================================ */


:root {
  --base-cream: oklch(97% 0.02 80);
  --base-amber: oklch(68% 0.15 65);
  --base-terracotta: oklch(55% 0.14 35);
  --base-green: oklch(52% 0.12 150);
  --base-dark: oklch(22% 0.03 60);

  
  --color-bg: color-mix(in oklch, var(--base-cream), white 40%);
  --color-bg-tinted: color-mix(in oklch, var(--base-cream), var(--base-amber) 8%);
  --color-surface: color-mix(in oklch, white, var(--base-cream) 60%);
  --color-surface-raised: color-mix(in oklch, white, var(--base-amber) 4%);
  --color-border: color-mix(in oklch, var(--base-amber), white 70%);
  --color-border-strong: color-mix(in oklch, var(--base-amber), white 45%);

  --color-primary: var(--base-terracotta);
  --color-primary-hover: color-mix(in oklch, var(--base-terracotta), black 12%);
  --color-primary-light: color-mix(in oklch, var(--base-terracotta), white 75%);
  --color-primary-pale: color-mix(in oklch, var(--base-terracotta), white 90%);

  --color-amber: var(--base-amber);
  --color-amber-light: color-mix(in oklch, var(--base-amber), white 60%);
  --color-amber-pale: color-mix(in oklch, var(--base-amber), white 85%);

  --color-green: var(--base-green);
  --color-green-light: color-mix(in oklch, var(--base-green), white 70%);

  --color-text: color-mix(in oklch, var(--base-dark), var(--base-amber) 10%);
  --color-text-muted: color-mix(in oklch, var(--base-dark), white 40%);
  --color-text-light: color-mix(in oklch, white, var(--base-amber) 15%);

  --color-nav-bg: color-mix(in oklch, white, var(--base-cream) 50%);

  
  --shadow-sm: 0 1px 3px color-mix(in oklch, var(--base-amber), transparent 80%),
               0 1px 2px color-mix(in oklch, var(--base-dark), transparent 90%);
  --shadow-md: 0 4px 12px color-mix(in oklch, var(--base-amber), transparent 70%),
               0 2px 6px color-mix(in oklch, var(--base-dark), transparent 85%);
  --shadow-lg: 0 8px 32px color-mix(in oklch, var(--base-amber), transparent 60%),
               0 4px 16px color-mix(in oklch, var(--base-dark), transparent 80%),
               0 1px 4px color-mix(in oklch, var(--base-terracotta), transparent 85%);
  --shadow-xl: 0 20px 60px color-mix(in oklch, var(--base-amber), transparent 50%),
               0 8px 24px color-mix(in oklch, var(--base-dark), transparent 75%),
               0 2px 8px color-mix(in oklch, var(--base-terracotta), transparent 80%);

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

  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  
  --nav-h: 72px;
}


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

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

body.canvas {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }


h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-family: 'Poppins', sans-serif;
}
.section-eyebrow--light { color: var(--color-amber-light); }

.section-heading { margin-bottom: 1.25rem; }
.section-heading--light { color: var(--color-text-light); }

.text-link {
  color: var(--color-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease, color 0.2s ease;
}
.text-link:hover { color: var(--color-primary-hover); gap: 0.7rem; }


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--narrow { max-width: 800px; }

.canvas__section {
  padding: var(--space-2xl) 0;
}
.canvas__section--tinted {
  background-color: var(--color-bg-tinted);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  cursor: pointer;
  min-height: 48px;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: white;
}

.btn--ghost {
  background: color-mix(in oklch, white, transparent 20%);
  color: white;
  border: 1.5px solid color-mix(in oklch, white, transparent 40%);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: color-mix(in oklch, white, transparent 10%);
  border-color: white;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary-pale);
  transform: translateY(-2px);
}

.btn--warm {
  background: var(--color-amber);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}
.btn--warm:hover {
  background: color-mix(in oklch, var(--color-amber), black 10%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }


.nav-rail {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-nav-bg);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-rail.scrolled {
  background: color-mix(in oklch, white, var(--base-cream) 30%);
  box-shadow: var(--shadow-sm);
}

.nav-rail__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-rail__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-rail__logo { width: 36px; height: 36px; }
.nav-rail__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.nav-rail__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--color-text); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-link--active { color: var(--color-primary); }
.nav-link--active::after { transform: translateX(-50%) scaleX(1); }

.nav-rail__cta {
  display: none;
  background: var(--color-primary);
  color: white;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  margin-left: var(--space-sm);
  flex-shrink: 0;
}
.nav-rail__cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}


.nav-rail__border {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 1.5px;
  background: var(--color-border-strong);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-rail__border.visible { transform: translateX(-50%) scaleX(1); }


.nav-rail__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.nav-rail__hamburger:hover {
  background: var(--color-primary-pale);
}
.nav-rail__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}


.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: color-mix(in oklch, var(--base-terracotta), var(--base-dark) 20%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  pointer-events: none;
}

.drawer.open {
  transform: translateY(0);
  pointer-events: all;
}

.drawer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.drawer__item {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.drawer.open .drawer__item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.drawer.open .drawer__item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.22s; }
.drawer.open .drawer__item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.29s; }
.drawer.open .drawer__item:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.36s; }
.drawer.open .drawer__item:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.43s; }

.drawer__link {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 700;
  color: color-mix(in oklch, white, var(--base-amber) 20%);
  transition: color 0.2s ease;
  padding: 0.3rem 1rem;
  display: block;
}
.drawer__link:hover { color: white; }

.drawer__close {
  position: absolute;
  bottom: var(--space-xl);
  color: color-mix(in oklch, white, transparent 25%);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid color-mix(in oklch, white, transparent 60%);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  min-height: 48px;
}
.drawer__close:hover {
  color: white;
  border-color: white;
  background: color-mix(in oklch, white, transparent 85%);
}


.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stage__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stage__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stage__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in oklch, var(--base-dark), transparent 10%) 0%,
    color-mix(in oklch, var(--base-terracotta), transparent 30%) 50%,
    color-mix(in oklch, var(--base-dark), transparent 25%) 100%
  );
}

.stage__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--space-xl)) var(--space-md) var(--space-xl);
  width: 100%;
}

.stage__eyebrow {
  display: inline-block;
  background: color-mix(in oklch, var(--base-amber), transparent 70%);
  color: var(--color-amber-light);
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in oklch, var(--base-amber), transparent 55%);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.stage__headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 700px;
  text-shadow: 0 2px 20px color-mix(in oklch, var(--base-dark), transparent 50%);
}

.stage__accent {
  color: var(--color-amber);
  display: block;
}

.stage__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: color-mix(in oklch, white, var(--base-amber) 15%);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: 2.5rem;
}

.stage__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stage__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: color-mix(in oklch, white, transparent 82%);
  color: color-mix(in oklch, white, var(--base-amber) 10%);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in oklch, white, transparent 65%);
  backdrop-filter: blur(6px);
}

.stage__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: color-mix(in oklch, white, transparent 30%);
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.problem-card.spotlight {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.problem-card__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.problem-card.spotlight:hover .problem-card__img {
  transform: scale(1.04);
}

.problem-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, color-mix(in oklch, var(--base-dark), transparent 10%));
  color: white;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}


.gallery--benefits {
  background: var(--color-bg-tinted);
}

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

.shelf {
  display: grid;
  gap: var(--space-md);
}

.shelf--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.shelf--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.shelf__card {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shelf__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.benefit-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  transition: background 0.3s ease, transform 0.3s ease;
}

.shelf__card:hover .benefit-card__icon {
  background: var(--color-primary-light);
  transform: scale(1.1);
}

.benefit-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.benefit-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}


.benefit-card--animated {
  position: relative;
  background: var(--color-surface-raised);
  z-index: 0;
}

.benefit-card--animated::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius-lg) + 1.5px);
  background: conic-gradient(
    from 0deg,
    var(--color-primary),
    var(--color-amber),
    var(--color-green),
    var(--color-primary)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: borderRotate 3s linear infinite paused;
}

.benefit-card--animated:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderRotate {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}


.modules-section {
  position: relative;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.modules-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.modules-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modules-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in oklch, var(--base-dark), transparent 5%) 0%,
    color-mix(in oklch, var(--base-terracotta), transparent 15%) 100%
  );
}

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

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

.modules-header__sub {
  color: color-mix(in oklch, white, var(--base-amber) 20%);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.module-card {
  background: color-mix(in oklch, white, transparent 88%);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in oklch, white, transparent 65%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: background 0.3s ease, transform 0.3s ease;
}

.module-card:hover {
  background: color-mix(in oklch, white, transparent 80%);
  transform: translateY(-4px);
}

.module-card__num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-amber);
  margin-bottom: 0.75rem;
}

.module-card__title {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 0.75rem;
}

.module-card p {
  font-size: 0.875rem;
  color: color-mix(in oklch, white, var(--base-amber) 25%);
  line-height: 1.65;
  margin: 0;
}

.modules-cta {
  text-align: center;
  margin-top: var(--space-xl);
}


.science-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.science-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  height: 360px;
}

.science-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.science-tag {
  background: var(--color-primary-pale);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-light);
}


.chrono-section {
  background: var(--color-bg-tinted);
}

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

.chrono-sub {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.chrono-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.chrono-card {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chrono-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.chrono-card--before { border-top-color: var(--color-amber); }
.chrono-card--after { border-top-color: var(--color-primary); }

.chrono-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.chrono-card__header i {
  font-size: 1.4rem;
  color: var(--color-amber);
}

.chrono-card--after .chrono-card__header i { color: var(--color-primary); }

.chrono-card__header h3 { margin: 0; }

.chrono-card__label {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.chrono-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}


.dual-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.dual-cta-card {
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform 0.3s ease;
}

.dual-cta-card:hover { transform: translateY(-4px); }

.dual-cta-card--primary.spotlight {
  background: var(--color-primary);
  box-shadow: var(--shadow-xl);
  color: white;
}

.dual-cta-card--primary .dual-cta-card__title { color: white; }
.dual-cta-card--primary p { color: color-mix(in oklch, white, var(--base-terracotta) 20%); }

.dual-cta-card--secondary {
  background: var(--color-surface-raised);
  border: 1.5px solid var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.dual-cta-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--color-amber);
}

.dual-cta-card--secondary .dual-cta-card__icon { color: var(--color-primary); }

.dual-cta-card__title { margin-bottom: 0.75rem; }

.dual-cta-card p { margin-bottom: var(--space-lg); }


.calculator-wrapper {
  background: var(--color-surface-raised);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.calculator-header {
  margin-bottom: var(--space-xl);
}

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

.calculator-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.calc-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.calc-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-pale);
}

.calc-btn { margin-bottom: var(--space-lg); }

.calculator-result {
  display: none;
  background: var(--color-bg-tinted);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
}

.calculator-result.visible { display: block; }

.calc-result__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.calc-result__item {
  text-align: center;
}

.calc-result__label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.calc-result__value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.calc-result__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
  margin: 0;
}


.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.teaser-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.teaser-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teaser-img-wrap:hover .teaser-img { transform: scale(1.04); }

.teaser-text p { color: var(--color-text-muted); margin-bottom: var(--space-lg); }


.page-hero {
  padding: calc(var(--nav-h) + var(--space-2xl)) 0 var(--space-2xl);
}

.page-hero--warm {
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--base-cream), var(--base-amber) 15%) 0%,
    color-mix(in oklch, var(--base-cream), var(--base-terracotta) 8%) 100%
  );
}

.page-hero--terracotta {
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--base-terracotta), var(--base-dark) 30%) 0%,
    color-mix(in oklch, var(--base-terracotta), var(--base-amber) 20%) 100%
  );
}

.page-hero--green {
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--base-green), var(--base-dark) 30%) 0%,
    color-mix(in oklch, var(--base-green), var(--base-amber) 25%) 100%
  );
}

.page-hero__title { margin-bottom: 1rem; }
.page-hero__title--light { color: white; }
.page-hero__sub { color: var(--color-text-muted); max-width: 600px; font-size: 1.1rem; }
.page-hero__sub--light { color: color-mix(in oklch, white, var(--base-amber) 20%); }


.prose-block {
  margin-bottom: var(--space-xl);
}

.prose-block h2 { margin-bottom: 1rem; }
.prose-block h4 { margin: 1.5rem 0 0.75rem; color: var(--color-primary); }
.prose-block p { color: var(--color-text-muted); }
.prose-block ul { padding-left: 1.5rem; list-style: disc; }
.prose-block ul li { color: var(--color-text-muted); margin-bottom: 0.4rem; font-size: 0.95rem; }

.prose-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border-strong), transparent);
  margin: var(--space-xl) 0;
}


.info-callout {
  display: flex;
  gap: var(--space-md);
  background: var(--color-amber-pale);
  border: 1px solid var(--color-amber-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.info-callout__icon {
  font-size: 1.4rem;
  color: var(--color-amber);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.info-callout__text { font-size: 0.9rem; color: var(--color-text-muted); }
.info-callout__text strong { color: var(--color-text); }


.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.comparison-col {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.comparison-col h3 { font-size: 1rem; margin-bottom: 1rem; }

.comparison-col ul { padding-left: 1.25rem; list-style: none; }
.comparison-col ul li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: 1.5rem;
}

.comparison-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.comparison-col--a {
  background: color-mix(in oklch, var(--base-cream), var(--base-amber) 10%);
  border: 1px solid var(--color-border-strong);
}

.comparison-col--a h3 { color: var(--color-text-muted); }
.comparison-col--a ul li::before { background: var(--color-text-muted); }

.comparison-col--b {
  background: var(--color-primary-pale);
  border: 1px solid var(--color-primary-light);
}

.comparison-col--b h3 { color: var(--color-primary); }
.comparison-col--b ul li::before { background: var(--color-primary); }
.comparison-col--b ul li { border-bottom-color: var(--color-primary-light); }


.page-cta-block {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-bg-tinted);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.page-cta-block h3 { margin-bottom: var(--space-md); }

.page-cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}


.course-overview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface-raised);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.course-overview__stat {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.course-overview__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.course-overview__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}


.catalogue-section { padding-top: 0; }

.catalogue-module {
  background: var(--color-surface-raised);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.catalogue-module:hover { box-shadow: var(--shadow-lg); }

.catalogue-module--alt {
  background: color-mix(in oklch, var(--color-surface-raised), var(--base-amber) 3%);
}

.catalogue-module__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.catalogue-module__num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
}

.catalogue-tag {
  background: var(--color-primary-pale);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.catalogue-module__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.catalogue-module__text h2 { margin-bottom: 1rem; }
.catalogue-module__text h4 { margin: 1.25rem 0 0.6rem; color: var(--color-primary); font-size: 0.9rem; }
.catalogue-module__text p { color: var(--color-text-muted); }
.catalogue-module__text ul { padding-left: 1.25rem; list-style: disc; }
.catalogue-module__text ul li { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 0.35rem; }

.catalogue-module__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}


.exercise-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.exercise-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

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

.exercise-card {
  padding: var(--space-lg);
}

.exercise-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-green);
  margin-bottom: var(--space-md);
  transition: transform 0.3s ease;
}

.shelf__card:hover .exercise-card__icon { transform: scale(1.1); }

.exercise-card h3 { margin-bottom: 0.75rem; }
.exercise-card p { font-size: 0.9rem; color: var(--color-text-muted); }


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

.contact-form-wrap h2 { margin-bottom: var(--space-lg); }


.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-xl);
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.wizard-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-border-strong);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.wizard-step--active .wizard-step__num {
  background: var(--color-primary);
  color: white;
}

.wizard-step--done .wizard-step__num {
  background: var(--color-green);
  color: white;
}

.wizard-step__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  display: none;
}

.wizard-step--active .wizard-step__label { color: var(--color-primary); }

.wizard-step__line {
  flex: 1;
  height: 2px;
  background: var(--color-border-strong);
  margin: 0 0.5rem;
}


.wizard-panel {
  display: none;
}

.wizard-panel--active { display: block; }


.form-field {
  margin-bottom: var(--space-md);
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.required-mark { color: var(--color-primary); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-pale);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field--checkbox { margin-top: var(--space-md); }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  margin-top: 2px;
}

.checkbox-label a { color: var(--color-primary); text-decoration: underline; }

.wizard-nav {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}


.contact-info-card {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}

.contact-info-card h3 { margin-bottom: var(--space-md); }

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
  width: 24px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-info-item strong { display: block; font-size: 0.85rem; color: var(--color-text-muted); }
.contact-info-item p { margin: 0.2rem 0 0; font-size: 0.95rem; }
.contact-info-item a { color: var(--color-primary); }
.contact-info-item a:hover { color: var(--color-primary-hover); }


.accessibility-note {
  background: var(--color-green-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid color-mix(in oklch, var(--base-green), white 55%);
}

.accessibility-note h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-green);
  font-size: 1rem;
}

.accessibility-note p { font-size: 0.875rem; color: var(--color-text-muted); }
.accessibility-note a { color: var(--color-green); text-decoration: underline; }


.contact-map { margin-top: var(--space-xl); }
.contact-map h3 { margin-bottom: var(--space-md); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}


.thanks-section {
  padding-top: calc(var(--nav-h) + var(--space-2xl));
}

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

.thanks-title { margin-bottom: 1rem; }

.thanks-sub {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.thanks-home-btn { margin: 0 auto; }

.journey-timeline { max-width: 600px; margin: 0 auto; }
.journey-timeline__heading { text-align: center; margin-bottom: var(--space-xl); }

.timeline-track {
  position: relative;
  padding-left: 60px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-border));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-item__icon {
  position: absolute;
  left: -48px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 1;
}

.timeline-item--done .timeline-item__icon {
  background: var(--color-green);
  color: white;
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--color-green), white 70%);
}

.timeline-item--current .timeline-item__icon {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 4px var(--color-primary-pale);
}

.timeline-item--upcoming .timeline-item__icon {
  background: var(--color-border-strong);
  color: var(--color-text-muted);
}

.timeline-item__content {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.timeline-item--current .timeline-item__content {
  border-color: var(--color-primary-light);
  background: var(--color-primary-pale);
}

.timeline-item--upcoming .timeline-item__content {
  opacity: 0.65;
}

.timeline-item__content h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.timeline-item__content p { font-size: 0.9rem; color: var(--color-text-muted); }


.legal-page {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: calc(var(--nav-h) + var(--space-xl)) auto var(--space-3xl);
  padding: 0 var(--space-md);
  gap: var(--space-xl);
}

.legal-sidebar {
  display: none;
}

.legal-nav h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.legal-nav a {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 0.4rem 0;
  border-left: 2px solid var(--color-border);
  padding-left: 1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-nav a:hover {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.legal-header { margin-bottom: var(--space-xl); }
.legal-header h1 { margin-bottom: 0.5rem; }
.legal-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.legal-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.legal-section h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-section p, .legal-section li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.legal-section ul {
  padding-left: 1.5rem;
  list-style: disc;
  margin: 0.75rem 0;
}

.legal-section ul li { margin-bottom: 0.35rem; }

.legal-section a { color: var(--color-primary); text-decoration: underline; }


.legal-page--cookies {
  grid-template-columns: 1fr;
}

.legal-content--full { max-width: 800px; margin: 0 auto; width: 100%; }

.cookie-block {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.cookie-block:last-child { border-bottom: none; }

.cookie-block h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.cookie-block h3 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.cookie-block p, .cookie-block li { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.75; }
.cookie-block ul { padding-left: 1.5rem; list-style: disc; margin: 0.75rem 0; }
.cookie-block ul li { margin-bottom: 0.35rem; }
.cookie-block a { color: var(--color-primary); text-decoration: underline; }

.cookie-table-wrap { margin: var(--space-md) 0; }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cookie-table th {
  background: var(--color-bg-tinted);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.cookie-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: top;
}

.cookie-table tr:nth-child(even) td {
  background: var(--color-bg-tinted);
}


.cookie-banner {
  position: fixed;
  top: -200px;
  left: 0;
  right: 0;
  z-index: 2000;
  background: color-mix(in oklch, var(--base-dark), var(--base-amber) 5%);
  color: white;
  padding: 0.85rem var(--space-md);
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px color-mix(in oklch, var(--base-dark), transparent 40%);
}

.cookie-banner.visible { top: 0; }

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: color-mix(in oklch, white, var(--base-amber) 15%);
  margin: 0;
}

.cookie-banner__text a {
  color: var(--color-amber);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
  white-space: nowrap;
}

.cookie-btn--primary {
  background: var(--color-amber);
  color: var(--base-dark);
  border: none;
}

.cookie-btn--primary:hover {
  background: color-mix(in oklch, var(--color-amber), white 15%);
}

.cookie-btn--secondary {
  background: transparent;
  color: color-mix(in oklch, white, transparent 20%);
  border: 1px solid color-mix(in oklch, white, transparent 55%);
}

.cookie-btn--secondary:hover {
  color: white;
  border-color: white;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: color-mix(in oklch, var(--base-dark), transparent 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal__box {
  background: var(--color-surface-raised);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}

.cookie-modal__box h3 { margin-bottom: 0.75rem; }
.cookie-modal__box > p { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: var(--space-md); }

.cookie-category {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-category label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.cookie-modal__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  justify-content: flex-end;
}


.footer-stage {
  background: color-mix(in oklch, var(--base-dark), var(--base-amber) 5%);
  color: color-mix(in oklch, white, var(--base-amber) 20%);
  padding: var(--space-3xl) 0 var(--space-lg);
  margin-top: auto;
}

.footer-stage__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.footer-stage__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer-stage__logo { width: 40px; height: 40px; }

.footer-stage__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-amber);
}

.footer-stage__tagline {
  font-size: 0.9rem;
  color: color-mix(in oklch, white, transparent 35%);
  max-width: 400px;
  margin: 0;
}

.footer-stage__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.footer-stage__nav a {
  font-size: 0.875rem;
  color: color-mix(in oklch, white, transparent 30%);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-stage__nav a:hover {
  color: white;
  background: color-mix(in oklch, white, transparent 88%);
}

.footer-stage__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: color-mix(in oklch, white, transparent 35%);
}

.footer-stage__contact i { color: var(--color-amber); margin-right: 0.3rem; }
.footer-stage__contact a { color: color-mix(in oklch, white, transparent 25%); }
.footer-stage__contact a:hover { color: white; }

.footer-stage__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding-top: var(--space-md);
  border-top: 1px solid color-mix(in oklch, white, transparent 80%);
  width: 100%;
}

.footer-stage__legal a {
  font-size: 0.8rem;
  color: color-mix(in oklch, white, transparent 45%);
  padding: 0.2rem 0.5rem;
  transition: color 0.2s ease;
}

.footer-stage__legal a:hover { color: white; }

.footer-stage__copy {
  font-size: 0.78rem;
  color: color-mix(in oklch, white, transparent 55%);
  margin: 0;
}


@media (min-width: 640px) {
  .wizard-step__label { display: inline; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .science-grid { grid-template-columns: 1fr 1fr; }
  .teaser-grid { grid-template-columns: 1fr 1fr; }
  .exercise-intro { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .catalogue-module__body { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .nav-rail__links { display: flex; }
  .nav-rail__cta { display: inline-flex; }
  .nav-rail__hamburger { display: none; }
  .footer-stage__contact { flex-direction: row; gap: var(--space-lg); }
  .legal-page { grid-template-columns: 220px 1fr; }
  .legal-sidebar { display: block; position: sticky; top: calc(var(--nav-h) + var(--space-md)); align-self: start; height: fit-content; }
}

@media (max-width: 767px) {
  .stage__headline { font-size: clamp(2rem, 8vw, 3rem); }
  .catalogue-module__body { grid-template-columns: 1fr; }
  .catalogue-module__visual { order: -1; }
  .catalogue-module__img { height: 200px; }
  .cookie-table { font-size: 0.75rem; }
  .cookie-table th, .cookie-table td { padding: 0.5rem 0.6rem; }
  .dual-cta-card { padding: var(--space-lg); }
  .calculator-wrapper { padding: var(--space-lg); }
}

@media (min-width: 1024px) {
  .problem-card__img { height: 440px; }
  .science-img { height: 420px; }
}