/* 
* SUSTAINABLE NORDIC DESIGN SYSTEM
* A modern, eco-inspired design system with organic animations
* Version 2.0
*/

/* ========== VARIABLES ========== */
:root {
  /* Color System - Woodland Palette */
  --color-moss: #5c7c59;         /* Primary green */
  --color-bark: #493c2b;         /* Deep earthy brown */
  --color-birch: #f2eee2;        /* Light natural background */
  --color-sand: #d8be7f;         /* Warm accent */
  --color-rust: #a84a32;         /* Vibrant tertiary */
  --color-fog: #ede9e1;          /* Light background alt */
  --color-stone: #8a8982;        /* Neutral text */
  --color-charcoal: #272624;     /* Dark text */
  
  /* Typography */
  --font-heading: 'EB Garamond', serif;
  --font-body: 'Work Sans', sans-serif;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.8;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  
  /* Font Sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-md: 1.125rem;   /* 18px */
  --text-lg: 1.25rem;    /* 20px */
  --text-xl: 1.5rem;     /* 24px */
  --text-2xl: 2rem;      /* 32px */
  --text-3xl: 2.5rem;    /* 40px */
  --text-4xl: 3.5rem;    /* 56px */
  --text-5xl: 4.5rem;    /* 72px */
  
  /* Spacing System */
  --space-3xs: 0.125rem; /* 2px */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  
  /* Border System */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  --radius-full: 9999px;
  --border-thin: 1px;
  --border-thick: 2px;
  
  /* Shadow System */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.06), 0 8px 16px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.07), 0 24px 32px rgba(0, 0, 0, 0.05);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* Animation Timing */
  --duration-instant: 100ms;
  --duration-quick: 200ms;
  --duration-normal: 300ms;
  --duration-emphasis: 500ms;
  --duration-slow: 700ms;
  --duration-glacial: 1200ms;
  
  /* Easing Functions */
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-in: cubic-bezier(0.55, 0.085, 0.68, 0.53);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  
  /* Layers (z-index) */
  --layer-base: 1;
  --layer-hover: 2;
  --layer-focus: 3;
  --layer-popover: 10;
  --layer-sticky: 100;
  --layer-overlay: 1000;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  color: var(--color-charcoal);
  background-color: var(--color-birch);
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  border: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-bark);
}

h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

h5 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

h6 {
  font-size: var(--text-md);
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-md);
}

.lead-text {
  font-size: var(--text-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-stone);
  margin-bottom: var(--space-lg);
}

.small-text {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.micro-text {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-stone);
}

.text-center { text-align: center; }
.text-right { text-align: right; }

/* ========== LAYOUT ========== */
.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

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

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

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

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

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

.flex-col {
  flex-direction: column;
}

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

.flow > * + * {
  margin-top: var(--space-md);
}

/* ========== SPACING UTILITIES ========== */
.mt-3xs { margin-top: var(--space-3xs); }
.mt-2xs { margin-top: var(--space-2xs); }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mt-4xl { margin-top: var(--space-4xl); }

.mb-3xs { margin-bottom: var(--space-3xs); }
.mb-2xs { margin-bottom: var(--space-2xs); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }

.pt-3xs { padding-top: var(--space-3xs); }
.pt-2xs { padding-top: var(--space-2xs); }
.pt-xs { padding-top: var(--space-xs); }
.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }
.pt-2xl { padding-top: var(--space-2xl); }
.pt-3xl { padding-top: var(--space-3xl); }
.pt-4xl { padding-top: var(--space-4xl); }

.pb-3xs { padding-bottom: var(--space-3xs); }
.pb-2xs { padding-bottom: var(--space-2xs); }
.pb-xs { padding-bottom: var(--space-xs); }
.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }
.pb-2xl { padding-bottom: var(--space-2xl); }
.pb-3xl { padding-bottom: var(--space-3xl); }
.pb-4xl { padding-bottom: var(--space-4xl); }

