/* ============================================================
   YOGUNA — DESIGN SYSTEM
   Cutout Layers concept | Czech fermentation education
   ============================================================ */


:root {
  
  --c-cream: #F7F3EE;
  --c-cream-dark: #EDE6DB;
  --c-parchment: #F2EBE0;
  --c-forest: #2C4A3E;
  --c-forest-deep: #1A2E27;
  --c-forest-mid: #3D6355;
  --c-forest-light: #5A8A75;
  --c-amber: #C8742A;
  --c-amber-light: #E8963C;
  --c-amber-pale: #F5D9B8;
  --c-clay: #8B4513;
  --c-sage: #7BA68A;
  --c-sage-pale: #C8DDD1;
  --c-text: #1E2D27;
  --c-text-mid: #3D5248;
  --c-text-muted: #6B7F76;
  --c-white: #FDFAF6;

  
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 40px;
  --r-full: 9999px;

  
  --sh-xs: 0 1px 3px rgba(44,74,62,0.08), 0 1px 2px rgba(44,74,62,0.06);
  --sh-sm: 0 2px 8px rgba(44,74,62,0.10), 0 1px 4px rgba(44,74,62,0.06);
  --sh-md: 0 4px 16px rgba(44,74,62,0.12), 0 2px 8px rgba(44,74,62,0.08);
  --sh-lg: 0 8px 32px rgba(44,74,62,0.14), 0 4px 16px rgba(44,74,62,0.08);
  --sh-xl: 0 16px 48px rgba(44,74,62,0.18), 0 6px 24px rgba(44,74,62,0.10);
  --sh-amber: 0 8px 32px rgba(200,116,42,0.22), 0 2px 8px rgba(200,116,42,0.12);
  --sh-glass: 0 8px 32px rgba(44,74,62,0.12), inset 0 1px 0 rgba(255,255,255,0.5);

  
  --ff-heading: 'Red Hat Display', sans-serif;
  --ff-body: 'Red Hat Text', sans-serif;

  
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
  --t-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}


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

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

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background-color: var(--c-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-base), opacity var(--t-base); }
ul, ol { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


.pace .pace-progress {
  background: var(--c-amber) !important;
  height: 3px !important;
}
.pace .pace-progress-inner { box-shadow: 0 0 10px var(--c-amber), 0 0 5px var(--c-amber) !important; }


.global-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-amber), var(--c-amber-light));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(200,116,42,0.5);
}


.global-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}


.global-section { padding-block: var(--sp-24); }
.global-section--tall { padding-block: var(--sp-32); }
.global-section--medium { padding-block: var(--sp-16); }
.global-section--compact { padding-block: var(--sp-12); }


.global-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: var(--sp-4);
}
.global-label--light { color: var(--c-amber-light); }


.global-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  border: 2px solid transparent;
  text-decoration: none;
}
.global-btn--primary {
  background: var(--c-amber);
  color: var(--c-white);
  border-color: var(--c-amber);
  box-shadow: var(--sh-amber);
}
.global-btn--primary:hover {
  background: var(--c-clay);
  border-color: var(--c-clay);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200,116,42,0.30);
}
.global-btn--ghost {
  background: rgba(253,250,246,0.15);
  color: var(--c-white);
  border-color: rgba(253,250,246,0.4);
  backdrop-filter: blur(8px);
}
.global-btn--ghost:hover {
  background: rgba(253,250,246,0.25);
  border-color: rgba(253,250,246,0.7);
  transform: translateY(-2px);
}
.global-btn--outline {
  background: transparent;
  color: var(--c-forest);
  border-color: var(--c-forest);
}
.global-btn--outline:hover {
  background: var(--c-forest);
  color: var(--c-white);
  transform: translateY(-2px);
}
.global-btn--large {
  font-size: 1rem;
  padding: var(--sp-4) var(--sp-8);
  min-height: 52px;
}
.global-btn--full { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.global-header {
  padding-top: var(--sp-6);
  padding-inline: var(--sp-6);
  position: relative;
  z-index: 100;
}

.global-nav {
  max-width: 1100px;
  margin-inline: auto;
  background: rgba(253,250,246,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.6);
}

.global-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-6);
}

