/* ============================================
   MÚDRA TÉMA - Main Stylesheet
   Design: Organic Shapes | Mood: Friendly, Natural
   ============================================ */

/* --- BASE COLOR PALETTE via color-mix() --- */
:root {
  --base-green: oklch(52% 0.14 145);
  --base-amber: oklch(72% 0.15 75);
  --base-cream: oklch(97% 0.02 90);

  --primary: var(--base-green);
  --primary-light: color-mix(in oklch, var(--base-green), white 40%);
  --primary-lighter: color-mix(in oklch, var(--base-green), white 70%);
  --primary-dark: color-mix(in oklch, var(--base-green), black 20%);
  --primary-xdark: color-mix(in oklch, var(--base-green), black 40%);

  --accent: var(--base-amber);
  --accent-light: color-mix(in oklch, var(--base-amber), white 40%);
  --accent-lighter: color-mix(in oklch, var(--base-amber), white 70%);
  --accent-dark: color-mix(in oklch, var(--base-amber), black 20%);

  --surface: var(--base-cream);
  --surface-warm: color-mix(in oklch, var(--base-cream), var(--base-amber) 8%);
  --surface-green: color-mix(in oklch, var(--base-cream), var(--base-green) 6%);
  --surface-deep: color-mix(in oklch, var(--base-green), black 55%);

  --text-dark: oklch(18% 0.02 145);
  --text-mid: oklch(38% 0.04 145);
  --text-light: oklch(58% 0.03 145);
  --text-on-dark: oklch(95% 0.01 90);
  --text-on-dark-muted: color-mix(in oklch, var(--text-on-dark), var(--surface-deep) 35%);

  --border: color-mix(in oklch, var(--base-green), white 80%);
  --border-warm: color-mix(in oklch, var(--base-amber), white 75%);

  --shadow-sm: 0 2px 8px color-mix(in oklch, var(--base-green), transparent 88%),
               0 1px 3px color-mix(in oklch, var(--base-green), transparent 94%);
  --shadow-md: 0 4px 20px color-mix(in oklch, var(--base-green), transparent 82%),
               0 2px 8px color-mix(in oklch, var(--base-green), transparent 90%);
  --shadow-lg: 0 8px 40px color-mix(in oklch, var(--base-green), transparent 75%),
               0 4px 16px color-mix(in oklch, var(--base-green), transparent 88%);
  --shadow-glow: 0 0 30px color-mix(in oklch, var(--base-green), transparent 70%),
                 0 4px 20px color-mix(in oklch, var(--base-green), transparent 80%);
  --shadow-accent-glow: 0 0 30px color-mix(in oklch, var(--base-amber), transparent 65%),
                        0 4px 20px color-mix(in oklch, var(--base-amber), transparent 78%);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-blob: 60% 40% 55% 45% / 45% 55% 40% 60%;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --font-display: 'Red Hat Display', sans-serif;
  --font-body: 'Red Hat Text', sans-serif;

  --transition-fast: 0.18s ease;
  --transition-mid: 0.32s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- GLOBAL TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--text-dark); }

h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; }

p { font-size: clamp(0.95rem, 1.5vw, 1.05rem); color: var(--text-mid); }

/* --- GLOBAL LABEL --- */
.global-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-lighter);
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.global-label--light {
  color: var(--accent);
  background: color-mix(in oklch, var(--accent), transparent 80%);
}

/* --- GLOBAL CTA BUTTONS --- */
.global-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 2em;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-mid), background var(--transition-fast), color var(--transition-fast);
  min-height: 48px;
}

.global-cta--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.global-cta--primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg), 0 0 40px color-mix(in oklch, var(--base-green), transparent 60%);
  transform: translateY(-2px);
}

.global-cta--ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}

.global-cta--ghost:hover {
  background: var(--primary-lighter);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* --- WAVE DIVIDERS --- */
.global-wave { display: block; line-height: 0; }
.global-wave svg { width: 100%; height: 80px; }
.global-wave--down svg path { fill: var(--surface); }
.global-wave--up svg path { fill: var(--surface); }
.global-wave--moss svg path { fill: var(--surface-deep); }
.global-wave--from-moss svg path { fill: var(--surface-deep); }
.global-wave--soft svg path { fill: var(--surface-warm); }
.global-wave--to-light svg path { fill: var(--surface-warm); }

/* ============================================
   GLOBAL HEADER
   ============================================ */
.global-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 var(--space-md);
  transition: background var(--transition-mid), box-shadow var(--transition-mid), backdrop-filter var(--transition-mid);
}

