:root {
  --color-primary: #4A7043;
  --color-linen: #FAF5EF;
  --color-rust: #B56E5A;
  --color-sky: #A3C9D8;
  --color-pale-green: #F0F4EB;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Source Sans 3', 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 19px;
  line-height: 1.72;
  color: #333;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir Next', 'Neue Haas Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: #1a1a1a;
}

h1 {
  font-size: 74px;
  font-size: clamp(58px, 8vw, 74px);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 48px;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 1rem 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem 20px;
  }
}

.logo {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: 40px;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
}

nav a:hover {
  color: var(--color-rust);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-rust);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-primary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: 0;
  width: 100%;
  max-width: 300px;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  z-index: 999;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
}

.mobile-menu a:hover {
  background-color: var(--color-linen);
  color: var(--color-rust);
}

footer {
  background-color: var(--color-primary);
  color: var(--color-linen);
  padding: 3rem 80px;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  footer {
    padding: 2rem 20px;
  }
}

.footer-container {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: var(--color-linen);
  font-size: 18px;
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-linen);
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 245, 239, 0.2);
  font-size: 14px;
  text-align: center;
}

.main-content {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 1024px) {
  .main-content {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 0 20px;
  }
}

.hero {
  position: relative;
  height: 600px;
  margin: 0 -80px;
  margin-top: 2rem;
  background: linear-gradient(rgba(74, 112, 67, 0.5), rgba(74, 112, 67, 0.5)), url('images/hero-walking-path.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
    margin: 0 -20px;
    margin-top: 1rem;
  }
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--color-linen);
  font-size: 20px;
}

.full-bleed {
  margin: 0 -80px;
  padding: 4rem 80px;
}

@media (max-width: 768px) {
  .full-bleed {
    margin: 0 -20px;
    padding: 2rem 20px;
  }
}

.section-linen {
  background-color: var(--color-linen);
}

.section-pale-green {
  background-color: var(--color-pale-green);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 15c-8.284 0-15 6.716-15 15s6.716 15 15 15 15-6.716 15-15-6.716-15-15-15z' fill='%23d4dfd0' opacity='0.15'/%3E%3C/svg%3E");
}

.section {
  margin: 3rem 0;
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .section-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-text h2 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.accent-text {
  color: var(--color-rust);
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card {
  background-color: white;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  border-color: var(--color-rust);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(181, 110, 90, 0.15);
}

.card h3 {
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 20px;
}

.card p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-linen);
  border: none;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #f5ebe0;
}

.accordion-icon {
  transition: transform 0.45s ease;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-item.active .accordion-icon {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  padding: 0 1.25rem;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 1.25rem;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-linen), var(--color-rust));
  color: white;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(181, 110, 90, 0.3);
}

.disclaimer-box {
  background-color: var(--color-pale-green);
  border-left: 4px solid var(--color-rust);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.6;
}

form {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-rust);
  box-shadow: 0 0 0 3px rgba(181, 110, 90, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

button[type="submit"] {
  background-color: var(--color-primary);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #3a5a33;
  transform: translateY(-2px);
}

.fade-in {
  animation: fadeIn 0.65s ease forwards;
  opacity: 0;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  z-index: 2000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-buttons {
    width: 100%;
  }
}

.cookie-btn {
  padding: 8px 16px;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--color-rust);
  border-color: var(--color-rust);
}

.cookie-btn-accept:hover {
  background-color: #a05a4a;
}

.cookie-btn-reject:hover {
  background-color: rgba(255,255,255,0.1);
}

.thank-you-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-content h1 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.thank-you-content p {
  font-size: 18px;
  color: #666;
  margin-bottom: 2rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.article-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: 0 8px 16px rgba(181, 110, 90, 0.15);
  transform: translateY(-4px);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-content h3 {
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.article-content p {
  color: #666;
  font-size: 15px;
  margin: 0;
  flex: 1;
}

.read-more {
  color: var(--color-rust);
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
}

.blog-article {
  max-width: 900px;
  margin: 2rem auto;
}

.blog-article h1 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.blog-article-image {
  width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-article h2 {
  color: var(--color-primary);
  margin-top: 2rem;
}

.blog-article h3 {
  color: var(--color-rust);
}

.back-link {
  color: var(--color-rust);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  display: inline-block;
}

.back-link:hover {
  text-decoration: underline;
}
