:root {
  --primary: #7F9C80;
  --accent1: #D4A79B;
  --accent2: #4A6D7C;
  --light: #F8F6F4;
  --dark: #2B2B2B;
  --gray: #E5E5E5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #FFF;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

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

header {
  position: sticky;
  top: 0;
  background-color: #FFF;
  border-bottom: 1px solid var(--gray);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.hero {
  background: linear-gradient(135deg, rgba(127, 156, 128, 0.1), rgba(212, 167, 155, 0.1)), url('images/hero.jpg') center/cover no-repeat;
  padding: 120px 2rem;
  text-align: center;
  color: var(--dark);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

section {
  padding: 100px 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.section-text {
  flex: 1;
}

.section-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

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

.card {
  background-color: var(--light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray);
}

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

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

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

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

.section-alt h2 {
  color: var(--primary);
}

.section-bg-primary {
  background-color: var(--primary);
  color: #FFF;
}

.section-bg-primary h2 {
  color: #FFF;
}

.section-bg-accent1 {
  background-color: var(--accent1);
  color: #FFF;
}

.section-bg-accent1 h2,
.section-bg-accent1 h3 {
  color: #FFF;
}

.section-bg-accent2 {
  background-color: var(--accent2);
  color: #FFF;
}

.section-bg-accent2 h2 {
  color: #FFF;
}

.faq-item {
  background-color: #FFF;
  border: 1px solid var(--gray);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #EEE;
}

.faq-question.active {
  background-color: var(--primary);
  color: #FFF;
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  background-color: #FFF;
}

.faq-answer.show {
  display: block;
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-toggle.open {
  transform: rotate(180deg);
}

.form-container {
  max-width: 500px;
  margin: 2rem auto;
  background-color: var(--light);
  padding: 2rem;
  border-radius: 8px;
}

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

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

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

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(127, 156, 128, 0.1);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

button {
  background-color: var(--primary);
  color: #FFF;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

button:hover {
  background-color: var(--accent2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.cta-link:hover {
  color: var(--accent2);
}

footer {
  background-color: var(--dark);
  color: #FFF;
  padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
  color: var(--light);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a,
.footer-contact {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #CCC;
}

.footer-section a {
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  font-size: 0.85rem;
  color: #AAA;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: #FFF;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark);
  padding: 0;
  width: auto;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  color: #FFF;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  font-size: 0.95rem;
}

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

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

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cookie-accept {
  background-color: var(--primary);
  color: #FFF;
}

.cookie-accept:hover {
  background-color: var(--accent2);
}

.cookie-reject {
  background-color: #555;
  color: #FFF;
}

.cookie-reject:hover {
  background-color: #777;
}

.cookie-learn {
  background: none;
  border: none;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  width: auto;
  font-weight: 600;
}

.cookie-learn:hover {
  color: var(--accent1);
}

.disclaimer-box {
  background-color: var(--light);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.7;
}

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

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

.alt-column > *:first-child {
  order: 2;
}

.alt-column > *:last-child {
  order: 1;
}

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

  h2 {
    font-size: 1.5rem;
  }

  .navbar {
    padding: 0 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 60px 1rem;
    min-height: 50vh;
  }

  section {
    padding: 60px 1rem;
  }

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

  .alt-column > *:first-child {
    order: unset;
  }

  .alt-column > *:last-child {
    order: unset;
  }

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

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

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .modal-content {
    max-height: 85vh;
    padding: 1.5rem;
  }
}

.success-message {
  display: none;
  background-color: #D4F1D4;
  border: 1px solid #7F9C80;
  color: #2B5C2B;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-align: center;
}

.success-message.show {
  display: block;
}
