/* ============================================
   SKUTOČNÝ HORIZONT - MAIN STYLESHEET
   Textured Modern Design Concept
   ============================================ */


:root {
  --color-forest: #2C3B2D;
  --color-forest-deep: #1A2419;
  --color-moss: #4A6741;
  --color-sage: #7A9E6E;
  --color-sage-light: #A8C49A;
  --color-earth: #8B6B4A;
  --color-clay: #C4956A;
  --color-cream: #F5F0E8;
  --color-warm-white: #FAF7F2;
  --color-bark: #3D2E1E;
  --color-amber: #D4883A;
  --color-text-dark: #1E2B1F;
  --color-text-mid: #4A5C4B;
  --color-text-light: #7A8E7B;
  --color-border: #D8D0C4;

  --shadow-sm: 0 1px 3px rgba(28,42,25,0.08), 0 1px 2px rgba(28,42,25,0.04);
  --shadow-md: 0 4px 12px rgba(28,42,25,0.10), 0 2px 6px rgba(28,42,25,0.06);
  --shadow-lg: 0 8px 32px rgba(28,42,25,0.12), 0 4px 12px rgba(28,42,25,0.08);
  --shadow-xl: 0 20px 60px rgba(28,42,25,0.16), 0 8px 24px rgba(28,42,25,0.10);
  --shadow-colored: 0 8px 32px rgba(74,103,65,0.20), 0 4px 12px rgba(74,103,65,0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

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

  --nav-height: 80px;
  --nav-height-scrolled: 64px;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}


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

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--color-warm-white);
  color: var(--color-text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }


.hero__texture,
.page-hero__texture,
.programs-preview__texture,
.counters__texture,
.cta-section__texture,
.thanks-hero__texture,
.values__texture,
.what-to-bring__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.5;
}


h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }


.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-sm);

  &.section-eyebrow--light {
    color: var(--color-sage-light);
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 44px;

  &.btn--primary {
    background: var(--color-moss);
    color: var(--color-cream);
    border-color: var(--color-moss);
    box-shadow: var(--shadow-md);

    &:hover {
      background: var(--color-forest);
      border-color: var(--color-forest);
      box-shadow: var(--shadow-colored);
      transform: translateY(-1px);
    }
  }

  &.btn--accent {
    background: var(--color-amber);
    color: var(--color-bark);
    border-color: var(--color-amber);
    box-shadow: var(--shadow-sm);

    &:hover {
      background: var(--color-clay);
      border-color: var(--color-clay);
      box-shadow: var(--shadow-md);
      transform: translateY(-1px);
    }
  }

  &.btn--outline {
    background: transparent;
    color: var(--color-moss);
    border-color: var(--color-moss);

    &:hover {
      background: var(--color-moss);
      color: var(--color-cream);
    }
  }

  &.btn--ghost {
    background: rgba(245,240,232,0.15);
    color: var(--color-cream);
    border-color: rgba(245,240,232,0.4);
    backdrop-filter: blur(8px);

    &:hover {
      background: rgba(245,240,232,0.25);
      border-color: rgba(245,240,232,0.7);
    }
  }

  &.btn--ghost-light {
    background: transparent;
    color: var(--color-cream);
    border-color: rgba(245,240,232,0.5);

    &:hover {
      background: rgba(245,240,232,0.15);
      border-color: var(--color-cream);
    }
  }

  &.btn--light {
    background: var(--color-cream);
    color: var(--color-forest);
    border-color: var(--color-cream);

    &:hover {
      background: var(--color-warm-white);
      box-shadow: var(--shadow-md);
    }
  }

  &.btn--sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    min-height: 36px;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-base);
  background: transparent;

  &.nav--scrolled {
    background: rgba(250,247,242,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 rgba(28,42,25,0.08), 0 4px 16px rgba(28,42,25,0.06);
  }

  &.nav--solid {
    background: var(--color-warm-white);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 var(--color-border);
  }

  & .nav__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }

  & .nav__logo {
    flex-shrink: 0;
    transition: transform var(--transition-base);

    &:hover { transform: scale(1.02); }
  }

  & .nav__logo-img {
    height: 40px;
    width: auto;
    transition: height var(--transition-base);
  }

  &.nav--scrolled .nav__logo-img { height: 34px; }

  & .nav__list {
    display: none;
    align-items: center;
    gap: var(--space-lg);
    margin-left: auto;

    @media (min-width: 1024px) { display: flex; }
  }

  & .nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-cream);
    position: relative;
    padding-bottom: 2px;

    &::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--color-sage-light);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform var(--transition-base);
    }

    &:hover::after,
    &.nav__link--active::after { transform: scaleX(1); }
  }

  &.nav--scrolled .nav__link,
  &.nav--solid .nav__link {
    color: var(--color-text-dark);

    &::after { background: var(--color-moss); }
  }

  & .nav__cta {
    margin-left: var(--space-sm);
    display: none;

    @media (min-width: 1024px) { display: inline-flex; }
  }

  & .nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;

    @media (min-width: 1024px) { display: none; }

    & span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--color-cream);
      border-radius: 2px;
      transition: all var(--transition-base);
    }
  }

  &.nav--scrolled .nav__hamburger span,
  &.nav--solid .nav__hamburger span {
    background: var(--color-text-dark);
  }
}