.global-nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.global-nav__logo img { transition: opacity var(--t-base); }
.global-nav__logo:hover img { opacity: 0.8; }

.global-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.global-nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-mid);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}
.global-nav__link:hover {
  color: var(--c-forest);
  background: var(--c-cream-dark);
}
.global-nav__link.is-active {
  color: var(--c-white);
  background: var(--c-forest);
}

.global-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  transition: background var(--t-base);
}
.global-nav__hamburger:hover { background: var(--c-cream-dark); }
.global-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-forest);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}

/* ============================================================
   MOBILE NAVIGATION (Tab Bar)
   ============================================================ */
.global-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(253,250,246,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(44,74,62,0.1);
  box-shadow: 0 -4px 24px rgba(44,74,62,0.12);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.global-mobile-nav__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: var(--sp-2) var(--sp-1);
  min-height: 56px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--c-text-muted);
  transition: all var(--t-base);
  text-decoration: none;
}
.global-mobile-nav__tab i { font-size: 1.1rem; transition: transform var(--t-spring); }
.global-mobile-nav__tab:hover { color: var(--c-forest); }
.global-mobile-nav__tab:hover i { transform: translateY(-2px); }
.global-mobile-nav__tab.is-active {
  color: var(--c-amber);
}
.global-mobile-nav__tab.is-active i { transform: translateY(-2px); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.global-back-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  background: var(--c-forest);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--t-base);
}
.global-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.global-back-top:hover {
  background: var(--c-amber);
  transform: translateY(-2px);
  box-shadow: var(--sh-amber);
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.home-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--sp-6) - 60px);
  padding-top: calc(var(--sp-6) + 60px + var(--sp-20));
  padding-bottom: var(--sp-24);
}

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

.home-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,46,39,0.85) 0%,
    rgba(26,46,39,0.65) 50%,
    rgba(26,46,39,0.4) 100%
  );
}

.home-hero__cutout {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--c-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: var(--sp-8);
  align-items: flex-end;
  min-height: 60vh;
}

.home-hero__left { align-self: center; }

.home-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-amber-light);
  margin-bottom: var(--sp-4);
}

.home-hero__heading {
  font-family: var(--ff-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--c-white);
  letter-spacing: -0.02em;
}

.home-hero__right {
  align-self: flex-end;
  padding-bottom: var(--sp-8);
}

.home-hero__desc {
  font-size: 1.0625rem;
  color: rgba(253,250,246,0.85);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  max-width: 320px;
}

.home-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
}

/* ============================================================
   INTRO — HOME
   ============================================================ */
.home-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.home-intro__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-6);
  line-height: 1.1;
}

.home-intro__body {
  color: var(--c-text-mid);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.home-intro__cutout-frame {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  aspect-ratio: 4/5;
  box-shadow: var(--sh-xl);
}

.home-intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.home-intro__cutout-frame:hover .home-intro__img { transform: scale(1.04); }

/* ============================================================
   COURSES — HOME
   ============================================================ */
.home-courses--dark {
  background: var(--c-forest-deep);
  color: var(--c-white);
  position: relative;
}

.home-courses__cutout-top {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-cream);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

.home-courses__cutout-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.home-courses--dark .global-container { position: relative; z-index: 2; }

.home-courses__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.home-courses__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.1;
}

.home-courses__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.home-courses__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  backdrop-filter: blur(8px);
  transition: all var(--t-base);
  box-shadow: var(--sh-glass);
}
.home-courses__card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}

.home-courses__card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--c-amber), var(--c-amber-light));
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--c-white);
  margin-bottom: var(--sp-5);
  box-shadow: var(--sh-amber);
}

.home-courses__card-title {
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.home-courses__card-body {
  font-size: 0.9375rem;
  color: rgba(253,250,246,0.75);
  line-height: 1.6;
}

/* ============================================================
   BENEFITS — HOME
   ============================================================ */
.home-benefits__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-16);
  align-items: center;
}

.home-benefits__img-stack {
  position: relative;
  height: 520px;
}

.home-benefits__img {
  position: absolute;
  border-radius: var(--r-2xl);
  object-fit: cover;
  box-shadow: var(--sh-xl);
  transition: transform var(--t-slow);
}

