/* ============================================
   RAÍZA WELLNESS — Design System & Stylesheet
   ============================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Color Palette */
  --color-cream:       #FAF7F2;
  --color-warm-white:  #F5F0E8;
  --color-sage:        #8BAF8A;
  --color-sage-light:  #B8D4B6;
  --color-sage-dark:   #5C8A5A;
  --color-earth:       #A08060;
  --color-earth-light: #C4A882;
  --color-earth-dark:  #7A5C3A;
  --color-moss:        #4A6741;
  --color-sky:         #B8D4CE;
  --color-clay:        #C8956A;
  --color-mist:        #E8F0ED;
  --color-charcoal:    #3A3A3A;
  --color-stone:       #7A7A6A;
  --color-petal:       #E8D5C4;

  /* Typography */
  --font-serif:   'Playfair Display', 'Marcellus', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', sans-serif;

  /* Spacing Scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   8rem;

  /* Transitions */
  --transition-base:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.7s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  20px;
  --radius-lg:  40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-soft:   0 4px 24px rgba(90, 80, 60, 0.10);
  --shadow-medium: 0 8px 48px rgba(90, 80, 60, 0.16);
  --shadow-strong: 0 16px 64px rgba(90, 80, 60, 0.22);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--color-sage-dark);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--color-sage);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring.hovering {
  width: 56px; height: 56px;
  border-color: var(--color-earth);
  opacity: 0.7;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  padding: 6px 18px;
  border: 1px solid var(--color-sage-light);
  border-radius: var(--radius-full);
  background: rgba(139, 175, 138, 0.08);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-stone);
  max-width: 580px;
  line-height: 1.8;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.4rem 0;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(139,175,138,0.15);
  padding: 0.9rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.navbar__logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.navbar__logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-charcoal);
  letter-spacing: 0.04em;
}

.navbar__logo-text span {
  color: var(--color-sage-dark);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar__links a {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-charcoal);
  position: relative;
  transition: color var(--transition-base);
  padding: 4px 0;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--color-sage-dark);
  transition: width var(--transition-base);
}

.navbar__links a:hover { color: var(--color-sage-dark); }
.navbar__links a:hover::after { width: 100%; }

.btn-nav {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white !important;
  background: var(--color-sage-dark);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base) !important;
  box-shadow: 0 4px 16px rgba(92, 138, 90, 0.3);
}

.btn-nav:hover {
  background: var(--color-moss) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 138, 90, 0.4) !important;
}

.btn-nav::after { display: none !important; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.navbar__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--color-charcoal);
  transition: var(--transition-base);
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

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

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-charcoal);
  transition: color var(--transition-base);
}

.mobile-menu a:hover { color: var(--color-sage-dark); }

.mobile-menu__close {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-stone);
  transition: color var(--transition-base);
}

.mobile-menu__close:hover { color: var(--color-sage-dark); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #F0EDE6 0%, #E8EDE5 50%, #DDE8DB 100%);
  z-index: 0;
}

/* Floating shapes in hero background */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 65vw; height: 90vh;
  background: radial-gradient(ellipse, rgba(184, 212, 182, 0.35) 0%, transparent 70%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: morphBlob 14s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -15%; left: -8%;
  width: 55vw; height: 70vh;
  background: radial-gradient(ellipse, rgba(200, 180, 150, 0.22) 0%, transparent 70%);
  border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%;
  animation: morphBlob 18s ease-in-out infinite alternate-reverse;
}

@keyframes morphBlob {
  0%   { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; transform: rotate(4deg) scale(1.04); }
  100% { border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; transform: rotate(-4deg) scale(0.97); }
}

.hero__parallax-img {
  position: absolute;
  right: 0; top: 0;
  width: 52%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero__parallax-img img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  transform: translateY(0);
  transition: transform 0.05s linear;
  filter: brightness(0.9) saturate(0.88);
}

.hero__parallax-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-cream) 0%, rgba(250,247,242,0.6) 25%, transparent 60%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: 580px;
}

.hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 1s 0.2s forwards;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--color-sage-dark);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--color-charcoal);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeInUp 1s 0.45s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--color-sage-dark);
}