/* ========== COMPONENTS ========== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs) var(--space-lg);
  background-color: var(--color-moss);
  color: white;
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--duration-quick) var(--ease-out),
              background-color var(--duration-quick) var(--ease-out),
              box-shadow var(--duration-quick) var(--ease-out);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn:hover, .btn:focus {
  background-color: #4c6649;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  opacity: 0;
  transition: transform var(--duration-emphasis) var(--ease-out),
              opacity var(--duration-emphasis) var(--ease-out);
  pointer-events: none;
}

.btn:hover::after, .btn:focus::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-moss);
  border: var(--border-thin) solid var(--color-moss);
}

.btn--secondary:hover, .btn--secondary:focus {
  background-color: rgba(92, 124, 89, 0.08);
}

.btn--text {
  background-color: transparent;
  color: var(--color-moss);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 0;
  box-shadow: none;
  position: relative;
}

.btn--text::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-moss);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-normal) var(--ease-out);
}

.btn--text:hover::before, .btn--text:focus::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn--text:hover, .btn--text:focus {
  background-color: transparent;
  transform: none;
  box-shadow: none;
}

.btn--lg {
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-md);
}

.btn--sm {
  padding: var(--space-2xs) var(--space-sm);
  font-size: var(--text-sm);
}

.btn--accent {
  background-color: var(--color-sand);
  color: var(--color-charcoal);
}

.btn--accent:hover, .btn--accent:focus {
  background-color: #c6ad6d;
}

.btn--with-icon {
  gap: var(--space-xs);
}

.btn--with-icon svg {
  width: 1.2em;
  height: 1.2em;
}

/* Cards */
.card {
  position: relative;
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

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

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card__accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-moss), var(--color-sand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.card:hover .card__accent-bar {
  transform: scaleX(1);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: rgba(92, 124, 89, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  color: var(--color-moss);
  font-size: var(--text-xl);
  transition: transform var(--duration-normal) var(--ease-bounce),
              background-color var(--duration-normal) var(--ease-out);
}

.card:hover .card__icon {
  transform: scale(1.1);
  background-color: rgba(92, 124, 89, 0.15);
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-bark);
}

.form-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background-color: white;
  border-radius: var(--radius-md);
  transition: border-color var(--duration-quick) var(--ease-out),
              box-shadow var(--duration-quick) var(--ease-out);
}

.form-input:hover {
  border-color: #CCCCCC;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-moss);
  box-shadow: 0 0 0 3px rgba(92, 124, 89, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-checkbox input {
  margin-top: 0.25rem;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
  border: 1px solid black;
}

.form-input{
  border: 1px solid black;
}

/* Section Titles */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-xl);
  z-index: 1;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-sand);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-close{
  display: none;
}

.section-title--centered {
  text-align: center;
  display: block;
}

.section-title--centered::after {
  left: 50%;
  transform: translateX(-50%);
}

.section:hover .section-title::after {
  width: 100px;
}

/* Feature Icons */
.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: rgba(92, 124, 89, 0.1);
  color: var(--color-moss);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  transition: transform var(--duration-normal) var(--ease-bounce),
              background-color var(--duration-normal) var(--ease-out);
}

.card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
  background-color: rgba(92, 124, 89, 0.15);
}

/* Gallery Items */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

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

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(39, 38, 36, 0.7), rgba(39, 38, 36, 0.2) 70%, transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  color: white;
}

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

.gallery-title {
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
  transition-delay: 0.05s;
}

.gallery-category {
  font-size: var(--text-sm);
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
  transition-delay: 0.1s;
  color: rgba(255, 255, 255, 0.7);
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-category {
  transform: translateY(0);
  opacity: 1;
}

/* ========== UNIQUE SECTIONS ========== */
/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) 0;
  background-color: rgba(242, 238, 226, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: var(--layer-sticky);
  transition: padding var(--duration-normal) var(--ease-out),
              background-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.header--scrolled {
  padding: var(--space-xs) 0;
  background-color: rgba(242, 238, 226, 0.98);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-bark);
  text-decoration: none;
  transition: color var(--duration-quick) var(--ease-out),
              transform var(--duration-quick) var(--ease-bounce);
}

.logo:hover {
  color: var(--color-moss);
  transform: scale(1.03);
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--color-bark);
  text-decoration: none;
  padding: var(--space-xs) var(--space-2xs);
  transition: color var(--duration-quick) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-sand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav-link:hover,
.nav-link--active {
  color: var(--color-moss);
}

.nav-link:hover::after,
.nav-link--active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-bark);
  font-size: var(--text-xl);
  cursor: pointer;
}

.nav-toggle:hover {
  color: var(--color-moss);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 90% 10%, rgba(216, 190, 127, 0.1) 0%, rgba(216, 190, 127, 0) 50%),
    radial-gradient(circle at 10% 90%, rgba(92, 124, 89, 0.1) 0%, rgba(92, 124, 89, 0) 50%);
  z-index: -1;
}

.hero__content {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

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

.hero__decoration {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
}

.hero__decoration--leaf1 {
  top: 20%;
  right: 15%;
  width: 60px;
  height: 60px;
  animation: float 6s ease-in-out infinite;
}

.hero__decoration--leaf2 {
  bottom: 25%;
  left: 10%;
  width: 40px;
  height: 40px;
  animation: float 7s ease-in-out 1s infinite;
}

.hero__image-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  z-index: 1;
}