.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);

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

  & .mobile-menu__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(245,240,232,0.1);
    border: 1px solid rgba(245,240,232,0.2);
    color: var(--color-cream);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);

    &:hover {
      background: rgba(245,240,232,0.2);
    }
  }

  & .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
  }

  & .mobile-menu__link {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 700;
    color: var(--color-cream);
    letter-spacing: -0.01em;
    transition: color var(--transition-base);

    &:hover { color: var(--color-sage-light); }
  }

  & .mobile-menu__cta {
    margin-top: var(--space-sm);
    font-size: 1rem;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-forest-deep) 0%, var(--color-forest) 40%, var(--color-moss) 100%);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);

  @media (min-width: 900px) {
    grid-template-columns: 1fr 1fr;
  }

  & .hero__content {
    position: relative;
    z-index: 2;
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
    max-width: 640px;

    @media (min-width: 900px) {
      padding: var(--space-3xl) var(--space-xl) var(--space-3xl) clamp(2rem, 6vw, 5rem);
    }
  }

  & .hero__badge {
    position: absolute;
    background: rgba(245,240,232,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245,240,232,0.2);
    color: var(--color-cream);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
    white-space: nowrap;

    &.hero__badge--top-left { top: 12%; left: 2%; }
    &.hero__badge--top-right { top: 15%; right: 5%; }
    &.hero__badge--bottom-left { bottom: 20%; left: 3%; }
    &.hero__badge--bottom-right { bottom: 25%; right: 3%; }

    @media (max-width: 768px) {
      display: none;
    }
  }

  & .hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-sage-light);
    margin-bottom: var(--space-sm);
  }

  & .hero__title {
    color: var(--color-cream);
    margin-bottom: var(--space-md);

    & .word {
      display: inline-block;
      overflow: hidden;
    }

    & .char {
      display: inline-block;
      animation: charReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: calc(var(--char-index) * 0.03s);
    }
  }

  & .hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245,240,232,0.8);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 480px;
  }

  & .hero__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
  }

  & .hero__image-wrap {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 400px;
    overflow: hidden;

    @media (max-width: 899px) {
      display: none;
    }
  }

  & .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7;
    mix-blend-mode: luminosity;
  }
}

@keyframes charReveal {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

/* ============================================
   INTRO STRIP
   ============================================ */
.intro-strip {
  background: var(--color-forest);
  padding: var(--space-md) 0;

  & .intro-strip__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  & .intro-strip__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-cream);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
  }

  & .intro-strip__icon {
    color: var(--color-sage-light);
    font-size: 1rem;
  }
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
  padding: var(--space-3xl) 0;
  background: var(--color-warm-white);

  & .about-preview__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;

    @media (min-width: 900px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  & .about-preview__text {
    & h2 { margin-bottom: var(--space-md); color: var(--color-forest); }
    & p { color: var(--color-text-mid); font-size: 1.05rem; }
    & .btn { margin-top: var(--space-md); }
  }

  & .about-preview__visual {
    position: relative;
  }

  & .about-preview__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
  }

  & .about-preview__card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
    max-width: 260px;

    & i {
      color: var(--color-moss);
      font-size: 1.4rem;
      margin-top: 2px;
      flex-shrink: 0;
    }

    & strong { display: block; color: var(--color-forest); font-size: 0.9rem; margin-bottom: 0.2rem; }
    & span { color: var(--color-text-mid); font-size: 0.82rem; line-height: 1.4; }

    @media (max-width: 600px) {
      left: 0.5rem;
      bottom: 0.5rem;
    }
  }
}