.global-header--scrolled {
  background: color-mix(in oklch, var(--surface), transparent 8%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.global-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.global-header__logo { display: flex; align-items: center; }
.global-header__logo-img { height: 38px; width: auto; }

.global-header__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.global-header__nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.5em 0.9em;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.global-header__nav-link:hover {
  color: var(--primary);
  background: var(--primary-lighter);
}

.global-header__nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.55em 1.3em;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.global-header__nav-cta:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.global-header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.global-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.global-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--surface-deep) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
}

.global-mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.global-mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 1.8rem;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.global-mobile-menu__close:hover {
  background: color-mix(in oklch, white, transparent 80%);
}

.global-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.global-mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 700;
  color: var(--text-on-dark);
  padding: 0.4em 1em;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.global-mobile-menu__link:hover {
  color: var(--accent);
  background: color-mix(in oklch, white, transparent 90%);
}

/* ============================================
   HOME HERO
   ============================================ */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-green) 60%, color-mix(in oklch, var(--primary-lighter), white 30%) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.home-hero__blob {
  position: absolute;
  border-radius: var(--radius-blob);
  opacity: 0.18;
  pointer-events: none;
}

.home-hero__blob--1 {
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -10%;
  right: -8%;
  animation: blob-float 12s ease-in-out infinite;
}

.home-hero__blob--2 {
  width: clamp(200px, 35vw, 400px);
  height: clamp(200px, 35vw, 400px);
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: 5%;
  left: -5%;
  animation: blob-float 16s ease-in-out infinite reverse;
}

.home-hero__blob--3 {
  width: clamp(150px, 25vw, 280px);
  height: clamp(150px, 25vw, 280px);
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  top: 40%;
  left: 35%;
  animation: blob-float 10s ease-in-out infinite 2s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; }
  33% { transform: translate(20px, -15px) scale(1.04); border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66% { transform: translate(-15px, 10px) scale(0.97); border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; }
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  width: 100%;
}

.home-hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.home-hero__title {
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

/* Splitting.js character animation */
.home-hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotate(3deg);
  animation: char-reveal 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

.home-hero__title .char { animation-delay: calc(var(--char-index) * 0.04s); }

@keyframes char-reveal {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.home-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-mid);
  max-width: 52ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-hero__visual { position: relative; }

.home-hero__img-wrap {
  position: relative;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  max-width: 560px;
  margin: 0 auto;
  transition: border-radius 0.8s ease;
}

.home-hero__img-wrap:hover {
  border-radius: 55% 45% 40% 60% / 60% 55% 45% 40%;
}

.home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.home-hero__img-wrap:hover .home-hero__img {
  transform: scale(1.04);
}

.home-hero__img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: color-mix(in oklch, white, transparent 10%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 0.6em 1.2em;
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.home-hero__img-badge i { color: var(--primary); }

.home-hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(4px); }
}

/* ============================================
   HOME ABOUT
   ============================================ */
.home-about {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--surface);
  overflow: hidden;
}

.home-about__blob {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--primary-lighter) 0%, transparent 70%);
  border-radius: var(--radius-blob);
  top: -80px;
  right: -100px;
  opacity: 0.5;
  pointer-events: none;
}

.home-about__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.home-about__img-stack {
  position: relative;
  height: 380px;
}

.home-about__img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.home-about__img--main {
  width: 85%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50% 30% 40% 60% / 40% 50% 60% 30%;
}

.home-about__img--accent {
  width: 55%;
  height: 55%;
  position: absolute;
  right: 0;
  bottom: -1rem;
  border-radius: 40% 60% 30% 50% / 55% 40% 60% 45%;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-lg);
}

.home-about__title {
  margin-bottom: 1rem;
}

.home-about__text {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.home-about__highlights {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-about__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
}

.home-about__highlight i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.15em;
  flex-shrink: 0;
}

/* ============================================
   HOME FEATURES
   ============================================ */
.home-features {
  padding: var(--space-xl) var(--space-md);
  background: var(--surface-warm);
}

.home-features__inner { max-width: 1280px; margin: 0 auto; }

.home-features__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.home-features__title { margin-bottom: 0.75rem; }