.hero__image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: var(--border-thin) solid var(--color-sand);
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: transform var(--duration-normal) var(--ease-out);
}

.hero__image:hover::before {
  transform: translate(8px, 8px);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.hero__scroll-indicator i {
  font-size: var(--text-2xl);
  color: var(--color-moss);
  animation: bounce 2s ease infinite;
}

.hero__scroll-text {
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-stone);
}

/* Features Section */
.features {
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-xl);
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

.feature-card__accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-moss), var(--color-sand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-card__accent-line {
  transform: scaleX(1);
}

.feature-card__title {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

/* Testimonials Section */
.testimonial {
  position: relative;
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-sand);
  opacity: 0.3;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-lg);
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-bark);
}

.testimonial__role {
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.testimonial__avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 3px solid var(--color-sand);
  padding: 3px;
}

/* Contact Section */
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
}

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

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(216, 190, 127, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(92, 124, 89, 0.05) 0%, transparent 30%);
  z-index: -1;
}

.contact-info {
  padding: var(--space-xl);
  background-color: var(--color-moss);
  color: white;
  border-radius: var(--radius-lg);
  position: relative;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
  z-index: -1;
}

.contact-info__title {
  color: white;
  margin-bottom: var(--space-lg);
}

.contact-info-list {
  list-style: none;
}

.contact-info-item {
  display: flex;
  margin-bottom: var(--space-lg);
}

.contact-info-icon {
  margin-right: var(--space-md);
  font-size: var(--text-xl);
  color: var(--color-sand);
}

.contact-info-content strong {
  display: block;
  color: white;
  margin-bottom: var(--space-2xs);
}

.map-container {
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-lg);
  background-color: var(--color-bark);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-3xl);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-moss), var(--color-sand), var(--color-moss));
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: white;
  margin-bottom: var(--space-md);
  text-decoration: none;
  transition: color var(--duration-quick) var(--ease-out);
  display: inline-block;
}

.footer-logo:hover {
  color: var(--color-sand);
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: white;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: white;
  margin-bottom: var(--space-md);
  text-decoration: none;
  transition: color var(--duration-quick) var(--ease-out);
  display: inline-block;
}

.footer__logo:hover {
  color: var(--color-sand);
}

.footer__title {
  color: white;
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
  font-weight: 500;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item:not(:last-child) {
  margin-bottom: var(--space-sm);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--duration-quick) var(--ease-out),
              padding-left var(--duration-quick) var(--ease-out);
  position: relative;
  padding-left: var(--space-md);
  display: inline-block;
}

.footer-link::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-sand);
  transition: transform var(--duration-quick) var(--ease-out),
              color var(--duration-quick) var(--ease-out);
  font-size: var(--text-lg);
  line-height: 1;
}

.footer-link:hover {
  color: white;
  padding-left: calc(var(--space-md) + 5px);
}

.footer-link:hover::before {
  transform: translateX(5px);
  color: var(--color-sand);
}

.footer__newsletter-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  margin-bottom: var(--space-sm);
  transition: background-color var(--duration-quick) var(--ease-out);
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer__newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(216, 190, 127, 0.2);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  margin: 0;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-lg);
  background-color: white;
  box-shadow: var(--shadow-lg);
  z-index: var(--layer-overlay);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-out);
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-text {
  margin-right: var(--space-lg);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes leafFloat {
  0% {
    opacity: 0.3;
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    opacity: 0.4;
    transform: translate(50px, 25px) rotate(90deg);
  }
  50% {
    opacity: 0.5;
    transform: translate(75px, 50px) rotate(180deg);
  }
  75% {
    opacity: 0.4;
    transform: translate(50px, 75px) rotate(270deg);
  }
  100% {
    opacity: 0;
    transform: translate(0, 100px) rotate(360deg);
  }
}

.fade-in { animation: fadeIn var(--duration-normal) both; }
.fade-in-up { animation: fadeInUp var(--duration-normal) both; }
.fade-in-left { animation: fadeInLeft var(--duration-normal) both; }
.fade-in-right { animation: fadeInRight var(--duration-normal) both; }
.scale-in { animation: scaleIn var(--duration-normal) both; }
.float-animation { animation: float 5s ease-in-out infinite; }
.pulse-animation { animation: pulse 3s ease-in-out infinite; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-10 { animation-delay: 1s; }
.delay-15 { animation-delay: 1.5s; }
.delay-20 { animation-delay: 2s; }

/* ScrollReveal animations */
.reveal {
  opacity: 0;
  transition: opacity var(--duration-normal), transform var(--duration-normal);
}

.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.9); }

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