.hero__subtitle {
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-stone);
  max-width: 440px;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeInUp 1s 0.65s forwards;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s 0.85s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, var(--color-sage-dark), var(--color-moss));
  padding: 16px 36px;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  box-shadow: 0 6px 24px rgba(92, 138, 90, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(92, 138, 90, 0.45);
}

.btn-primary svg {
  transition: transform var(--transition-base);
}

.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-earth);
  letter-spacing: 0.04em;
  transition: var(--transition-base);
}

.btn-ghost:hover { color: var(--color-earth-dark); gap: 12px; }

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.hero__scroll-indicator span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-stone);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-stone), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* Floating leaves decoration */
.hero__leaf {
  position: absolute;
  z-index: 3;
  opacity: 0;
  animation: floatLeaf 1.2s forwards;
}

.hero__leaf--1 {
  top: 18%; right: 52%;
  width: 80px;
  animation-delay: 1s;
  animation-duration: 8s;
}

.hero__leaf--2 {
  bottom: 22%; right: 48%;
  width: 50px;
  animation-delay: 1.4s;
  animation-duration: 10s;
}

@keyframes floatLeaf {
  0%   { opacity: 0; transform: translateY(20px) rotate(-5deg); }
  15%  { opacity: 0.5; }
  50%  { transform: translateY(-10px) rotate(5deg); }
  85%  { opacity: 0.4; }
  100% { opacity: 0.5; transform: translateY(0) rotate(0deg); }
}

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

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

/* ============================================
   STATS BAND
   ============================================ */
.stats-band {
  background: var(--color-sage-dark);
  padding: 2.2rem 0;
  overflow: hidden;
}

.stats-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 3rem;
  border-right: 1px solid rgba(255,255,255,0.18);
  flex: 1;
  min-width: 160px;
}

.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: white;
  line-height: 1;
}

.stat-item__label {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ============================================
   ABOUT / MANIFESTO SECTION
   ============================================ */
.about {
  padding: var(--space-xl) 0;
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 60vw; height: 80%;
  background: radial-gradient(ellipse, rgba(184,212,182,0.12) 0%, transparent 70%);
  z-index: 0;
  border-radius: 50%;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about__image-stack {
  position: relative;
  height: 580px;
}

.about__img-main {
  position: absolute;
  right: 0; top: 0;
  width: 78%;
  height: 85%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.about__img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about__img-main:hover img { transform: scale(1.04); }

.about__img-accent {
  position: absolute;
  left: 0; bottom: 0;
  width: 52%;
  height: 50%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 6px solid var(--color-cream);
}

.about__img-accent img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-cream);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-sage-dark);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.about__text { padding-left: var(--space-md); }

.manifesto-line {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-charcoal);
  border-left: 3px solid var(--color-sage);
  padding-left: var(--space-sm);
  margin: var(--space-md) 0;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-stone);
  font-weight: 400;
}

.feature-pill__icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community {
  padding: var(--space-xl) 0;
  background: var(--color-warm-white);
  position: relative;
  overflow: hidden;
}

.community__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.community__header .section-subtitle {
  margin: 0 auto;
}

/* Horizontal scroll cards */
.community__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.community-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.community-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.community-card__img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.community-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  filter: saturate(0.85) brightness(0.95);
}

.community-card:hover .community-card__img img {
  transform: scale(1.07);
}

.community-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(58, 58, 58, 0.55) 100%);
}

.community-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.35);
}

.community-card__body {
  padding: 1.4rem 1.6rem 2rem;
}

.community-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-charcoal);
  margin-bottom: 0.6rem;
}

.community-card__desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-stone);
  line-height: 1.75;
}

.community-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  transition: gap var(--transition-base);
}

.community-card__link:hover { gap: 12px; }

/* ============================================
   PARALLAX NATURE SECTION
   ============================================ */
.nature-parallax {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nature-parallax__bg img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
  margin-top: -15%;
  filter: brightness(0.6) saturate(0.9);
}

.nature-parallax__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(90, 80, 60, 0.2), rgba(74, 103, 65, 0.5));
  z-index: 1;
}

.nature-parallax__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-md);
}