/* ============================================
   FEATURES / TABS
   ============================================ */
.features {
  padding: var(--space-3xl) 0;
  background: var(--color-cream);

  & .features__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .features__title {
    margin-bottom: var(--space-xl);
    color: var(--color-forest);
  }

  & .features__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);

    @media (min-width: 900px) {
      grid-template-columns: 240px 1fr;
    }
  }

  & .features__tabs {
    display: flex;
    flex-direction: row;
    gap: var(--space-xs);
    overflow-x: auto;
    padding-bottom: 0.5rem;

    @media (min-width: 900px) {
      flex-direction: column;
      overflow-x: visible;
      padding-bottom: 0;
    }
  }

  & .features__tab {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-mid);
    white-space: nowrap;
    transition: all var(--transition-base);
    text-align: left;

    & i { font-size: 1rem; color: var(--color-sage); }

    &:hover {
      background: rgba(74,103,65,0.08);
      color: var(--color-forest);
    }

    &.features__tab--active {
      background: var(--color-forest);
      color: var(--color-cream);
      border-color: var(--color-forest);
      box-shadow: var(--shadow-md);

      & i { color: var(--color-sage-light); }
    }
  }

  & .features__panel {
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

    @media (min-width: 700px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  & .features__content {
    grid-column: 1;

    &.features__content--hidden { display: none; }

    & .features__content-icon {
      width: 52px;
      height: 52px;
      background: var(--color-forest);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-sm);

      & i { color: var(--color-sage-light); font-size: 1.3rem; }
    }

    & h3 { color: var(--color-forest); margin-bottom: var(--space-sm); }
    & p { color: var(--color-text-mid); font-size: 0.95rem; }
  }

  & .features__list {
    margin-top: var(--space-sm);

    & li {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      padding: 0.35rem 0;
      font-size: 0.9rem;
      color: var(--color-text-mid);

      & i { color: var(--color-moss); margin-top: 2px; flex-shrink: 0; }
    }
  }

  & .features__image-wrap {
    grid-column: 1;
    border-radius: var(--radius-md);
    overflow: hidden;

    @media (min-width: 700px) {
      grid-column: 2;
      grid-row: 1;
    }
  }

  & .features__image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
  }
}

/* ============================================
   PROGRAMS PREVIEW
   ============================================ */
.programs-preview {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(160deg, var(--color-forest) 0%, var(--color-forest-deep) 100%);
  overflow: hidden;

  & .programs-preview__container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .programs-preview__title {
    color: var(--color-cream);
    margin-bottom: var(--space-xl);
  }

  & .programs-preview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

    @media (min-width: 700px) { grid-template-columns: 1fr 1fr; }
    @media (min-width: 1024px) { grid-template-columns: 1fr 1fr 1fr; }
  }

  & .programs-preview__cta {
    margin-top: var(--space-xl);
    text-align: center;
  }
}

.program-card {
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  backdrop-filter: blur(4px);

  &:hover {
    background: rgba(245,240,232,0.10);
    border-color: rgba(245,240,232,0.22);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
  }

  &.program-card--featured {
    background: rgba(122,158,110,0.15);
    border-color: rgba(122,158,110,0.35);
  }

  & .program-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-amber);
    color: var(--color-bark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.05em;
  }

  & .program-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(122,158,110,0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);

    & i { color: var(--color-sage-light); font-size: 1.3rem; }
  }

  & .program-card__title {
    color: var(--color-cream);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
  }

  & .program-card__desc {
    color: rgba(245,240,232,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
  }

  & .program-card__link {
    color: var(--color-sage-light);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition-base);

    &:hover { gap: 0.7rem; }
  }
}

/* ============================================
   AUDIENCE SECTION
   ============================================ */