.home-features__intro {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Masonry-inspired grid */
.home-features__masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.home-features__card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
  overflow: hidden;
  position: relative;
}

.home-features__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-mid);
}

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

.home-features__card:hover::before { opacity: 1; }

.home-features__card--accent {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.home-features__card--accent::before {
  background: linear-gradient(135deg, color-mix(in oklch, white, transparent 85%) 0%, transparent 60%);
}

.home-features__card--accent h3,
.home-features__card--accent p {
  color: #fff;
}

.home-features__card--accent .home-features__card-icon {
  background: color-mix(in oklch, white, transparent 80%);
  color: #fff;
}

.home-features__card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.home-features__card-title {
  margin-bottom: 0.75rem;
  position: relative;
}

.home-features__card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
}

.home-features__card-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  object-fit: cover;
  height: 180px;
  position: relative;
}

/* ============================================
   HOME PROGRAM
   ============================================ */
.home-program {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--surface-deep);
  overflow: hidden;
}

.home-program__blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, color-mix(in oklch, var(--primary), white 20%) 0%, transparent 70%);
  border-radius: var(--radius-blob);
  top: -100px;
  left: -150px;
  opacity: 0.08;
  pointer-events: none;
}

.home-program__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.home-program__header {
  max-width: 600px;
}

.home-program__title {
  color: var(--text-on-dark);
  margin-bottom: 0.75rem;
}

.home-program__intro {
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-program__modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.home-program__module {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid color-mix(in oklch, white, transparent 85%);
  transition: padding-left var(--transition-fast);
}

.home-program__module:last-child { border-bottom: none; }

.home-program__module:hover { padding-left: 0.5rem; }

.home-program__module-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  flex-shrink: 0;
  min-width: 3.5rem;
  transition: opacity var(--transition-fast);
}

.home-program__module:hover .home-program__module-num { opacity: 1; }

.home-program__module-content h3 {
  color: var(--text-on-dark);
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.home-program__module-content p {
  color: var(--text-on-dark-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.home-program__visual {
  display: none;
}

.home-program__img {
  width: 100%;
  border-radius: 45% 55% 40% 60% / 50% 40% 60% 50%;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg), 0 0 60px color-mix(in oklch, var(--primary), transparent 65%);
}

/* ============================================
   HOME FOR WHOM
   ============================================ */
.home-forwhom {
  padding: var(--space-xl) var(--space-md);
  background: var(--surface);
}

.home-forwhom__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.home-forwhom__header {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}

.home-forwhom__title { margin-bottom: 0; }

.home-forwhom__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: var(--space-lg);
}

.home-forwhom__card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.home-forwhom__card--yes {
  background: var(--surface-green);
  border-color: var(--primary-light);
}

.home-forwhom__card--maybe {
  background: var(--surface-warm);
  border-color: var(--border-warm);
}

.home-forwhom__card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.home-forwhom__card-header i {
  font-size: 1.4rem;
}

.home-forwhom__card--yes .home-forwhom__card-header i { color: var(--primary); }
.home-forwhom__card--maybe .home-forwhom__card-header i { color: var(--accent-dark); }

.home-forwhom__card-header h3 {
  font-size: 1.1rem;
}

.home-forwhom__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.home-forwhom__list li {
  font-size: 0.95rem;
  color: var(--text-mid);
  padding-left: 1.2em;
  position: relative;
  line-height: 1.5;
}

.home-forwhom__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2em;
}

.home-forwhom__card--maybe .home-forwhom__list li::before { color: var(--accent-dark); }

.home-forwhom__note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
}

.home-forwhom__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 420px;
}

.home-forwhom__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: inherit;
  transition: transform var(--transition-slow);
}

.home-forwhom__media:hover .home-forwhom__img {
  transform: scale(1.03);
}

/* ============================================
   HOME FAQ
   ============================================ */
.home-faq {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--surface-warm);
  overflow: hidden;
}

.home-faq__blob {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-lighter) 0%, transparent 70%);
  border-radius: 40% 60% 50% 50% / 60% 40% 55% 45%;
  bottom: -80px;
  right: -80px;
  opacity: 0.5;
  pointer-events: none;
}

.home-faq__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.home-faq__header {
  max-width: 560px;
  margin-bottom: var(--space-lg);
}

.home-faq__title { margin-bottom: 0; }