.home-benefits__img--back {
  width: 78%;
  height: 75%;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.home-benefits__img--front {
  width: 60%;
  height: 60%;
  bottom: 0;
  right: 0;
  z-index: 2;
  clip-path: circle(48% at 50% 50%);
  box-shadow: var(--sh-xl), 0 0 0 6px var(--c-cream);
}

.home-benefits__img-stack:hover .home-benefits__img--back { transform: translate(-4px, -4px); }
.home-benefits__img-stack:hover .home-benefits__img--front { transform: translate(4px, 4px); }

.home-benefits__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  line-height: 1.1;
  margin-bottom: var(--sp-8);
}

.home-benefits__list { display: flex; flex-direction: column; gap: var(--sp-6); }

.home-benefits__item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.home-benefits__check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--c-amber), var(--c-amber-light));
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: 0.75rem;
  box-shadow: var(--sh-amber);
  margin-top: 2px;
}

.home-benefits__item strong {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-1);
}

.home-benefits__item p {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  line-height: 1.6;
}

/* ============================================================
   VALUES — HOME
   ============================================================ */
.home-values--accent {
  background: var(--c-forest);
  position: relative;
  overflow: hidden;
}

.home-values__cutout {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--c-cream);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
  z-index: 1;
}

.home-values--accent .global-container { position: relative; z-index: 2; }

.home-values__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.home-values__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.1;
}

.home-values__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.home-values__card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-7);
  transition: all var(--t-base);
  backdrop-filter: blur(8px);
}
.home-values__card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-4px);
}

.home-values__card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c-amber), var(--c-amber-light));
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--c-white);
  margin-bottom: var(--sp-5);
  box-shadow: var(--sh-amber);
}

.home-values__card-title {
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.home-values__card p {
  font-size: 0.9375rem;
  color: rgba(253,250,246,0.78);
  line-height: 1.65;
}

/* ============================================================
   CERTIFICATIONS — HOME
   ============================================================ */
.home-certifications__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.home-certifications__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  line-height: 1.1;
}

.home-certifications__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-5);
}

.home-certifications__badge {
  background: var(--c-white);
  border: 1px solid var(--c-cream-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  transition: all var(--t-base);
  box-shadow: var(--sh-sm);
}
.home-certifications__badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-sage-pale);
}

.home-certifications__badge-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c-sage-pale), var(--c-cream-dark));
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--c-forest);
  margin: 0 auto var(--sp-4);
}

.home-certifications__badge h4 {
  font-family: var(--ff-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-2);
}

.home-certifications__badge p {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ============================================================
   GALLERY — HOME
   ============================================================ */
.home-gallery--dark {
  background: var(--c-forest-deep);
  position: relative;
}

.home-gallery__cutout-top {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-cream);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 50% 100%, 0 40%);
  z-index: 1;
}

.home-gallery__cutout-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-cream);
  clip-path: polygon(0 60%, 50% 0, 100% 60%, 100% 100%, 0 100%);
  z-index: 1;
}

.home-gallery--dark .global-container { position: relative; z-index: 2; }

.home-gallery--dark .global-label--light { margin-bottom: var(--sp-3); display: block; }

.home-gallery__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--sp-10);
  line-height: 1.1;
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-4);
}

.home-gallery__item {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}

.home-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  min-height: 200px;
}

.home-gallery__item:hover img { transform: scale(1.05); }

.home-gallery__item--tall {
  grid-row: 1 / 3;
  aspect-ratio: unset;
}
.home-gallery__item--tall img { min-height: 440px; }

.home-gallery__item--wide {
  grid-column: 2 / 4;
}

/* ============================================================
   CTA — HOME
   ============================================================ */
.home-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  background: var(--c-white);
  border-radius: var(--r-2xl);
  padding: var(--sp-12) var(--sp-12);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--c-cream-dark);
}

.home-cta__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-3);
  line-height: 1.1;
}

.home-cta__text p { color: var(--c-text-mid); font-size: 1.0625rem; }

.home-cta__actions {
  display: flex;
  gap: var(--sp-4);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.global-footer {
  background: var(--c-forest-deep);
  color: rgba(253,250,246,0.8);
  padding-top: var(--sp-16);
}

.global-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.global-footer__logo { margin-bottom: var(--sp-4); }

.global-footer__brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(253,250,246,0.65);
  margin-bottom: var(--sp-5);
  max-width: 280px;
}