.audience {
  padding: var(--space-3xl) 0;
  background: var(--color-warm-white);

  & .audience__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .audience__header {
    margin-bottom: var(--space-xl);
    & h2 { color: var(--color-forest); }
  }

  & .audience__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

    @media (min-width: 600px) { grid-template-columns: 1fr 1fr; }
    @media (min-width: 1024px) { grid-template-columns: repeat(4, 1fr); }
  }

  & .audience__card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);

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

  & .audience__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  & .audience__card-body {
    padding: var(--space-md);

    & h3 { color: var(--color-forest); font-size: 1rem; margin-bottom: var(--space-xs); }
    & p { color: var(--color-text-mid); font-size: 0.88rem; line-height: 1.6; }
  }
}

/* ============================================
   COUNTERS SECTION
   ============================================ */
.counters {
  position: relative;
  padding: var(--space-xl) 0;
  background: var(--color-earth);
  overflow: hidden;

  & .counters__container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);

    @media (min-width: 700px) { grid-template-columns: repeat(4, 1fr); }
  }

  & .counter__item {
    text-align: center;
    padding: var(--space-md);
  }

  & .counter__number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-cream);
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  & .counter__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(245,240,232,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
}

/* ============================================
   GALLERY STRIP
   ============================================ */
.gallery-strip {
  & .gallery-strip__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 4px;

    @media (min-width: 700px) {
      grid-template-columns: 1fr 1fr 1fr 2fr;
      grid-template-rows: 320px;
    }
  }

  & .gallery-strip__item {
    overflow: hidden;

    &.gallery-strip__item--tall {
      grid-row: span 2;

      @media (min-width: 700px) { grid-row: span 1; }
    }

    &.gallery-strip__item--wide {
      grid-column: span 2;

      @media (min-width: 700px) { grid-column: span 1; }
    }
  }

  & .gallery-strip__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;

    &:hover { transform: scale(1.05); }
  }
}

/* ============================================
   EVENTS PREVIEW
   ============================================ */
.events-preview {
  padding: var(--space-3xl) 0;
  background: var(--color-cream);

  & .events-preview__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .events-preview__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);

    & h2 { color: var(--color-forest); }
  }

  & .events-preview__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
}

.event-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  flex-wrap: wrap;

  &:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
  }

  & .event-item__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    background: var(--color-forest);
    color: var(--color-cream);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.8rem;
    text-align: center;
    flex-shrink: 0;
  }

  & .event-item__day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
  }

  & .event-item__month {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sage-light);
  }

  & .event-item__body { flex: 1; }

  & .event-item__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-forest);
    margin-bottom: 0.25rem;
  }

  & .event-item__meta {
    font-size: 0.82rem;
    color: var(--color-text-light);
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;

    & i { color: var(--color-sage); }
  }

  & .event-item__cta { flex-shrink: 0; }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-moss) 0%, var(--color-forest) 100%);
  overflow: hidden;
  text-align: center;

  & .cta-section__container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .cta-section__title {
    color: var(--color-cream);
    margin-bottom: var(--space-md);
  }

  & .cta-section__text {
    color: rgba(245,240,232,0.8);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
  }

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-forest-deep);
  color: var(--color-cream);

  & .footer__top {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);

    @media (min-width: 600px) { grid-template-columns: 1fr 1fr; }
    @media (min-width: 1024px) { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  }

  & .footer__brand {
    & p {
      color: rgba(245,240,232,0.6);
      font-size: 0.9rem;
      line-height: 1.6;
      margin-top: var(--space-sm);
    }
  }

  & .footer__logo { height: 36px; width: auto; }

  & h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-sage-light);
    margin-bottom: var(--space-md);
  }

  & ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;

    & a {
      color: rgba(245,240,232,0.6);
      font-size: 0.9rem;
      transition: color var(--transition-base);

      &:hover { color: var(--color-cream); }
    }
  }

  & .footer__contact {
    & p {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      color: rgba(245,240,232,0.6);
      font-size: 0.9rem;
      margin-bottom: 0.6rem;

      & i { color: var(--color-sage); margin-top: 2px; flex-shrink: 0; }
      & a { color: rgba(245,240,232,0.6); &:hover { color: var(--color-cream); } }
    }
  }

  & .footer__bottom {
    border-top: 1px solid rgba(245,240,232,0.1);
    padding: var(--space-md) var(--space-lg);
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);

    & p {
      color: rgba(245,240,232,0.4);
      font-size: 0.82rem;
      margin: 0;
    }
  }
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  background: linear-gradient(135deg, var(--color-forest-deep) 0%, var(--color-forest) 60%, var(--color-moss) 100%);
  overflow: hidden;
  text-align: center;

  &.page-hero--short {
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
  }

  & .page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
  }

  & .page-hero__title {
    color: var(--color-cream);
    margin-bottom: var(--space-md);
  }

  & .page-hero__subtitle {
    color: rgba(245,240,232,0.8);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
  }
}