.home-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-faq__card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow var(--transition-mid), border-color var(--transition-fast);
}

.home-faq__card:hover,
.home-faq__card:focus {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  outline: none;
}

.home-faq__card.is-open {
  border-color: var(--primary);
}

.home-faq__card-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.home-faq__icon {
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.home-faq__card.is-open .home-faq__icon {
  transform: rotate(45deg);
}

.home-faq__card-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-mid);
}

.home-faq__card-a p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.home-faq__card.is-open .home-faq__card-a {
  max-height: 400px;
}

/* ============================================
   HOME CONTACT
   ============================================ */
.home-contact {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--surface);
  overflow: hidden;
}

.home-contact__blob {
  position: absolute;
  border-radius: var(--radius-blob);
  pointer-events: none;
  opacity: 0.3;
}

.home-contact__blob--1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--primary-lighter) 0%, transparent 70%);
  top: -60px;
  left: -80px;
}

.home-contact__blob--2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--accent-lighter) 0%, transparent 70%);
  bottom: -40px;
  right: -60px;
}

.home-contact__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}

.home-contact__title {
  margin-bottom: 0.75rem;
}

.home-contact__text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.home-contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.home-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.home-contact__detail i {
  width: 40px;
  height: 40px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.home-contact__detail div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-contact__detail strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.home-contact__detail span,
.home-contact__detail a {
  font-size: 0.97rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.home-contact__detail a:hover { color: var(--primary); }

/* CONTACT FORM — Floating Labels */
.contact-form-section {
  background: var(--surface-green);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-section__field {
  position: relative;
}

.contact-form-section__input {
  width: 100%;
  padding: 1.4rem 1rem 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.contact-form-section__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-lighter);
}

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

.contact-form-section__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.97rem;
  color: var(--text-light);
  pointer-events: none;
  transition: top var(--transition-fast), font-size var(--transition-fast), color var(--transition-fast);
  transform-origin: left top;
}

/* Float label when input is focused or has content */
.contact-form-section__input:focus + .contact-form-section__label,
.contact-form-section__input:not(:placeholder-shown) + .contact-form-section__label {
  top: 0.35rem;
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contact-form-section__privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-form-section__checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: var(--primary);
  margin-top: 0.1rem;
  cursor: pointer;
}

.contact-form-section__privacy-label {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
  cursor: pointer;
}

.contact-form-section__privacy-label a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-section__submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

/* ============================================
   GLOBAL FOOTER
   ============================================ */
.global-footer {
  background: var(--surface-deep);
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.global-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid color-mix(in oklch, white, transparent 85%);
}

.global-footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.global-footer__tagline {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  max-width: 28ch;
  line-height: 1.6;
}

.global-footer__links,
.global-footer__legal-links,
.global-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.global-footer__links h4,
.global-footer__legal-links h4,
.global-footer__contact h4 {
  color: var(--text-on-dark);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.global-footer__links a,
.global-footer__legal-links a,
.global-footer__contact a,
.global-footer__contact p {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast);
}

.global-footer__links a:hover,
.global-footer__legal-links a:hover,
.global-footer__contact a:hover {
  color: var(--accent);
}

.global-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.global-footer__bottom p {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

/* ============================================
   COOKIE CONSENT — Bell/Shield Icon Pattern
   ============================================ */
.cookie-bell-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
}

.cookie-bell-btn {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.cookie-bell-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-lg), 0 0 40px color-mix(in oklch, var(--base-green), transparent 55%);
}

.cookie-bell-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--surface);
  display: none;
}

.cookie-bell-badge.is-visible { display: block; }

.cookie-panel {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: min(360px, calc(100vw - 3rem));
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px color-mix(in oklch, var(--base-green), transparent 80%);
  border: 1px solid var(--border);
  z-index: 800;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-mid), opacity var(--transition-mid);
}

.cookie-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-panel__inner { padding: 1.5rem; }

.cookie-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cookie-panel__header h3 {
  font-size: 1rem;
  color: var(--text-dark);
}

.cookie-panel__close {
  color: var(--text-light);
  font-size: 1rem;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.cookie-panel__close:hover {
  background: var(--primary-lighter);
  color: var(--primary);
}

.cookie-panel__desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cookie-panel__toggles {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cookie-panel__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--surface-green);
  border-radius: var(--radius-sm);
}

.cookie-panel__toggle-row strong {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: block;
}