.global-footer__address {
  font-size: 0.875rem;
  color: rgba(253,250,246,0.6);
  line-height: 1.9;
}
.global-footer__address i {
  color: var(--c-amber);
  width: 16px;
  margin-right: var(--sp-2);
}
.global-footer__address a {
  color: rgba(253,250,246,0.75);
  transition: color var(--t-base);
}
.global-footer__address a:hover { color: var(--c-amber-light); }

.global-footer__nav h4,
.global-footer__legal h4,
.global-footer__news h4 {
  font-family: var(--ff-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.global-footer__nav ul li,
.global-footer__legal ul li {
  margin-bottom: var(--sp-3);
}

.global-footer__nav a,
.global-footer__legal a {
  font-size: 0.9rem;
  color: rgba(253,250,246,0.65);
  transition: color var(--t-base);
}
.global-footer__nav a:hover,
.global-footer__legal a:hover { color: var(--c-amber-light); }

.global-footer__news-list { display: flex; flex-direction: column; gap: var(--sp-4); }

.global-footer__news-list a {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: rgba(253,250,246,0.65);
  line-height: 1.4;
  transition: color var(--t-base);
}
.global-footer__news-list a:hover { color: var(--c-white); }

.global-footer__news-tag {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-amber);
  color: var(--c-white);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  margin-top: 1px;
}

.global-footer__bottom {
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.global-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.global-footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(253,250,246,0.4);
}

/* ============================================================
   MISSION PAGE
   ============================================================ */
.mission-hero__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding-top: var(--sp-12);
}

.mission-hero__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  line-height: 1.0;
  margin-bottom: var(--sp-6);
}

.mission-hero__lead {
  font-size: 1.125rem;
  color: var(--c-text-mid);
  line-height: 1.7;
  max-width: 480px;
}

.mission-hero__cutout-circle {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-full);
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
  box-shadow: var(--sh-xl);
}
.mission-hero__cutout-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-story__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.mission-story__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-6);
}

.mission-story__text p {
  color: var(--c-text-mid);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
  font-size: 1.0625rem;
}

.mission-story__quote-block {
  background: var(--c-cream-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  margin-bottom: var(--sp-5);
  border-left: 4px solid var(--c-amber);
}

.mission-story__quote-icon {
  color: var(--c-amber);
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}

.mission-story__quote {
  font-family: var(--ff-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-forest-deep);
  line-height: 1.55;
  font-style: italic;
}

.mission-story__fact {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  background: var(--c-white);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-4);
  box-shadow: var(--sh-sm);
}

.mission-story__fact i {
  color: var(--c-forest-light);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.mission-story__fact p { font-size: 0.9375rem; color: var(--c-text-mid); line-height: 1.55; }

.mission-values--dark {
  background: var(--c-forest-deep);
  position: relative;
}
.mission-values__cutout {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-cream);
  clip-path: ellipse(60% 100% at 50% 0%);
  z-index: 1;
}
.mission-values--dark .global-container { position: relative; z-index: 2; }

.mission-values__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--sp-10);
}

.mission-values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.mission-values__item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all var(--t-base);
}
.mission-values__item:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-3px);
}

.mission-values__num {
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(200,116,42,0.3);
  line-height: 1;
  margin-bottom: var(--sp-3);
}

.mission-values__item h3 {
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.mission-values__item p { font-size: 0.9375rem; color: rgba(253,250,246,0.72); line-height: 1.65; }

.mission-scope__layout { max-width: 800px; margin-inline: auto; }

.mission-scope__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  text-align: center;
  margin-bottom: var(--sp-10);
}