.nature-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 400;
  color: white;
  max-width: 780px;
  line-height: 1.45;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.nature-quote-author {
  margin-top: 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   LIFESTYLE / PILLARS SECTION
   ============================================ */
.pillars {
  padding: var(--space-xl) 0;
  background: var(--color-cream);
}

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

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.pillar-card {
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid rgba(184, 212, 182, 0.25);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-sage-light), var(--color-sage-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

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

.pillar-card__icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: var(--color-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  transition: background var(--transition-base), transform var(--transition-base);
}

.pillar-card:hover .pillar-card__icon {
  background: var(--color-sage-light);
  transform: scale(1.08);
}

.pillar-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-charcoal);
  margin-bottom: 0.8rem;
}

.pillar-card__desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-stone);
  line-height: 1.8;
}

/* ============================================
   GALLERY MOSAIC
   ============================================ */
.gallery {
  padding: var(--space-xl) 0;
  background: var(--color-warm-white);
}

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

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 12px;
}

.gallery__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-base);
  filter: saturate(0.8) brightness(0.95);
}

.gallery__item:hover img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.gallery__item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.35));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__item:hover .gallery__item__overlay { opacity: 1; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--space-xl) 0;
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: 2rem; left: 2%;
  font-family: var(--font-serif);
  font-size: 28rem;
  color: rgba(139,175,138,0.06);
  line-height: 1;
  user-select: none;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: transform var(--transition-base);
  position: relative;
}

.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  color: var(--color-clay);
  font-size: 0.85rem;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-charcoal);
  line-height: 1.7;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sage-light), var(--color-sage-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: white;
  font-weight: 400;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.testimonial-card__role {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--color-stone);
  letter-spacing: 0.04em;
}

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

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  z-index: 0;
}

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

.cta-section__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
}

.cta-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  color: white;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.cta-section__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.cta-form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  padding: 8px 8px 8px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
}

.cta-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: white;
  font-weight: 300;
}

.cta-form input::placeholder { color: rgba(255,255,255,0.55); }

.cta-form__btn {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  background: white;
  border: none;
  cursor: pointer;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  font-family: var(--font-body);
}

.cta-form__btn:hover { background: var(--color-cream); transform: scale(1.03); }

.cta-section__trust {
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-charcoal);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
}

.footer__logo img {
  width: 38px; height: 38px;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer__logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: white;
  letter-spacing: 0.04em;
}

.footer__tagline {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 240px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 1.4rem;
}

.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-base);
}

.footer__social a:hover {
  border-color: var(--color-sage-light);
  color: var(--color-sage-light);
  background: rgba(184,212,182,0.1);
}

.footer__col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.2rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-base);
}

.footer__links a:hover { color: var(--color-sage-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-base);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader__icon img {
  width: 60px;
  animation: loaderPulse 1.6s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.loader__bar {
  width: 160px;
  height: 2px;
  background: rgba(139,175,138,0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader__bar__fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--color-sage-light), var(--color-sage-dark));
  border-radius: var(--radius-full);
  animation: loaderFill 1.6s ease-out forwards;
}

@keyframes loaderFill {
  0%   { width: 0%; }
  100% { width: 100%; }
}

.loader__text {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-stone);
}

/* ============================================
   FLOATING NATURE PARTICLES
   ============================================ */
.particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about__image-stack {
    height: 420px;
  }

  .about__text {
    padding-left: 0;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --space-xl: 5rem;
    --space-lg: 3rem;
  }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }

  .hero__parallax-img {
    width: 100%;
    height: 50%;
    top: auto; bottom: 0;
  }

  .hero__parallax-img::before {
    background: linear-gradient(to bottom, var(--color-cream) 0%, rgba(250,247,242,0.8) 30%, transparent 70%);
  }

  .hero__content {
    max-width: 100%;
    padding-top: 30vh;
  }

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

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

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

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

  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }

  .stat-item {
    padding: 1rem 1.5rem;
    min-width: 140px;
  }

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-form {
    flex-direction: column;
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-lg);
  }

  .cta-form input {
    width: 100%;
    text-align: center;
  }

  .cta-form__btn {
    width: 100%;
    padding: 14px;
  }
}

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

  .gallery__item--wide { grid-column: span 1; }

  .stats-band__inner {
    flex-direction: column;
    gap: 0;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    width: 100%;
  }

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