@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #2C3E50;
  --accent: #C8AE70;
  --secondary: #7F8C8D;
  --light: #ECF0F1;
  --white: #FFFFFF;
  --black: #000000;
  --radius: 0.375rem;
}

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

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

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

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

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

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

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

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

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

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo a {
  color: var(--primary);
}

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

nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

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

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

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

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

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

.hero {
  background-color: var(--light);
  padding: 5rem 2rem;
  text-align: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius);
}

.section {
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.card h3 {
  margin-bottom: 1rem;
}

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

.two-column img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.three-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.block {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid var(--light);
}

.block:last-child {
  border-right: none;
}

.block img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--light);
}

.tab-btn {
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content {
  display: none;
  padding: 2rem 0;
}

.tab-content.active {
  display: block;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--accent);
}

.timeline-item {
  margin-bottom: 2rem;
  width: 48%;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  margin-left: 52%;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  top: 0;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -2rem;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -2rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border: 1px solid var(--light);
  border-bottom: none;
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--light);
}

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

.accordion-header:hover {
  background-color: #dde4e8;
}

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: var(--white);
  border-top: 1px solid var(--light);
}

.accordion-content.active {
  display: block;
}

.button {
  background-color: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.button:hover {
  background-color: #b39557;
}

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

.button-secondary:hover {
  background-color: #1a2432;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

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

.alert {
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  background-color: rgba(200, 174, 112, 0.1);
  margin-bottom: 2rem;
  border-radius: var(--radius);
}

.quote {
  border-left: 4px solid var(--accent);
  padding: 2rem;
  font-size: 1.1rem;
  font-style: italic;
  background-color: var(--light);
  margin: 2rem 0;
  border-radius: var(--radius);
}

.contact-info {
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}

.stat-item h4 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.glossary {
  margin: 2rem 0;
}

.glossary-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light);
}

.glossary-item:last-child {
  border-bottom: none;
}

.glossary-term {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

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

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--light);
}

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

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

.misconception-item {
  padding: 1.5rem;
  background-color: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.misconception-item strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.disclaimer {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.disclaimer h3 {
  color: #856404;
  margin-top: 0;
}

.checkmark {
  text-align: center;
  font-size: 4rem;
  color: var(--accent);
  margin: 2rem 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 1.5rem 2rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

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

.cookie-text {
  flex: 1;
}

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

.cookie-btn {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  background-color: #b39557;
}

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

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

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

  h2 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 1rem;
  }

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

  .three-blocks {
    grid-template-columns: 1fr;
  }

  .block {
    border-right: none;
    border-bottom: 1px solid var(--light);
  }

  .block:last-child {
    border-bottom: none;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    width: 100%;
    margin-left: 0;
    padding: 0;
    text-align: left;
  }

  .timeline-dot {
    display: none;
  }

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

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

  .cookie-buttons {
    width: 100%;
  }

  .tab-buttons {
    flex-wrap: wrap;
  }
}

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

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

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .section {
    padding: 3rem 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }
}