.mission-scope__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.mission-scope__col {
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.mission-scope__col--yes {
  background: linear-gradient(135deg, rgba(90,138,117,0.1), rgba(90,138,117,0.05));
  border: 1px solid rgba(90,138,117,0.25);
}

.mission-scope__col--no {
  background: linear-gradient(135deg, rgba(200,116,42,0.08), rgba(200,116,42,0.04));
  border: 1px solid rgba(200,116,42,0.2);
}

.mission-scope__col h3 {
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.mission-scope__col--yes h3 i { color: var(--c-forest-light); }
.mission-scope__col--no h3 i { color: var(--c-amber); }

.mission-scope__col li {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(44,74,62,0.08);
  line-height: 1.5;
}
.mission-scope__col li:last-child { border-bottom: none; }

.mission-cta--accent {
  background: var(--c-forest);
}
.mission-cta__inner {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}
.mission-cta__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}
.mission-cta--accent p { color: rgba(253,250,246,0.8); margin-bottom: var(--sp-8); }
.mission-cta__btns { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ENROLL PAGE
   ============================================================ */
.enroll-hero__layout {
  position: relative;
  padding-top: var(--sp-8);
}

.enroll-hero__text { max-width: 640px; }

.enroll-hero__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-5);
  line-height: 1.05;
}

.enroll-hero__lead {
  font-size: 1.125rem;
  color: var(--c-text-mid);
  line-height: 1.7;
}

.enroll-hero__cutout {
  position: absolute;
  right: -80px;
  top: 0;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--c-sage-pale), var(--c-cream-dark));
  border-radius: var(--r-full);
  clip-path: circle(50% at 50% 50%);
  opacity: 0.5;
  z-index: -1;
}

.enroll-courses__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-4);
}

.enroll-courses__intro {
  color: var(--c-text-mid);
  font-size: 1.0625rem;
  margin-bottom: var(--sp-10);
  max-width: 560px;
}

.enroll-courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.enroll-course-card {
  background: var(--c-white);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--c-cream-dark);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.enroll-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
}

.enroll-course-card__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.enroll-course-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.enroll-course-card:hover .enroll-course-card__img-wrap img { transform: scale(1.05); }

.enroll-course-card__level {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: rgba(44,74,62,0.85);
  color: var(--c-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
}

.enroll-course-card__body {
  padding: var(--sp-7);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.enroll-course-card__title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-3);
}

.enroll-course-card__body > p {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.enroll-course-card__topics {
  margin-bottom: var(--sp-6);
  flex: 1;
}

.enroll-course-card__topics li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--c-text-mid);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-cream-dark);
}
.enroll-course-card__topics li:last-child { border-bottom: none; }
.enroll-course-card__topics li i { color: var(--c-amber); font-size: 0.625rem; }

.enroll-process--dark {
  background: var(--c-forest-deep);
  position: relative;
}
.enroll-process__cutout {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-cream);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
  z-index: 1;
}
.enroll-process--dark .global-container { position: relative; z-index: 2; }

.enroll-process__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--sp-10);
}

.enroll-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.enroll-process__step {
  text-align: center;
  position: relative;
}

.enroll-process__step-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c-amber), var(--c-amber-light));
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-white);
  margin: 0 auto var(--sp-5);
  box-shadow: var(--sh-amber);
}

.enroll-process__step h3 {
  font-family: var(--ff-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.enroll-process__step p { font-size: 0.9rem; color: rgba(253,250,246,0.72); line-height: 1.6; }

.enroll-faq__layout { max-width: 720px; margin-inline: auto; }

.enroll-faq__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-8);
}

.enroll-faq__item {
  border-bottom: 1px solid var(--c-cream-dark);
}

.enroll-faq__question {
  font-family: var(--ff-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-forest-deep);
  padding: var(--sp-5) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: color var(--t-base);
}
.enroll-faq__question::-webkit-details-marker { display: none; }
.enroll-faq__question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--c-amber);
  transition: transform var(--t-base);
}
.enroll-faq__item[open] .enroll-faq__question::after { transform: rotate(180deg); }
.enroll-faq__question:hover { color: var(--c-amber); }

.enroll-faq__answer {
  padding: 0 0 var(--sp-5);
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  line-height: 1.7;
}

/* ============================================================
   NEWSLETTER PAGE
   ============================================================ */
.newsletter-hero--accent {
  background: var(--c-forest);
  position: relative;
  overflow: hidden;
}
.newsletter-hero__cutout {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}
.newsletter-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
}

.newsletter-hero__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--sp-5);
  line-height: 1.1;
}
.newsletter-hero__lead {
  font-size: 1.0625rem;
  color: rgba(253,250,246,0.82);
  line-height: 1.7;
}

