:root {
  --color-teal: #4DB6AC;
  --color-plum: #9575CD;
  --color-beige: #D7CCC8;
  --color-cloud: #F5F5F5;
  --color-dark: #2c3e50;
  --color-text: #3a3a3a;
  --color-light: #fafafa;
  --spacing-large: 145px;
  --spacing-xlarge: 185px;
}

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

html, body {
  font-family: Georgia, serif;
  color: var(--color-text);
  line-height: 1.88;
  font-size: 19px;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.7rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

h2 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  color: var(--color-dark);
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

h4, h5, h6 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.88;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-cloud);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem 0;
}

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

.logo {
  font-family: Lato, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-teal);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 0.75rem;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-family: Lato, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}

.nav-links a:hover {
  color: var(--color-teal);
  border-bottom-color: var(--color-teal);
}

main {
  flex: 1;
  margin-top: 80px;
}

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

section {
  padding: 145px 0;
  position: relative;
}

section.full-width {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.section-hero {
  padding: 145px 0;
  background: linear-gradient(135deg, rgba(77, 182, 172, 0.08) 0%, rgba(149, 117, 205, 0.05) 100%);
  display: flex;
  align-items: center;
  min-height: 90vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  animation: fadeIn 1.2s ease-out;
}

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

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

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

.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.08);
  animation: fadeInUp 1s ease-out;
}

.content-text {
  padding: 2rem;
}

.highlight {
  color: var(--color-teal);
  font-style: italic;
  font-weight: 600;
}

.highlight-plum {
  color: var(--color-plum);
  font-style: italic;
  font-weight: 600;
}

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

.card {
  background: #ffffff;
  border: 1px solid var(--color-cloud);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(77, 182, 172, 0.15);
  border-color: var(--color-teal);
}

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  overflow: hidden;
}

.card-body {
  padding: 1.75rem;
}

.card-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-block;
  color: var(--color-teal);
  text-decoration: none;
  font-family: Lato, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.card-link:hover {
  border-bottom-color: var(--color-teal);
  transform: translateX(4px);
}

.faq-section {
  background: var(--color-cloud);
  padding: 3rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.faq-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(77, 182, 172, 0.2);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  font-family: Lato, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.faq-answer {
  line-height: 1.88;
  color: var(--color-text);
  font-size: 0.95rem;
}

.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(77, 182, 172, 0.05) 0%, rgba(215, 204, 200, 0.08) 100%);
  border-radius: 12px;
  margin: 3rem 0;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal));
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-family: Lato, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(77, 182, 172, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(77, 182, 172, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-plum);
  box-shadow: 0 8px 24px rgba(149, 117, 205, 0.25);
}

.btn-secondary:hover {
  box-shadow: 0 12px 32px rgba(149, 117, 205, 0.35);
}

footer {
  background-color: var(--color-dark);
  color: #ffffff;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(77, 182, 172, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.disclaimer-banner {
  background-color: var(--color-cloud);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--color-teal);
}

.disclaimer-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

.disclaimer-banner strong {
  color: var(--color-teal);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: Lato, sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-cloud);
  border-radius: 6px;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(77, 182, 172, 0.1);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-cloud);
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-height: 200px;
  overflow-y: auto;
  animation: slideUp 0.5s ease-out;
}

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

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: Lato, sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--color-teal);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(77, 182, 172, 0.3);
}

.cookie-btn-accept:hover {
  background-color: #399fa0;
  box-shadow: 0 6px 16px rgba(77, 182, 172, 0.4);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-cloud);
}

.cookie-btn-reject:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--color-teal);
  border: 1px solid var(--color-teal);
  text-decoration: none;
}

.cookie-btn-learn:hover {
  background-color: rgba(77, 182, 172, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

@media (max-width: 768px) {
  :root {
    --spacing-large: 90px;
    --spacing-xlarge: 120px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  html, body {
    font-size: 16px;
  }

  header nav {
    flex-direction: column;
    gap: 1rem;
  }

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

  main {
    margin-top: 120px;
  }

  section {
    padding: 90px 0;
  }

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

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

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

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

  .faq-section {
    padding: 2rem 1rem;
  }

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

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }

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

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

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  section {
    padding: 60px 0;
  }

  .hero-image {
    max-width: 100%;
  }

  .card-body {
    padding: 1.25rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }

  form {
    gap: 1rem;
  }

  .cookie-banner {
    padding: 1rem;
    font-size: 0.85rem;
  }

  .cookie-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}
