/* ============================================
   MELIVNIX — DESIGN SYSTEM
   Glass on Gradient | 2026
============================================ */


:root {
  --color-primary: #2D1B69;
  --color-primary-dark: #1e1248;
  --color-secondary: #11998e;
  --color-accent: #38ef7d;
  --color-accent-dim: rgba(56, 239, 125, 0.15);
  --color-text: #1a1a2e;
  --color-text-muted: #5a5a7a;
  --color-text-light: #f0f4ff;
  --color-text-light-muted: rgba(240, 244, 255, 0.75);
  --color-surface: #f7f8fc;
  --color-surface-warm: #f0f1f8;
  --color-surface-dark: #1a1a2e;
  --color-white-tint: rgba(255, 255, 255, 0.96);

  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-bg-strong: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.20);
  --glass-blur: blur(20px);

  --gradient-hero: linear-gradient(135deg, #2D1B69 0%, #1a4a6b 35%, #11998e 70%, #38ef7d 100%);
  --gradient-section: linear-gradient(135deg, #2D1B69 0%, #11998e 60%, #38ef7d 100%);
  --gradient-cta: linear-gradient(135deg, #1e1248 0%, #0d7a72 50%, #2bc76a 100%);

  --shadow-sm: 0 1px 3px rgba(45, 27, 105, 0.08), 0 1px 2px rgba(45, 27, 105, 0.04);
  --shadow-md: 0 4px 16px rgba(45, 27, 105, 0.12), 0 2px 6px rgba(45, 27, 105, 0.06);
  --shadow-lg: 0 12px 40px rgba(45, 27, 105, 0.16), 0 4px 12px rgba(45, 27, 105, 0.08);
  --shadow-xl: 0 24px 64px rgba(45, 27, 105, 0.20), 0 8px 24px rgba(45, 27, 105, 0.10);
  --shadow-glow: 0 0 40px rgba(56, 239, 125, 0.20);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2rem, 4vw, 4rem);
  --space-2xl: clamp(3rem, 6vw, 6rem);
  --space-3xl: clamp(4rem, 8vw, 8rem);

  --nav-height: 80px;
  --container-max: 1200px;

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--color-surface);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
}

address {
  font-style: normal;
}


.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}


.text-display {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.text-body {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.text-caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}


.surface {
  background: var(--color-surface);
}

.surface-raised {
  background: var(--color-white-tint);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45, 27, 105, 0.06);
}

.surface-inset {
  background: var(--color-surface-warm);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 27, 105, 0.08);
}

.surface-gradient {
  background: var(--gradient-section);
}

.surface-dark {
  background: var(--color-surface-dark);
}

.surface-light {
  background: #eef0f8;
}

.surface-glass {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


.action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  color: var(--color-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-med);
  box-shadow: 0 4px 15px rgba(56, 239, 125, 0.30), 0 1px 4px rgba(0, 0, 0, 0.10);
  white-space: nowrap;
}

.action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 239, 125, 0.45), 0 3px 8px rgba(0, 0, 0, 0.12);
  color: var(--color-primary);
}

.action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-med);
}

.action-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}


.space-section {
  padding: var(--space-3xl) 0;
}

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


.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-slow);
}

.nav-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  height: var(--nav-height);
  background: rgba(45, 27, 105, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  transition: all var(--transition-med);
}

.nav-full.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo span {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition-med);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-med);
}


.nav-pill {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 4px 20px rgba(45, 27, 105, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-med);
}

.nav-pill:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(45, 27, 105, 0.5);
}

.nav-pill i {
  color: #fff;
  font-size: 1rem;
}

.nav-pill.visible {
  display: flex;
}


.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d4a60 50%, var(--color-secondary) 100%);
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 8vw, 4rem);
}

.mobile-menu-close {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex: 1;
  align-content: center;
}

.mobile-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  transition: all var(--transition-med);
  min-height: 90px;
}

.mobile-menu-item i {
  font-size: 1.4rem;
  color: var(--color-accent);
}

.mobile-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.mobile-menu-cta {
  background: linear-gradient(135deg, rgba(56, 239, 125, 0.25), rgba(17, 153, 142, 0.25));
  border-color: rgba(56, 239, 125, 0.35);
}