/* ============================================
   PHILOSOPHY (Naše zameranie)
   ============================================ */
.philosophy {
  padding: var(--space-3xl) 0;
  background: var(--color-warm-white);

  & .philosophy__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .philosophy__intro {
    max-width: 640px;
    margin-bottom: var(--space-2xl);

    & h2 { color: var(--color-forest); margin-bottom: var(--space-md); }
    & .philosophy__lead {
      font-size: 1.1rem;
      color: var(--color-text-mid);
      line-height: 1.7;
    }
  }

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

    @media (min-width: 700px) { grid-template-columns: 1fr 1fr; }
  }

  & .philosophy__block {
    & .philosophy__block-num {
      font-size: 3rem;
      font-weight: 700;
      color: var(--color-border);
      line-height: 1;
      margin-bottom: var(--space-xs);
    }

    & h3 { color: var(--color-forest); margin-bottom: var(--space-sm); }
    & p { color: var(--color-text-mid); font-size: 0.95rem; }
  }
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(160deg, var(--color-forest) 0%, var(--color-forest-deep) 100%);
  overflow: hidden;

  & .values__container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .values__title {
    color: var(--color-cream);
    margin-bottom: var(--space-xl);
  }

  & .values__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

    @media (min-width: 600px) { grid-template-columns: 1fr 1fr; }
    @media (min-width: 1024px) { grid-template-columns: repeat(5, 1fr); }
  }

  & .values__card {
    background: rgba(245,240,232,0.06);
    border: 1px solid rgba(245,240,232,0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);

    &:hover {
      background: rgba(245,240,232,0.10);
      transform: translateY(-4px);
    }

    & h3 { color: var(--color-cream); font-size: 1rem; margin: var(--space-sm) 0 var(--space-xs); }
    & p { color: rgba(245,240,232,0.65); font-size: 0.88rem; line-height: 1.6; }
  }

  & .values__icon {
    font-size: 1.5rem;
    color: var(--color-sage-light);
  }
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach {
  padding: var(--space-3xl) 0;
  background: var(--color-cream);

  & .approach__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;

    @media (min-width: 900px) { grid-template-columns: 1fr 1fr; }
  }

  & .approach__img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
  }

  & .approach__text {
    & h2 { color: var(--color-forest); margin-bottom: var(--space-md); }
    & p { color: var(--color-text-mid); margin-bottom: var(--space-sm); }
    & .btn { margin-top: var(--space-md); }
  }
}

/* ============================================
   PROGRAMS DETAIL PAGE
   ============================================ */
.programs-detail {
  padding: var(--space-3xl) 0;
  background: var(--color-warm-white);

  & .programs-detail__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
  }
}

