:root {
  --color-primary: #fdfaf5;
  --color-accent-green: #5e7a6b;
  --color-accent-rose: #d4a5b8;
  --color-accent-blue: #9ab7c9;
  --color-text: #333333;
  --color-light: #f9f7f3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-primary);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 500;
  color: var(--color-text);
}

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

h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

h3 {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.lora-italic {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-accent-rose);
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(253, 250, 245, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(94, 122, 107, 0.1);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background-color: rgba(253, 250, 245, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.navbar-brand {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-accent-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: var(--color-accent-rose);
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.navbar-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-menu a:hover {
  color: var(--color-accent-green);
}

.container-main {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 60px;
}

.section {
  padding: 170px 0;
}

.section-fullwidth {
  width: 100%;
  padding: 170px 60px;
}

.section-with-image-left {
  display: flex;
  align-items: center;
  gap: 80px;
}

.section-with-image-left img {
  flex: 0 0 50%;
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.section-with-image-left .content {
  flex: 1;
  padding: 40px;
}

.section-with-image-right {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-direction: row-reverse;
}

.section-with-image-right img {
  flex: 0 0 55%;
  width: 55%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.section-with-image-right .content {
  flex: 1;
  padding: 40px;
}

.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, rgba(253, 250, 245, 0.7), rgba(212, 165, 184, 0.1)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text);
}

.hero-content {
  max-width: 800px;
  padding: 40px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.5);
}

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

.card {
  background-color: var(--color-light);
  padding: 30px;
  border-radius: 6px;
  border-left: 4px solid var(--color-accent-green);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(94, 122, 107, 0.12);
  border-left-color: var(--color-accent-rose);
}

.card h3 {
  margin-bottom: 0.8rem;
  color: var(--color-accent-green);
}

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

.table-responsive {
  margin: 3rem 0;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-light);
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(94, 122, 107, 0.15);
}

th {
  background-color: rgba(94, 122, 107, 0.08);
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--color-accent-green);
}

tr:hover {
  background-color: rgba(212, 165, 184, 0.05);
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(94, 122, 107, 0.1);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-accent-green);
  transition: color 0.3s ease;
  padding: 10px 0;
  user-select: none;
}

.faq-question:hover {
  color: var(--color-accent-rose);
}

.faq-question::before {
  content: '▸';
  margin-right: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question.active::before {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding-top: 10px;
  line-height: 1.7;
  color: var(--color-text);
}

.faq-answer.active {
  display: block;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button-read {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--color-accent-green);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.button-read:hover {
  background-color: var(--color-accent-rose);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(212, 165, 184, 0.3);
}

.button-read.secondary {
  background-color: var(--color-accent-blue);
}

.button-read.secondary:hover {
  background-color: var(--color-accent-green);
}

form {
  max-width: 600px;
  margin: 2rem 0;
  padding: 30px;
  background-color: var(--color-light);
  border-radius: 6px;
}

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

.form-group label {
  display: block;
  font-family: 'Lora', serif;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(94, 122, 107, 0.2);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-green);
  box-shadow: 0 0 0 3px rgba(94, 122, 107, 0.1);
  background-color: rgba(94, 122, 107, 0.02);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--color-text);
  background-color: rgba(212, 165, 184, 0.08);
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--color-accent-rose);
}

.form-button {
  width: 100%;
  padding: 12px;
  background-color: var(--color-accent-green);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-button:hover {
  background-color: var(--color-accent-rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(212, 165, 184, 0.3);
}

footer {
  background-color: rgba(94, 122, 107, 0.95);
  color: white;
  padding: 60px;
  margin-top: 100px;
}

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

.footer-section h4 {
  color: var(--color-accent-rose);
  margin-bottom: 1rem;
  font-family: 'Lora', serif;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-section a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--color-primary);
  padding: 40px;
  border-radius: 8px;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
  float: right;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--color-accent-green);
  transition: color 0.3s ease;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(94, 122, 107, 0.95);
  color: white;
  padding: 20px 60px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--color-accent-rose);
  color: white;
}

.cookie-accept:hover {
  background-color: white;
  color: var(--color-accent-rose);
}

.cookie-decline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-decline:hover {
  background-color: white;
  color: var(--color-accent-green);
}

.cookie-learn {
  background-color: transparent;
  color: var(--color-accent-blue);
  text-decoration: underline;
  padding: 0;
}

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

.disclaimer-box {
  background-color: rgba(212, 165, 184, 0.08);
  border-left: 4px solid var(--color-accent-rose);
  padding: 20px;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text);
}

.list-unstyled {
  list-style: none;
  padding-left: 0;
}

.list-unstyled li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.list-unstyled li::before {
  content: '○';
  position: absolute;
  left: 0;
  color: var(--color-accent-green);
  font-weight: bold;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 30px;
  }

  .container-main {
    padding: 0 30px;
  }

  .section-fullwidth {
    padding: 100px 30px;
  }

  .section {
    padding: 100px 0;
  }

  .section-with-image-left,
  .section-with-image-right {
    flex-direction: column;
    gap: 30px;
  }

  .section-with-image-left img,
  .section-with-image-right img {
    width: 100%;
  }

  .section-with-image-left .content,
  .section-with-image-right .content {
    padding: 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero {
    height: 400px;
  }

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

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

  .navbar-menu {
    gap: 1.5rem;
  }

  .navbar-menu a {
    font-size: 0.85rem;
  }

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

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

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

  .modal-content {
    margin: 20px;
    max-height: 90vh;
  }

  @media (max-width: 480px) {
    .navbar {
      padding: 0 15px;
    }

    .container-main {
      padding: 0 15px;
    }

    .section-fullwidth {
      padding: 60px 15px;
    }

    h1 {
      font-size: 1.5rem;
    }

    h2 {
      font-size: 1.2rem;
    }

    .hero {
      height: 300px;
    }

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

    .navbar-menu {
      gap: 1rem;
      flex-wrap: wrap;
    }

    .navbar-brand {
      font-size: 1.4rem;
    }
  }
}
