:root {
  --primary-bg: #F5F5F5;
  --accent-primary: #3A7D44;
  --accent-secondary: #8EB99C;
  --accent-dark: #1A3E22;
  --text-dark: #1A3E22;
  --text-light: #F5F5F5;
  --border-color: #E0E0E0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', 'Roboto', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1rem;
  text-align: justify;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--text-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

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

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

nav a {
  margin: 0 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

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

main {
  margin-top: 80px;
  padding: 0;
}

section {
  padding: 4rem 2rem;
}

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

.hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(142, 185, 156, 0.1) 100%);
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.hero img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 8px;
  margin-top: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.section-alt {
  background-color: rgba(142, 185, 156, 0.08);
}

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

.section-grid img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.section-grid.reverse {
  direction: rtl;
}

.section-grid.reverse > * {
  direction: ltr;
}

.section-text {
  padding: 0 1rem;
}

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

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

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

.card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-top: 0;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--accent-primary);
  color: var(--text-light);
  border: 2px solid var(--accent-primary);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
  color: var(--accent-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-primary);
}

.btn-secondary:hover {
  background-color: var(--accent-primary);
  color: var(--text-light);
}

.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(58, 125, 68, 0.08) 0%, rgba(142, 185, 156, 0.08) 100%);
}

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

.disclaimer {
  background-color: rgba(58, 125, 68, 0.05);
  border-left: 4px solid var(--accent-primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
}

footer {
  background-color: var(--accent-dark);
  color: var(--text-light);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

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

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

.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

.footer-section a:hover {
  color: var(--text-light);
}

.footer-divider {
  border-top: 1px solid rgba(142, 185, 156, 0.3);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: var(--accent-secondary);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-light);
  border-top: 2px solid var(--accent-primary);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
  max-width: 100%;
}

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

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

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

.cookie-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--accent-primary);
  color: var(--text-light);
}

.cookie-btn-accept:hover {
  background-color: var(--accent-dark);
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.cookie-btn-decline:hover {
  background-color: var(--accent-primary);
  color: var(--text-light);
}

.cookie-btn-policy {
  background-color: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  text-decoration: underline;
}

.cookie-btn-policy:hover {
  background-color: var(--accent-primary);
  color: var(--text-light);
}

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--text-light);
  transition: border-color 0.3s ease;
}

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

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

.educational-notice {
  background-color: rgba(58, 125, 68, 0.08);
  border: 2px solid var(--accent-primary);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

.educational-notice h3 {
  color: var(--accent-dark);
  margin-top: 0;
}

.list-content {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.list-content ul, .list-content ol {
  margin-bottom: 1rem;
}

.list-content li {
  margin-bottom: 0.75rem;
}

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

.timeline {
  margin: 2rem 0;
  padding: 0;
}

.timeline-item {
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 3px solid var(--accent-primary);
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 12px;
  height: 12px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.timeline-item h4 {
  margin-top: 0;
  color: var(--accent-dark);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .header-container {
    padding: 0 1rem;
  }

  nav a {
    margin: 0 0.75rem;
    font-size: 0.85rem;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-grid.reverse {
    direction: ltr;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

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

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

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

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

  section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  nav a {
    margin: 0 0.5rem;
    font-size: 0.75rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

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

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