.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(56, 239, 125, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 20%, rgba(17, 153, 142, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.hero-shape-1 {
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  background: radial-gradient(circle, rgba(56, 239, 125, 0.3) 0%, transparent 70%);
  top: -15%;
  right: -10%;
}

.hero-shape-2 {
  width: clamp(200px, 35vw, 450px);
  height: clamp(200px, 35vw, 450px);
  background: radial-gradient(circle, rgba(17, 153, 142, 0.35) 0%, transparent 70%);
  bottom: 5%;
  left: -5%;
}

.hero-shape-3 {
  width: clamp(150px, 25vw, 350px);
  height: clamp(150px, 25vw, 350px);
  background: radial-gradient(circle, rgba(45, 27, 105, 0.5) 0%, transparent 70%);
  top: 40%;
  left: 30%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--nav-height) clamp(1.5rem, 5vw, 3rem) 0;
  max-width: 860px;
}

.hero-greeting {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 500;
  color: rgba(56, 239, 125, 0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-headline {
  font-size: clamp(4rem, 12vw, 10rem);
  color: #fff;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 0.8s forwards;
}

.hero-cta {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.5s both;
}

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


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

.section-header.centered {
  text-align: center;
}

.section-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}

.section-label.light {
  color: rgba(56, 239, 125, 0.85);
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.section-heading.light {
  color: #fff;
}

.section-subhead {
  max-width: 600px;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

.section-subhead.light {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto;
}


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

.intro-text {
  max-width: 520px;
}

.intro-desc {
  margin-top: 1rem;
}

.intro-image-wrap {
  position: relative;
}

.intro-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.intro-image-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: var(--radius-md);
}

.intro-image-badge i {
  color: var(--color-secondary);
  font-size: 1rem;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: var(--space-lg);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
}

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

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent-dim), rgba(17, 153, 142, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-med);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(56, 239, 125, 0.25), rgba(17, 153, 142, 0.2));
}

.service-icon i {
  font-size: 1.3rem;
  color: var(--color-secondary);
}

.service-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.65;
}


.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(45, 27, 105, 0.08);
  transition: all var(--transition-med);
}

.process-step:last-child {
  border-bottom: none;
}

.process-step:hover .step-number {
  color: var(--color-secondary);
}

.step-number {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: rgba(45, 27, 105, 0.15);
  line-height: 1;
  transition: color var(--transition-med);
  padding-top: 0.2rem;
}

.step-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
}

.gallery-item-large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item-wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 27, 105, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}


.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
}

.faq-item {
  overflow: hidden;
  transition: box-shadow var(--transition-med);
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--color-secondary);
  transition: transform var(--transition-med);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-cta {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.faq-cta p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}


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

.blog-card {
  overflow: hidden;
  transition: all var(--transition-med);
}

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

.blog-image-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-wrap img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-tag {
  color: var(--color-secondary);
  margin-bottom: 0.6rem;
  display: block;
}

.blog-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.blog-read-more:hover {
  gap: 0.7rem;
  color: var(--color-primary);
}


.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}

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

.modal-box {
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(45, 27, 105, 0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(45, 27, 105, 0.15);
  color: var(--color-text);
}

.modal-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0.75rem 0 1.25rem;
  line-height: 1.2;
  padding-right: 2rem;
}

.modal-body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.modal-body p:last-child {
  margin-bottom: 0;
}


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

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(56, 239, 125, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(17, 153, 142, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 1.25rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  margin-bottom: 2rem;
}

.cta-btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}


.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: var(--nav-height);
}

.page-hero-title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  color: #fff;
  position: relative;
  z-index: 2;
}


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

.story-para {
  margin-top: 1rem;
}

.story-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.values-section {
  padding: var(--space-xl) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-xl);
}

.value-card {
  padding: var(--space-lg);
  transition: all var(--transition-med);
}

.value-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(56, 239, 125, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.value-icon i {
  font-size: 1.25rem;
  color: var(--color-accent);
}

.value-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.value-card .text-body {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

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

.approach-para {
  margin-top: 1rem;
}

.approach-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
}


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

.course-card {
  overflow: hidden;
  transition: all var(--transition-med);
}

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

.course-image-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.course-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image-wrap img {
  transform: scale(1.05);
}

.course-content {
  padding: 1.5rem;
}

.course-tag {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.course-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.course-desc {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.course-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.course-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.course-details i {
  color: var(--color-secondary);
  width: 14px;
  flex-shrink: 0;
}

.course-cta {
  width: 100%;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: var(--space-xl);
}

.topic-item {
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition-med);
}

.topic-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
}

.topic-icon {
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.topic-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.topic-item .text-body {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

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

.workshop-info-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}

.workshop-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.faq-page-layout {
  max-width: 800px;
}

.faq-intro {
  margin-bottom: var(--space-xl);
}

.faq-intro-text {
  font-size: 1rem;
}

.faq-intro-text a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-category-section {
  margin-bottom: var(--space-xl);
}

.faq-category-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent-dim);
}

.faq-still-question {
  margin-top: var(--space-xl);
}

.faq-contact-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-contact-card h3 {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
}


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

.contact-map-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.contact-form-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.contact-address-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.contact-address-text i {
  color: var(--color-secondary);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

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

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-detail-item:hover {
  color: var(--color-secondary);
}

.contact-detail-item i {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.required-star {
  color: #e53e3e;
}

.form-input {
Continuing exactly from where the CSS was interrupted:

  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(45, 27, 105, 0.15);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-white-tint);
  transition: all var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.12);
}

.form-input::placeholder {
  color: rgba(90, 90, 122, 0.5);
}

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

.form-privacy {
  margin-top: 0.25rem;
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.privacy-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--color-secondary);
  cursor: pointer;
}