.program-detail {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);

  &.program-detail--alt {
    background: var(--color-warm-white);
  }

  & .program-detail__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
  }

  & .program-detail__icon {
    width: 60px;
    height: 60px;
    background: var(--color-forest);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    & i { color: var(--color-sage-light); font-size: 1.5rem; }
  }

  & .program-detail__level {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-moss);
    margin-bottom: 0.25rem;
  }

  & .program-detail__title { color: var(--color-forest); }

  & .program-detail__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);

    @media (min-width: 900px) { grid-template-columns: 1fr 1fr; }
  }

  & .program-detail__text {
    & p { color: var(--color-text-mid); margin-bottom: var(--space-sm); }
    & h4 { color: var(--color-forest); margin: var(--space-md) 0 var(--space-sm); }
    & .btn { margin-top: var(--space-md); }
  }

  & .program-detail__list {
    & li {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      padding: 0.4rem 0;
      font-size: 0.9rem;
      color: var(--color-text-mid);
      border-bottom: 1px solid var(--color-border);

      &:last-child { border-bottom: none; }
      & i { color: var(--color-moss); margin-top: 2px; flex-shrink: 0; }
    }
  }

  & .program-detail__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
    padding: var(--space-md);
    background: var(--color-warm-white);
    border-radius: var(--radius-md);
  }

  & .program-detail__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-mid);

    & i { color: var(--color-moss); width: 16px; }
  }

  & .program-detail__img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }

  & .program-detail__img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
  }
}

/* ============================================
   WHAT TO BRING
   ============================================ */
.what-to-bring {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-earth) 0%, var(--color-bark) 100%);
  overflow: hidden;

  & .what-to-bring__container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);

    & h2 { color: var(--color-cream); margin-bottom: var(--space-xl); }
  }

  & .what-to-bring__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

    @media (min-width: 600px) { grid-template-columns: 1fr 1fr; }
    @media (min-width: 1024px) { grid-template-columns: repeat(5, 1fr); }
  }

  & .what-to-bring__item {
    background: rgba(245,240,232,0.08);
    border: 1px solid rgba(245,240,232,0.15);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;

    & i { font-size: 1.8rem; color: var(--color-cream); margin-bottom: var(--space-sm); display: block; }
    & h4 { color: var(--color-cream); margin-bottom: var(--space-xs); font-size: 0.95rem; }
    & p { color: rgba(245,240,232,0.65); font-size: 0.85rem; line-height: 1.5; }
  }
}

/* ============================================
   EVENTS FULL PAGE
   ============================================ */
.events-full {
  padding: var(--space-3xl) 0;
  background: var(--color-warm-white);

  & .events-full__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
  }

  & .events-full__month-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-moss);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border);
  }

  & .events-full__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
}

.event-full-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-md);
  align-items: center;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);

  &:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }

  @media (max-width: 600px) {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;

    & .event-full-item__cta {
      grid-column: 1 / -1;
    }
  }

  & .event-full-item__date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-forest);
    color: var(--color-cream);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 64px;
    flex-shrink: 0;
  }

  & .event-full-item__day {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
  }

  & .event-full-item__month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sage-light);
    margin: 0.2rem 0;
  }

  & .event-full-item__year {
    font-size: 0.65rem;
    color: rgba(245,240,232,0.5);
  }

  & .event-full-item__top { margin-bottom: var(--space-xs); }

  & .event-full-item__type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.3rem;

    &.event-full-item__type--beginner { background: rgba(122,158,110,0.15); color: var(--color-moss); }
    &.event-full-item__type--intermediate { background: rgba(212,136,58,0.15); color: var(--color-earth); }
    &.event-full-item__type--advanced { background: rgba(44,59,45,0.1); color: var(--color-forest); }
    &.event-full-item__type--family { background: rgba(139,107,74,0.15); color: var(--color-earth); }
  }

  & .event-full-item__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-forest);
  }

  & .event-full-item__details {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin: 0.4rem 0;

    & span {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.82rem;
      color: var(--color-text-light);

      & i { color: var(--color-sage); }
    }
  }

  & .event-full-item__desc {
    font-size: 0.88rem;
    color: var(--color-text-mid);
    margin: 0;
  }

  & .event-full-item__cta { flex-shrink: 0; }
}

/* ============================================
   EVENTS INFO BOX
   ============================================ */
.events-info {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--color-warm-white);

  & .events-info__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .events-info__box {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border-left: 4px solid var(--color-moss);
    box-shadow: var(--shadow-md);

    @media (max-width: 600px) { flex-direction: column; }

    & h3 { color: var(--color-forest); margin-bottom: var(--space-sm); }
    & p { color: var(--color-text-mid); margin-bottom: var(--space-sm); font-size: 0.95rem; }
    & .btn { margin-top: var(--space-xs); }
  }

  & .events-info__icon {
    font-size: 2rem;
    color: var(--color-moss);
    flex-shrink: 0;
    margin-top: 4px;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: var(--space-3xl) 0;
  background: var(--color-warm-white);

  & .contact-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);

    @media (min-width: 900px) { grid-template-columns: 1fr 1.2fr; }
  }
}

