:root {
  --primary-bg: #f8f9fc;
  --primary-blue: #1e40af;
  --primary-green: #059669;
  --primary-orange: #c2410c;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-light: #e5e7eb;
  --white: #ffffff;
}

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

html, body {
  font-family: system-ui, "Segoe UI", -apple-system, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.76;
}

body {
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

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

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

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

a:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 1rem 0;
}

header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-blue);
  text-decoration: none;
}

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

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

.nav-links a {
  font-size: 0.93rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-blue);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .navbar {
    padding: 0 7.5%;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

.container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 5.5%;
}

.hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, #f3f4f6 100%);
  padding: 4rem 0;
  margin-bottom: 3rem;
  position: relative;
}

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

.hero img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  object-fit: contain;
}

.section {
  margin: 5rem 0;
  padding: 3rem 0;
}

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

.section h2 {
  margin-top: 0;
}

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

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

.section-with-image.reverse {
  direction: rtl;
}

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

@media (max-width: 768px) {
  .section-with-image {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero {
    padding: 2rem 0;
  }
}

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

.card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.03);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.1);
}

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

.card h3 {
  margin: 1rem 0 0.5rem 0;
  font-size: 1.125rem;
}

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

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--primary-green);
}

.btn-secondary:hover {
  background-color: var(--primary-orange);
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
}

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

.accordion-header:hover {
  background-color: var(--primary-bg);
}

.accordion-header.active {
  background-color: var(--primary-blue);
  color: var(--white);
}

.accordion-content {
  padding: 1.25rem;
  background-color: var(--white);
  display: none;
  line-height: 1.76;
}

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

.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section a {
  color: #d1d5db;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #d1d5db;
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.disclaimer {
  background-color: #fef3c7;
  border-left: 4px solid var(--primary-orange);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: #78350f;
}

.disclaimer strong {
  color: #92400e;
}

.traffic-light-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.traffic-light-table tr:hover {
  background-color: var(--primary-bg);
}

.traffic-light-table tr:last-child td {
  border-bottom: none;
}

.green-light {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}

.amber-light {
  background-color: #f59e0b;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}

.red-light {
  background-color: #ef4444;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}

.nutrient-name {
  font-weight: 600;
  color: var(--primary-blue);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 5.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

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

.cookie-text a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

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

.cookie-btn-accept {
  background-color: var(--primary-blue);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: var(--primary-orange);
}

.cookie-btn-reject {
  background-color: var(--border-light);
  color: var(--text-dark);
}

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

.cookie-btn-policy {
  background-color: transparent;
  color: var(--primary-blue);
  text-decoration: underline;
  padding: 0.5rem 0;
}

.cookie-btn-policy:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .cookie-btn {
    width: 100%;
  }
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-2 { margin-bottom: 1rem; }

.success-message {
  background-color: #d1fae5;
  border-left: 4px solid var(--primary-green);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  color: #065f46;
  font-weight: 500;
}

@media (max-width: 768px) {
  body {
    padding-top: 65px;
  }

  .section {
    margin: 3rem 0;
    padding: 2rem 0;
  }

  .container {
    padding: 0 7.5%;
  }
}

@supports (scroll-snap-type: y mandatory) {
  main {
    scroll-snap-type: y proximity;
  }

  .section {
    scroll-snap-align: start;
    scroll-snap-stop: auto;
  }
}