.privacy-label a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-error {
  padding: 0.75rem 1rem;
  background: rgba(229, 62, 62, 0.08);
  border: 1px solid rgba(229, 62, 62, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #c53030;
}

.form-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}


.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.contact-faq-item {
  padding: 1.5rem;
  transition: all var(--transition-med);
}

.contact-faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-faq-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-faq-icon i {
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.contact-faq-item h3 {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.contact-faq-item .text-body {
  font-size: 0.875rem;
}


.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height) - 80px);
  padding: var(--nav-height) 1.5rem 4rem;
  background: var(--gradient-hero);
  position: relative;
}

.thanks-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(56, 239, 125, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.thanks-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(56, 239, 125, 0.15);
  border: 2px solid rgba(56, 239, 125, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thanks-icon i {
  font-size: 2rem;
  color: var(--color-accent);
}

.thanks-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1rem;
}

.thanks-subtext {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.thanks-cta {
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
}


.legal-main {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: var(--space-3xl);
  min-height: 100vh;
}

.legal-content {
  max-width: 760px;
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(45, 27, 105, 0.08);
}

.legal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

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

.legal-intro {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  color: var(--color-text-muted);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-h2 {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--color-accent);
}

.legal-h2-letter {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-h2-letter::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
}

.legal-h2-plain {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-accent-dim);
}

.legal-section .text-body {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-section .text-body a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}


.cookie-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 27, 105, 0.1);
}

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

.cookie-table th {
  background: rgba(45, 27, 105, 0.06);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid rgba(45, 27, 105, 0.1);
}

.cookie-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(45, 27, 105, 0.06);
  color: var(--color-text-muted);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}


.site-footer {
  background: var(--color-surface-dark);
  padding: var(--space-2xl) 0 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(240, 244, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(240, 244, 255, 0.45);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-address a {
  color: rgba(240, 244, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-address a:hover {
  color: var(--color-accent);
}

.footer-address i {
  color: var(--color-secondary);
  width: 14px;
  flex-shrink: 0;
}

.footer-col-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(240, 244, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(240, 244, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-accent);
}

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

.footer-copy {
  color: rgba(240, 244, 255, 0.3);
  font-size: 0.78rem;
}


.cookie-link {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(45, 27, 105, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all var(--transition-med);
  box-shadow: 0 4px 16px rgba(45, 27, 105, 0.3);
}

.cookie-link:hover {
  background: rgba(45, 27, 105, 0.95);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 27, 105, 0.4);
}

.cookie-link i {
  font-size: 0.85rem;
  color: var(--color-accent);
}

.cookie-link.pulse {
  animation: cookiePulse 2s ease-in-out 3;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(26, 26, 46, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}

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

.cookie-modal {
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(45, 27, 105, 0.08);
}

.cookie-modal-header h3 {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-modal-header h3 i {
  color: var(--color-secondary);
}

.cookie-modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(45, 27, 105, 0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.cookie-modal-close:hover {
  background: rgba(45, 27, 105, 0.12);
}

.cookie-modal-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-modal-body > .text-body {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.cookie-category {
  padding: 0.85rem 1rem;
  background: var(--color-surface-warm);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 27, 105, 0.07);
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.cookie-label {
  font-size: 0.875rem;
  cursor: pointer;
}

.cookie-required-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(17, 153, 142, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.cookie-toggle {
  width: 18px;
  height: 18px;
  accent-color: var(--color-secondary);
  cursor: pointer;
}

.cookie-category .text-caption {
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--color-text-muted);
}

.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(45, 27, 105, 0.08);
}

.cookie-reject-all {
  padding: 0.55rem 1.1rem;
  font-size: 0.825rem;
  color: var(--color-text-muted);
  border-color: rgba(45, 27, 105, 0.2);
}

.cookie-reject-all:hover {
  color: var(--color-text);
  border-color: rgba(45, 27, 105, 0.4);
}

.cookie-save {
  padding: 0.55rem 1.25rem;
  font-size: 0.825rem;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@keyframes cookiePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(45, 27, 105, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(56, 239, 125, 0.4), 0 4px 16px rgba(45, 27, 105, 0.3); }
}


.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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


@media (max-width: 1024px) {
  .intro-grid,
  .story-grid,
  .approach-content,
  .workshop-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

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

  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-full > .action-primary {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

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

  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

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

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

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

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

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

  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .mobile-menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .modal-box {
    padding: 1.75rem 1.25rem;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-reject-all,
  .cookie-save {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }

  .mobile-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .mobile-menu-item {
    padding: 1.1rem 0.75rem;
    min-height: 80px;
    font-size: 0.8rem;
  }

  .hero-headline {
    font-size: clamp(3.5rem, 16vw, 6rem);
  }

  .page-hero-title {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .legal-content {
    max-width: 100%;
  }

  .cookie-table {
    font-size: 0.78rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.6rem 0.75rem;
  }
}

@media (min-width: 769px) {
  .nav-pill {
    display: none !important;
  }
}