.cookie-panel__toggle-row p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 0.1rem;
}

.cookie-panel__always-on {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.cookie-panel__switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-panel__switch input { opacity: 0; width: 0; height: 0; }

.cookie-panel__slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-panel__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.cookie-panel__switch input:checked + .cookie-panel__slider { background: var(--primary); }
.cookie-panel__switch input:checked + .cookie-panel__slider::before { transform: translateX(18px); }

.cookie-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-panel__btn {
  width: 100%;
  padding: 0.65em 1em;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.cookie-panel__btn--all {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.cookie-panel__btn--all:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cookie-panel__btn--save {
  background: var(--surface-green);
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
}

.cookie-panel__btn--save:hover {
  background: var(--primary-lighter);
}

.cookie-panel__btn--necessary {
  background: transparent;
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.8rem;
}

.cookie-panel__btn--necessary:hover { color: var(--text-dark); }

/* ============================================
   LEGAL PAGES SHARED
   ============================================ */
.legal-page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page-wrap main { flex: 1; }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(72px + 3rem) var(--space-md) var(--space-xl);
}

.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.legal-content .legal-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  display: block;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.legal-content h3 {
  font-size: 0.97rem;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.legal-content p {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ul, .legal-content ol {
  margin: 0.75rem 0 1rem 1.5rem;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.88rem;
}

.legal-content th {
  background: var(--primary-lighter);
  color: var(--primary-xdark);
  font-weight: 600;
  padding: 0.7em 1em;
  text-align: left;
}

.legal-content td {
  padding: 0.65em 1em;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
}

.legal-content tr:last-child td { border-bottom: none; }

/* THANKS PAGE */
.thanks-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-wrap main { flex: 1; }

.thanks-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(72px + 4rem) var(--space-md) var(--space-xl);
  text-align: center;
  min-height: calc(100vh - 200px);
}

.thanks-envelope {
  width: 100px;
  height: 80px;
  position: relative;
  margin-bottom: 2.5rem;
}

.thanks-envelope__body {
  width: 100%;
  height: 80%;
  background: var(--primary-lighter);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  position: absolute;
  bottom: 0;
  border: 2px solid var(--primary-light);
  overflow: hidden;
}

.thanks-envelope__flap {
  width: 100%;
  height: 55%;
  background: var(--primary-light);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  animation: flap-open 0.7s 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  border: 2px solid var(--primary-light);
}

@keyframes flap-open {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(-160deg); }
}

.thanks-envelope__letter {
  width: 75%;
  height: 60%;
  background: white;
  border-radius: 4px;
  position: absolute;
  bottom: 10%;
  left: 12.5%;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(0);
  animation: letter-slide 0.6s 1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes letter-slide {
  0% { opacity: 0; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(-55%); }
}

.thanks-content h1 {
  margin-bottom: 1rem;
  opacity: 0;
  animation: fade-up 0.6s 1.4s ease forwards;
}

.thanks-content p {
  max-width: 44ch;
  line-height: 1.7;
  opacity: 0;
  animation: fade-up 0.6s 1.7s ease forwards;
}

.thanks-content .global-cta {
  margin-top: 2rem;
  opacity: 0;
  animation: fade-up 0.6s 2s ease forwards;
}

@keyframes fade-up {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE — TABLET (640px+)
   ============================================ */
@media (min-width: 640px) {
  .home-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .home-about__inner {
    grid-template-columns: 1fr 1fr;
  }

  .home-features__masonry {
    grid-template-columns: 1fr 1fr;
  }

  .home-forwhom__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-faq__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-contact__inner {
    grid-template-columns: 1fr 1fr;
  }

  .global-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .global-header__nav { display: flex; }
  .global-header__burger { display: none; }

  .home-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
  }

  .home-about__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-lg);
  }

  .home-about__img-stack { height: 480px; }

  .home-features__masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }

  .home-features__card--tall {
    grid-row: span 2;
  }

  .home-program__inner {
    grid-template-columns: 1fr 0.5fr;
    align-items: start;
  }

  .home-program__visual { display: block; }

  .home-program__header { grid-column: 1 / -1; }

  .home-program__modules { grid-column: 1; }

  .home-forwhom__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .global-footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE — WIDE (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .home-hero__inner { gap: var(--space-xl); }

  .home-faq__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   UTILITY
   ============================================ */
.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;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-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; }