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

:root {
  --primary-dark: #2A4747;
  --accent-warm: #F0D8A8;
  --accent-tan: #C69F7E;
  --accent-sage: #8B9B7E;
  --bg-light: #FAFAF8;
  --text-dark: #2A4747;
  --text-light: #F5F1E8;
  --border-light: #E8E3D8;
  --shadow-soft: rgba(42, 71, 71, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Garamond', serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  color: var(--primary-dark);
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: var(--primary-dark);
}

p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

a {
  color: var(--accent-tan);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
}

a:hover {
  color: var(--accent-sage);
  text-decoration: underline;
}

header {
  background-color: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px var(--shadow-soft);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-warm);
  font-family: 'Arial', sans-serif;
  letter-spacing: 2px;
}

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

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

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

footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 2rem;
  margin-top: 4rem;
  border-top: 3px solid var(--accent-warm);
}

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

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

.footer-section p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

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

.hero {
  background: linear-gradient(135deg, rgba(42, 71, 71, 0.7) 0%, rgba(42, 71, 71, 0.5) 100%), url('images/hero-nutrition.jpg') center/cover;
  background-attachment: fixed;
  color: var(--text-light);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: var(--text-light);
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-style: italic;
}

section {
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

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

.section-accent {
  background-color: var(--accent-warm);
  color: var(--primary-dark);
}

.section-accent p, .section-accent li {
  color: var(--primary-dark);
}

.section-accent h2, .section-accent h3 {
  color: var(--primary-dark);
}

.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.row img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--shadow-soft);
}

.content-block {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-tan);
  box-shadow: 0 4px 12px var(--shadow-soft);
}

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

.card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  border-top: 3px solid var(--accent-tan);
  box-shadow: 0 4px 15px var(--shadow-soft);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(42, 71, 71, 0.2);
}

.card h3 {
  color: var(--accent-tan);
  margin-top: 0;
}

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

.stat-strip {
  background: linear-gradient(90deg, var(--accent-sage) 0%, var(--accent-tan) 100%);
  color: #FFFFFF;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 2rem 0;
}

.stat-strip h3 {
  color: #FFFFFF;
  font-size: 2rem;
  margin: 0;
}

.stat-strip p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

button, .btn {
  background-color: var(--accent-tan);
  color: var(--primary-dark);
  padding: 1rem 2rem;
  border: 2px solid var(--accent-tan);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: inline-block;
  font-family: 'Arial', sans-serif;
}

button:hover, .btn:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-color: var(--primary-dark);
}

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

.btn-outline:hover {
  background-color: var(--accent-tan);
  color: var(--primary-dark);
}

form {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-sage);
  box-shadow: 0 4px 15px var(--shadow-soft);
  max-width: 700px;
  margin: 2rem auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-family: 'Arial', sans-serif;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: #FFFFFF;
  transition: border-color 0.3s ease-in-out;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-tan);
  box-shadow: 0 0 8px rgba(198, 159, 126, 0.3);
}

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

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

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

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--accent-warm);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

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

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

.cookie-btn-refuse {
  background-color: transparent;
  color: var(--accent-warm);
  border-color: var(--accent-warm);
}

.cookie-btn-refuse:hover {
  background-color: rgba(240, 216, 168, 0.1);
}

.cookie-btn-info {
  background-color: transparent;
  color: var(--accent-warm);
  border-color: var(--accent-warm);
  text-decoration: none;
}

.cookie-btn-info:hover {
  background-color: rgba(240, 216, 168, 0.1);
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px var(--shadow-soft);
  border-radius: 4px;
  overflow: hidden;
}

thead {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

th, td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

tbody tr:hover {
  background-color: var(--bg-light);
}

.glossary-item {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent-sage);
  border-radius: 4px;
}

.glossary-item dt {
  font-weight: 700;
  color: var(--accent-tan);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.glossary-item dd {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.8;
}

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

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent-tan);
}

.timeline-marker {
  position: absolute;
  left: -8px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-tan);
  border: 3px solid #FFFFFF;
}

.timeline-content {
  flex: 1;
}

.timeline-content h3 {
  color: var(--accent-tan);
}

.breadcrumb {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--accent-tan);
  margin: 0 0.5rem;
}

.breadcrumb span {
  color: var(--text-dark);
  margin: 0 0.5rem;
}

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

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .hero {
    padding: 4rem 1rem;
  }

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

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

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

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.8rem;
  }

  section {
    padding: 2rem 1rem;
  }

  form {
    padding: 1.5rem;
  }

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

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

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

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  body {
    font-size: 15px;
  }

  p {
    font-size: 0.95rem;
  }

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

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

  .stat-strip h3 {
    font-size: 1.5rem;
  }

  button, .btn {
    width: 100%;
    text-align: center;
  }

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

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

  nav a {
    display: block;
  }
}