/* Decorative elements */
.leaf-decoration {
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235c7c59' opacity='0.2'%3E%3Cpath d='M17.5,7A6.5,6.5 0 0,0 11,13.5A6.5,6.5 0 0,0 17.5,20C20.54,20 23,17.54 23,14.5C23,11.46 20.54,9 17.5,9A2.5,2.5 0 0,1 15,6.5A2.5,2.5 0 0,1 17.5,4A1,1 0 0,0 18.5,3A1,1 0 0,0 17.5,2A4.5,4.5 0 0,0 13,6.5C13,10.03 15.5,12.84 18.66,12.97C18.9,11.91 19.69,11.04 20.75,10.71A8.33,8.33 0 0,0 18.5,7H17.5M7,13A3,3 0 0,0 4,16C4,18.22 5.21,20.16 7.11,21H7A7,7 0 0,1 0,14A7,7 0 0,1 7,7H14A11,11 0 0,0 17.5,7.63A3,3 0 0,0 20.5,11A1.5,1.5 0 0,1 22,12.5A1.5,1.5 0 0,1 20.5,14A3,3 0 0,0 17.5,17A3,3 0 0,0 20.5,20A6,6 0 0,1 14.5,13C14.5,9.14 11.14,6 7,6A1,1 0 0,0 6,7A1,1 0 0,0 7,8A3,3 0 0,1 10,11H7Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}

.dotted-pattern {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(var(--color-moss) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.wave-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='wave' width='100' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 10 Q 12.5 0, 25 10 T 50 10 T 75 10 T 100 10' stroke='%235c7c59' fill='none' stroke-width='2' opacity='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23wave)'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.wave-line.top { top: 0; }
.wave-line.bottom { bottom: 0; transform: rotate(180deg); }

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--color-moss);
  pointer-events: none;
  z-index: var(--layer-overlay);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: var(--color-sand);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--layer-overlay);
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  :root {
    --text-4xl: 3rem;
    --text-3xl: 2.25rem;
    --text-2xl: 1.75rem;
    --text-xl: 1.35rem;
  }
}

@media (max-width: 992px) {
  :root {
    --space-4xl: 4.5rem;
    --space-3xl: 3rem;
    --space-2xl: 2rem;
  }
  
  .grid--2, 
  .grid--3, 
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: auto;
    padding: 120px 0 var(--space-3xl);
  }
  
  .hero__content {
    max-width: 100%;
    text-align: center;
    margin-bottom: var(--space-xl);
  }
  
  .hero__image-wrapper {
    justify-content: center;
  }
  
  .hero__image {
    max-width: 100%;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
    --text-2xl: 1.5rem;
    --text-xl: 1.25rem;
    --text-lg: 1.125rem;
  }
  
  .container {
    width: 95%;
  }
  
  .nav-list {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-lg);
    padding: var(--space-2xl) var(--space-lg);
    flex-direction: column;
    gap: var(--space-md);
    transition: right var(--duration-normal) var(--ease-out);
    z-index: var(--layer-overlay);
  }
  
  .nav-list.active {
    right: 0;
    display: flex;
  }
  
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  
  
  .nav-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--color-bark);
    font-size: var(--text-xl);
    cursor: pointer;
    display: block;
  }
  
  .cookie-consent {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: var(--space-md);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-info {
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer__bottom {
    text-align: center;
  }
}

@media (max-width: 576px) {
  :root {
    --text-4xl: 2.25rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.375rem;
    --text-xl: 1.125rem;
    
    --space-3xl: 2.5rem;
    --space-2xl: 1.75rem;
    --space-xl: 1.5rem;
    --space-lg: 1.25rem;
  }
  
  .contact-form-container,
  .contact-info {
    padding: var(--space-lg);
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: var(--space-lg);
  }
  
  .testimonial {
    padding: var(--space-lg);
  }
  
  .testimonial__text {
    font-size: var(--text-lg);
  }
}

.bg-light { background-color: var(--color-fog); }
.bg-primary { background-color: var(--color-moss); color: white; }
.bg-secondary { background-color: var(--color-bark); color: white; }
.bg-accent { background-color: var(--color-sand); }
.text-primary { color: var(--color-moss); }
.text-secondary { color: var(--color-bark); }
.text-accent { color: var(--color-sand); }
.text-light { color: var(--color-birch); }
.text-dark { color: var(--color-charcoal); }
.text-muted { color: var(--color-stone); }

.w-full { width: 100%; }
.max-w-xs { max-width: 320px; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 800px; }
.max-w-xl { max-width: 1024px; }
.max-w-2xl { max-width: 1280px; }

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.z-1 { z-index: 1; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.hidden { display: none; }

.footer-bottom{
  margin-left: 51px;
}