.newsletter-form {
  background: var(--c-white);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-xl);
}

.newsletter-form__field {
  margin-bottom: var(--sp-5);
}

.newsletter-form__field label,
.contact-form__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-2);
}

.newsletter-form__field input,
.newsletter-form__field select,
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--c-cream-dark);
  border-radius: var(--r-lg);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--c-text);
  background: var(--c-cream);
  transition: all var(--t-base);
  min-height: 44px;
  outline: none;
}

.newsletter-form__field input:focus,
.newsletter-form__field select:focus,
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--c-forest-light);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(90,138,117,0.15);
}

.contact-form__field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.newsletter-form__privacy,
.contact-form__privacy {
  margin-bottom: var(--sp-6);
}

.newsletter-form__checkbox-label,
.contact-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--c-text-mid);
  line-height: 1.55;
}

.newsletter-form__checkbox-label input,
.contact-form__checkbox-label input {
  width: 18px;
  height: 18px;
  min-height: unset;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-amber);
  cursor: pointer;
}

.newsletter-form__checkbox-label a,
.contact-form__checkbox-label a {
  color: var(--c-amber);
  text-decoration: underline;
}

.newsletter-topics__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-4);
}

.newsletter-topics__intro {
  color: var(--c-text-mid);
  font-size: 1.0625rem;
  margin-bottom: var(--sp-10);
  max-width: 540px;
}

.newsletter-topics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.newsletter-topics__item {
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  border: 1px solid var(--c-cream-dark);
  box-shadow: var(--sh-sm);
  transition: all var(--t-base);
}
.newsletter-topics__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}

.newsletter-topics__item i {
  font-size: 1.5rem;
  color: var(--c-amber);
  margin-bottom: var(--sp-4);
  display: block;
}

.newsletter-topics__item h3 {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-2);
}

.newsletter-topics__item p { font-size: 0.875rem; color: var(--c-text-muted); line-height: 1.55; }

.newsletter-recent--pale { background: var(--c-parchment); }

.newsletter-recent__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-8);
}

.newsletter-recent__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.newsletter-recent__item {
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  border: 1px solid var(--c-cream-dark);
  box-shadow: var(--sh-sm);
  transition: all var(--t-base);
}
.newsletter-recent__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}

.newsletter-recent__meta { margin-bottom: var(--sp-3); }

.newsletter-recent__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: var(--c-amber-pale);
  padding: 3px 8px;
  border-radius: var(--r-sm);
}

.newsletter-recent__title {
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.newsletter-recent__item > p {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
}

.newsletter-recent__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-amber);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--t-base), color var(--t-base);
}
.newsletter-recent__link:hover { color: var(--c-clay); gap: var(--sp-3); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-16);
  align-items: start;
  padding-top: var(--sp-8);
}

.contact-hero__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-5);
  line-height: 1.05;
}

.contact-hero__lead {
  font-size: 1.125rem;
  color: var(--c-text-mid);
  line-height: 1.7;
}

.contact-hero__info { display: flex; flex-direction: column; gap: var(--sp-4); }

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-cream-dark);
  transition: all var(--t-base);
}
.contact-info-card:hover {
  transform: translateX(4px);
  box-shadow: var(--sh-md);
}

.contact-info-card > i {
  font-size: 1.25rem;
  color: var(--c-amber);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-card h4 {
  font-family: var(--ff-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-1);
}

.contact-info-card address,
.contact-info-card a {
  font-size: 1rem;
  color: var(--c-forest-deep);
  font-weight: 500;
  line-height: 1.5;
}
.contact-info-card a:hover { color: var(--c-amber); }

.contact-form-section__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.contact-form-section__heading,
.contact-timeline__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-7);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.contact-form__field { margin-bottom: var(--sp-5); }

.contact-timeline__list { display: flex; flex-direction: column; gap: 0; }

.contact-timeline__item {
  display: flex;
  gap: var(--sp-4);
  position: relative;
  padding-bottom: var(--sp-6);
}

.contact-timeline__item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-sage-pale), transparent);
}

.contact-timeline__item:last-child::before { display: none; }

