:root {
  --color-bg: #fdfbf7;
  --color-accent-primary: #b45309;
  --color-accent-secondary: #6d28d9;
  --color-accent-tertiary: #047857;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  --color-border: #e5e5e5;
  --color-hover: #f5f3f0;
  --radius: 4px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

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

h1 {
  font-size: 2.8rem;
  font-weight: 900;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 100px;
  margin-bottom: 40px;
}

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

p {
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0 0 20px 0;
}

body {
  padding-top: 70px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 1px solid var(--color-border);
  z-index: 999;
  padding: 15px 0;
}

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

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  text-decoration: none;
  margin: 0;
}

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

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.28s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent-primary);
  text-decoration: underline;
}

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

.hero-section {
  background-image: linear-gradient(135deg, rgba(253, 251, 247, 0.85), rgba(253, 251, 247, 0.85)), url('images/hero-festive-table.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 5.5%;
  text-align: center;
  margin-bottom: 170px;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto;
}

.section {
  margin-bottom: 170px;
  padding: 0 5.5%;
}

.section-with-image {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 170px;
  padding: 0 5.5%;
}

.section-with-image img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.section-with-image-content {
  flex: 1;
}

.section-with-image-content h2 {
  margin-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.card {
  background: white;
  border: 1px solid var(--color-border);
  padding: 30px;
  border-radius: var(--radius);
  transition: all 0.28s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--color-accent-primary);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

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

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

.card a {
  color: var(--color-accent-secondary);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.card a:hover {
  text-decoration: underline;
}

.faq-section {
  background: white;
  padding: 60px 5.5%;
  border-radius: var(--radius);
  margin-bottom: 170px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 30px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item details summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  list-style: none;
  user-select: none;
  padding: 10px 0;
}

.faq-item details summary::before {
  content: "▶ ";
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.28s ease;
}

.faq-item details[open] summary::before {
  transform: rotate(90deg);
}

.faq-item details p {
  margin-top: 15px;
  color: var(--color-text-light);
}

.disclaimer-block {
  background-color: #f9f7f4;
  border-left: 4px solid var(--color-accent-primary);
  padding: 20px;
  margin: 40px 0;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-text);
}

.cta-link {
  color: var(--color-accent-secondary);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.cta-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-secondary);
  transition: width 0.28s ease;
}

.cta-link:hover::after {
  width: 100%;
}

footer {
  background-color: white;
  border-top: 1px solid var(--color-border);
  padding: 60px 5.5%;
  margin-top: 170px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.footer-content {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 15px;
}

.footer-section a {
  display: block;
  margin: 8px 0;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.28s ease;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-light);
}

form {
  max-width: 600px;
  margin: 40px auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  box-sizing: border-box;
  transition: border-color 0.28s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
}

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

button {
  background-color: var(--color-accent-primary);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.28s ease;
}

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

.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 350px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  font-size: 0.9rem;
  display: none;
}

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

.cookie-consent p {
  margin: 0 0 15px 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  flex: 1;
  padding: 10px 15px;
  font-size: 0.85rem;
  margin: 0;
}

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

.cookie-buttons .btn-reject:hover {
  background-color: var(--color-hover);
}

.cookie-buttons .btn-info {
  background-color: var(--color-accent-tertiary);
}

.cookie-buttons .btn-info:hover {
  background-color: #036842;
}

.educational-notice {
  background-color: #f0f7ff;
  border-left: 4px solid var(--color-accent-secondary);
  padding: 20px;
  margin: 40px 0;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.educational-notice strong {
  color: var(--color-accent-secondary);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

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

th {
  background-color: var(--color-hover);
  font-weight: 600;
  color: var(--color-text);
}

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

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

  h2 {
    font-size: 1.5rem;
    margin-top: 80px;
  }

  .nav-links {
    gap: 15px;
  }

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

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

  .section-with-image img {
    width: 100%;
    height: auto;
  }

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

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

  .hero-section {
    padding: 60px 5.5%;
  }

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

  .cookie-consent {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}
