:root {
  --primary: #2E8B57;
  --accent-gold: #FFD700;
  --accent-purple: #6A5ACD;
  --accent-red: #FF6347;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #333333;
  --text-color: #333333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.8rem;
  color: var(--primary);
}

h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-top: 2rem;
}

h3 {
  font-size: 1.4rem;
  color: var(--primary);
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-gold);
}

button {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1a5a37;
  border: 2px solid var(--accent-gold);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
}

nav a:hover,
nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--light-gray);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--medium-gray);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 2rem;
}

.section-full-width {
  padding: 5rem 0;
}

.hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(46, 139, 87, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  color: var(--white);
  font-size: 1.15rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

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

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.two-column-reverse {
  grid-template-columns: 1fr 1fr;
}

.two-column-reverse > :first-child {
  order: 2;
}

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

.card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  margin: 1.5rem 0;
}

table th {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--medium-gray);
}

table tr:hover {
  background-color: var(--light-gray);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary);
}

.timeline-item {
  margin-left: 100px;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -72px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  border: 3px solid var(--primary);
}

.timeline-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.95rem;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.images-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.images-grid img:hover {
  transform: scale(1.05);
}

.editorial-panel {
  background-color: var(--light-gray);
  padding: 3rem;
  border-left: 6px solid var(--primary);
  margin: 2rem 0;
}

.editorial-panel h2 {
  margin-top: 0;
}

.editorial-panel p {
  margin-bottom: 1rem;
}

ul, ol {
  margin: 1.5rem 0 1.5rem 2rem;
  line-height: 1.8;
}

li {
  margin-bottom: 0.7rem;
}

.disclaimer {
  background-color: #FFF8DC;
  border: 2px solid var(--accent-gold);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.disclaimer h3 {
  color: var(--primary);
}

.disclaimer p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.cta-section {
  text-align: center;
  padding: 3rem;
  background-color: var(--light-gray);
  border-radius: 8px;
  margin: 2rem 0;
}

.cta-section h2 {
  margin-top: 0;
}

.cta-section p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: 'Open Sans', sans-serif;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

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

.form-disclaimer {
  background-color: #F0F8FF;
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 1.5rem;
  z-index: 2000;
  display: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-banner.show {
  display: block;
}

.cookie-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--primary);
  color: var(--white);
}

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

.cookie-btn-decline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cookie-btn-decline:hover {
  background-color: var(--white);
  color: var(--dark-gray);
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cookie-btn-learn:hover {
  background-color: var(--accent-gold);
  color: var(--dark-gray);
  border-color: var(--accent-gold);
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  transition: all 0.3s ease;
}

.scroll-to-top.show {
  display: flex;
}

.scroll-to-top:hover {
  background-color: #1a5a37;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    height: 350px;
    margin-top: 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-column-reverse > :first-child {
    order: 1;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

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

  .timeline::before {
    left: 15px;
  }

  .timeline-item {
    margin-left: 60px;
  }

  .timeline-item::before {
    left: -43px;
  }

  .editorial-panel {
    padding: 1.5rem;
  }

  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .scroll-to-top {
    width: 35px;
    height: 35px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2rem 1rem;
  }

  .header-container {
    padding: 1rem;
  }

  nav {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.75rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .two-column {
    gap: 1rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .images-grid img {
    height: 180px;
  }

  .cookie-text p {
    font-size: 0.85rem;
  }

  .cookie-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}