.contact-timeline__dot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--c-forest), var(--c-forest-mid));
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: 0.875rem;
  box-shadow: var(--sh-sm);
  position: relative;
  z-index: 1;
}

.contact-timeline__content h4 {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-1);
}

.contact-timeline__content p { font-size: 0.9rem; color: var(--c-text-mid); line-height: 1.6; }

.contact-map-section__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-6);
}

.contact-map-section__map {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--c-cream-dark);
}

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks-main {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thanks-section { width: 100%; }

.thanks-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: var(--sp-16);
}

.thanks-envelope {
  width: 120px;
  height: 90px;
  margin-bottom: var(--sp-10);
  position: relative;
}

.thanks-envelope__body {
  width: 120px;
  height: 90px;
  background: var(--c-forest);
  border-radius: var(--r-md);
  position: relative;
  overflow: visible;
  box-shadow: var(--sh-lg);
}

.thanks-envelope__flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--c-forest-mid);
  clip-path: polygon(0 0, 50% 60%, 100% 0);
  border-radius: var(--r-md) var(--r-md) 0 0;
  transform-origin: top center;
  animation: openFlap 0.6s 0.4s ease forwards;
}

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

.thanks-envelope__letter {
  position: absolute;
  bottom: 5px;
  left: 15px;
  right: 15px;
  height: 65px;
  background: var(--c-white);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: var(--sp-3);
  animation: slideUpLetter 0.5s 0.9s ease forwards;
  transform: translateY(0);
  box-shadow: var(--sh-sm);
}

@keyframes slideUpLetter {
  0% { transform: translateY(0); }
  100% { transform: translateY(-45px); }
}

.thanks-envelope__letter-lines span {
  display: block;
  height: 2px;
  background: var(--c-sage-pale);
  border-radius: var(--r-full);
  width: 60px;
  margin: 3px auto;
  animation: fadeInLines 0.3s 1.2s ease forwards;
  opacity: 0;
}
.thanks-envelope__letter-lines span:nth-child(2) { width: 45px; }
.thanks-envelope__letter-lines span:nth-child(3) { width: 52px; }

@keyframes fadeInLines {
  to { opacity: 1; }
}

.thanks-heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-5);
  animation: fadeUp 0.5s 1.5s ease forwards;
  opacity: 0;
  transform: translateY(16px);
}

.thanks-text {
  font-size: 1.125rem;
  color: var(--c-text-mid);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--sp-3);
  animation: fadeUp 0.5s 1.7s ease forwards;
  opacity: 0;
  transform: translateY(12px);
}

.thanks-subtext {
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-8);
  animation: fadeUp 0.5s 1.9s ease forwards;
  opacity: 0;
  transform: translateY(12px);
}

.thanks-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.5s 2.1s ease forwards;
  opacity: 0;
  transform: translateY(12px);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero__heading {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-4);
}

.legal-hero__meta {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.legal-content__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.legal-content__toc {
  position: sticky;
  top: var(--sp-8);
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  border: 1px solid var(--c-cream-dark);
  box-shadow: var(--sh-sm);
}

.legal-content__toc h3 {
  font-family: var(--ff-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}

.legal-content__toc ol,
.legal-content__toc ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
  counter-reset: none;
}

.legal-content__toc a {
  font-size: 0.875rem;
  color: var(--c-text-mid);
  line-height: 1.4;
  transition: color var(--t-base);
  display: block;
  padding: var(--sp-1) 0;
}
.legal-content__toc a:hover { color: var(--c-amber); }

.legal-content__body--wide { max-width: 860px; }

.legal-faq__item {
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--c-cream-dark);
}
.legal-faq__item:last-child { border-bottom: none; }

.legal-faq__item h2 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-2);
}