.contact-info {
  & h2 { color: var(--color-forest); margin-bottom: var(--space-md); }
  & > p { color: var(--color-text-mid); margin-bottom: var(--space-xl); }

  & .contact-info__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }

  & .contact-info__item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;

    & strong { display: block; color: var(--color-forest); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
    & p { color: var(--color-text-mid); font-size: 0.9rem; margin: 0; }
    & a { color: var(--color-moss); &:hover { color: var(--color-forest); } }
  }

  & .contact-info__icon {
    width: 44px;
    height: 44px;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);

    & i { color: var(--color-moss); font-size: 1rem; }
  }
}

.booking-info {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border-left: 4px solid var(--color-amber);

  & h3 {
    color: var(--color-forest);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;

    & i { color: var(--color-amber); }
  }

  & p { color: var(--color-text-mid); font-size: 0.9rem; margin-bottom: var(--space-xs); }
}


.contact-form-wrap {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form__steps-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-xl);
  justify-content: center;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  flex-shrink: 0;

  &.step-dot--active {
    background: var(--color-forest);
    color: var(--color-cream);
    box-shadow: var(--shadow-colored);
  }

  &.step-dot--done {
    background: var(--color-moss);
    color: var(--color-cream);
  }
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  max-width: 80px;
  transition: background var(--transition-base);

  &.step-line--done { background: var(--color-moss); }
}

.contact-form__step {
  display: none;

  &.contact-form__step--active { display: block; }

  & .contact-form__step-title {
    color: var(--color-forest);
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
  }
}

.contact-form__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
}


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

  & .form-group__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
  }

  & .form-group__input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: var(--color-warm-white);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    min-height: 44px;
    appearance: none;

    &:focus {
      outline: none;
      border-color: var(--color-moss);
      box-shadow: 0 0 0 3px rgba(74,103,65,0.12);
    }

    &::placeholder { color: var(--color-text-light); }
  }

  & .form-group__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5C4B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
  }

  & .form-group__textarea {
    min-height: 140px;
    resize: vertical;
  }

  &.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;

    & input[type="checkbox"] {
      width: 20px;
      height: 20px;
      min-width: 20px;
      margin-top: 2px;
      accent-color: var(--color-moss);
      cursor: pointer;
    }

    & label {
      font-size: 0.85rem;
      color: var(--color-text-mid);
      line-height: 1.5;
      cursor: pointer;

      & a { color: var(--color-moss); text-decoration: underline; }
    }
  }
}


.map-section {
  background: var(--color-cream);

  & .map-section__header {
    padding: var(--space-xl) var(--space-lg) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;

    & h2 { color: var(--color-forest); margin-bottom: 0.25rem; }
    & p { color: var(--color-text-mid); }
  }

  & .map-section__map {
    & iframe {
      display: block;
      filter: sepia(20%) contrast(95%);
    }
  }
}

/* ============================================
   THANKS PAGE
   ============================================ */
.thanks-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  background: linear-gradient(135deg, var(--color-moss) 0%, var(--color-forest) 50%, var(--color-forest-deep) 100%);
  overflow: hidden;
  text-align: center;

  & .thanks-hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
  }

  & .thanks-hero__icon {
    width: 80px;
    height: 80px;
    background: rgba(245,240,232,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 2rem;
    color: var(--color-cream);
  }

  & .thanks-hero__title {
    color: var(--color-cream);
    margin-bottom: var(--space-md);
  }

  & .thanks-hero__subtitle {
    color: rgba(245,240,232,0.8);
    font-size: 1.1rem;
    line-height: 1.7;
  }
}