.legal-faq__item h3 {
  font-family: var(--ff-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-forest-deep);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.legal-faq__item p {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}
.legal-faq__item p:last-child { margin-bottom: 0; }

.legal-faq__item ul,
.legal-faq__item ol {
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

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

.legal-faq__item li {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  line-height: 1.65;
}

.legal-faq__item strong { color: var(--c-forest-deep); }
.legal-faq__item a { color: var(--c-amber); text-decoration: underline; }
.legal-faq__item address { margin-top: var(--sp-4); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: var(--sp-6);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.legal-table th {
  background: var(--c-forest);
  color: var(--c-white);
  font-family: var(--ff-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
}

.legal-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-cream-dark);
  color: var(--c-text-mid);
  background: var(--c-white);
}

.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: var(--c-cream); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .home-courses__grid { grid-template-columns: repeat(2, 1fr); }
  .home-certifications__grid { grid-template-columns: repeat(3, 1fr); }
  .home-gallery__grid { grid-template-columns: 1fr 1fr; }
  .home-gallery__item--tall { grid-row: auto; }
  .home-gallery__item--wide { grid-column: auto; }
  .home-benefits__layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .home-benefits__img-stack { height: 340px; }
  .global-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .enroll-courses__grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .enroll-process__steps { grid-template-columns: repeat(2, 1fr); }
  .newsletter-recent__list { grid-template-columns: 1fr; }
  .contact-form-section__layout { grid-template-columns: 1fr; }
  .legal-content__layout { grid-template-columns: 1fr; }
  .legal-content__toc { position: static; }
  .mission-story__grid { grid-template-columns: 1fr; }
  .mission-values__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .home-hero__content { grid-template-columns: 1fr; gap: var(--sp-8); }
  .home-hero__right { padding-bottom: 0; }
  .home-hero__heading { font-size: clamp(3rem, 10vw, 5rem); }
  .home-intro__grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .home-values__cards { grid-template-columns: 1fr; }
  .newsletter-hero__layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .contact-hero__layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .mission-hero__layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .mission-scope__cols { grid-template-columns: 1fr; }
  .home-cta__inner { flex-direction: column; text-align: center; padding: var(--sp-8); }
  .home-cta__actions { justify-content: center; }
  .newsletter-topics__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .global-nav__links { display: none; }
  .global-nav__hamburger { display: flex; }
  .global-mobile-nav { display: flex; }
  .global-back-top { bottom: 80px; right: var(--sp-4); }

  .global-section { padding-block: var(--sp-16); }
  .global-section--tall { padding-block: var(--sp-20); }
  .global-section--medium { padding-block: var(--sp-10); }

  .home-hero {
    min-height: 100svh;
    padding-bottom: var(--sp-16);
  }
  .home-hero__heading { font-size: clamp(2.75rem, 12vw, 4rem); }
  .home-hero__ctas { flex-direction: column; width: 100%; }
  .home-hero__ctas .global-btn { width: 100%; justify-content: center; }

  .home-courses__grid { grid-template-columns: 1fr; }
  .home-certifications__grid { grid-template-columns: repeat(2, 1fr); }
  .home-gallery__grid { grid-template-columns: 1fr; }
  .home-gallery__item--tall img { min-height: 280px; }

  .home-benefits__img-stack { height: 280px; }
  .home-benefits__img--back { width: 85%; height: 70%; }
  .home-benefits__img--front { width: 65%; height: 55%; }

  .home-values__cards { grid-template-columns: 1fr; }
  .home-cta__actions { flex-direction: column; width: 100%; }
  .home-cta__actions .global-btn { width: 100%; justify-content: center; }

  .global-footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .global-footer__bottom-inner { flex-direction: column; text-align: center; }

  .enroll-process__steps { grid-template-columns: 1fr; }
  .newsletter-topics__grid { grid-template-columns: 1fr; }
  .newsletter-hero__layout { padding-bottom: var(--sp-16); }

  .mission-hero__cutout-circle { max-width: 280px; margin-inline: auto; }
  .mission-cta__btns { flex-direction: column; align-items: center; }

  .contact-hero__layout { padding-top: var(--sp-4); }
  .thanks-actions { flex-direction: column; align-items: center; }
  .thanks-actions .global-btn { width: 100%; justify-content: center; }

  .legal-content__toc { display: none; }
  .legal-content__layout { grid-template-columns: 1fr; }

  .legal-table { font-size: 0.8rem; }
  .legal-table th, .legal-table td { padding: var(--sp-2) var(--sp-3); }

  body { padding-bottom: 60px; }
}

@media (max-width: 400px) {
  .global-container { padding-inline: var(--sp-4); }
  .home-certifications__grid { grid-template-columns: 1fr; }
}