.next-steps {
  padding: var(--space-3xl) 0;
  background: var(--color-warm-white);
  text-align: center;

  & .next-steps__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-lg);

    & h2 { color: var(--color-forest); margin-bottom: var(--space-xl); }
  }

  & .next-steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);

    @media (min-width: 700px) { grid-template-columns: repeat(3, 1fr); }
  }

  & .next-steps__item {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);

    & i { font-size: 2rem; color: var(--color-moss); margin-bottom: var(--space-md); display: block; }
    & h3 { color: var(--color-forest); margin-bottom: var(--space-sm); }
    & p { color: var(--color-text-mid); font-size: 0.9rem; margin-bottom: var(--space-md); }
  }

  & .next-steps__home { margin-top: var(--space-md); }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-hero {
  background: var(--color-cream);
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);

  & .legal-hero__content {
    max-width: 800px;
    margin: 0 auto;

    & h1 { color: var(--color-forest); font-size: clamp(1.8rem, 4vw, 2.8rem); }
    & p { color: var(--color-text-light); margin-top: var(--space-xs); }
  }
}

.legal-content {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--color-warm-white);

  & .legal-content__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  & .legal-content__intro {
    background: var(--color-cream);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    border-left: 4px solid var(--color-moss);

    & p { color: var(--color-text-mid); font-size: 0.95rem; line-height: 1.7; margin: 0; }
  }

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

    &:last-child { border-bottom: none; }

    & h2 {
      font-size: 1.1rem;
      color: var(--color-forest);
      margin-bottom: var(--space-sm);
    }

    & p {
      color: var(--color-text-mid);
      font-size: 0.92rem;
      line-height: 1.75;
    }
  }
}

/* ============================================
   COOKIE CONSENT - SIDE PANEL
   ============================================ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,36,25,0.4);
  backdrop-filter: blur(2px);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);

  &.cookie-overlay--visible {
    opacity: 1;
    pointer-events: all;
  }
}

.cookie-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 100vw;
  background: var(--color-warm-white);
  z-index: 9001;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(26,36,25,0.2);
  transform: translateX(100%);
  transition: transform var(--transition-slow) cubic-bezier(0.22, 1, 0.36, 1);

  &.cookie-panel--visible {
    transform: translateX(0);
  }

  & .cookie-panel__header {
    background: var(--color-forest);
    padding: var(--space-md) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);

    & i { color: var(--color-sage-light); font-size: 1.4rem; }
    & h3 { color: var(--color-cream); font-size: 1rem; }
  }

  & .cookie-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
  }

  & .cookie-panel__intro {
    font-size: 0.85rem;
    color: var(--color-text-mid);
    line-height: 1.6;
    margin-bottom: var(--space-md);
  }

  & .cookie-panel__category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);

    &:last-child { border-bottom: none; }
  }

  & .cookie-panel__category-info {
    & strong { display: block; font-size: 0.88rem; color: var(--color-text-dark); margin-bottom: 0.2rem; }
    & span { font-size: 0.78rem; color: var(--color-text-light); }
  }

  & .cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;

    & input {
      opacity: 0;
      width: 0;
      height: 0;
      position: absolute;

      &:checked + .cookie-toggle__slider {
        background: var(--color-moss);
      }

      &:checked + .cookie-toggle__slider::before {
        transform: translateX(20px);
      }

      &:disabled + .cookie-toggle__slider {
        opacity: 0.6;
        cursor: not-allowed;
      }
    }

    & .cookie-toggle__slider {
      position: absolute;
      inset: 0;
      background: var(--color-border);
      border-radius: var(--radius-pill);
      cursor: pointer;
      transition: background var(--transition-base);

      &::before {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        left: 3px;
        top: 3px;
        background: white;
        border-radius: 50%;
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-sm);
      }
    }
  }

  & .cookie-panel__footer {
    padding: var(--space-md);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);

    & .cookie-panel__links {
      display: flex;
      gap: var(--space-sm);
      justify-content: center;
      margin-top: 0.5rem;

      & a {
        font-size: 0.75rem;
        color: var(--color-text-light);
        text-decoration: underline;

        &:hover { color: var(--color-moss); }
      }
    }
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;

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

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 480px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .hero__content { padding: calc(var(--nav-height) + 2rem) var(--space-md) var(--space-xl); }
  .about-preview__card { display: none; }
  .event-full-item { grid-template-columns: auto 1fr; }
  .program-detail { padding: var(--space-md); }
  .contact-form-wrap { padding: var(--space-md); }
  .footer__top { padding: var(--space-xl) var(--space-md); }
}