:root {
  --color-slate: #5A7D9A;
  --color-linen: #F9F8F4;
  --color-brass: #B89778;
  --color-sage: #8FA69B;
  --color-dark: #1a1a1a;
  --color-light: #ffffff;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Proxima Nova', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 19px;
  line-height: 1.72;
  color: var(--color-dark);
  background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir Next', 'Neue Haas Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 58px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 42px;
  line-height: 1.3;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 28px;
  line-height: 1.4;
  color: var(--color-slate);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 70px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-light);
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-slate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--color-dark);
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brass);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-slate);
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-light);
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem;
    gap: 0.5rem;
  }

  nav.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  padding-bottom: 100px;
}

.hero {
  position: relative;
  min-height: 600px;
  background: url('images/hero-kitchen.jpg') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-light);
  margin-bottom: 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(90, 125, 154, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  color: var(--color-light);
  font-size: 74px;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 22px;
  color: var(--color-linen);
}

@media (max-width: 768px) {
  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }
}

.section {
  padding: 4rem 0;
  margin-bottom: 2rem;
}

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

.section.subtle {
  background-color: rgba(90, 125, 154, 0.03);
}

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

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

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

.section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

.section-text p {
  margin-bottom: 1rem;
  line-height: 1.72;
}

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

.grid-card {
  text-align: center;
  padding: 1.5rem;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.grid-card:hover {
  border-color: var(--color-brass);
  box-shadow: 0 10px 30px rgba(184, 151, 120, 0.2);
  transform: translateY(-5px);
}

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

.grid-card h3 {
  margin-bottom: 0.5rem;
}

.grid-card p {
  font-size: 16px;
  color: #666;
}

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

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

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

.blog-card {
  background: var(--color-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--color-brass);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  margin-bottom: 0.5rem;
  color: var(--color-slate);
}

.blog-card p {
  color: #666;
  font-size: 16px;
  flex-grow: 1;
}

.blog-card-link {
  color: var(--color-brass);
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
}

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

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

.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
}

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

.accordion-header:hover {
  background-color: rgba(90, 125, 154, 0.05);
}

.accordion-chevron {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

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

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

.accordion-content p {
  margin-bottom: 0.5rem;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--color-linen) 0%, var(--color-brass) 100%);
  color: var(--color-dark);
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(184, 151, 120, 0.3);
}

.cta-block {
  background-color: var(--color-linen);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin: 4rem 0;
}

.cta-block h3 {
  margin-bottom: 1.5rem;
}

footer {
  background-color: var(--color-slate);
  color: var(--color-light);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 70px;
}

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

.footer-section h4 {
  color: var(--color-linen);
  margin-bottom: 1rem;
  font-size: 16px;
}

.footer-section a {
  color: var(--color-linen);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-contact {
  margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
  .footer-container {
    padding: 0 20px;
  }

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

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

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

.cookie-message {
  flex-grow: 1;
  line-height: 1.6;
}

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

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--color-brass);
  color: var(--color-dark);
}

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

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

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

.cookie-btn-learn {
  background-color: transparent;
  color: var(--color-brass);
  text-decoration: underline;
  padding: 10px 0;
}

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

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

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

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

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

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-slate);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-brass);
  box-shadow: 0 0 0 3px rgba(184, 151, 120, 0.1);
}

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

.form-disclaimer {
  background-color: var(--color-linen);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  padding: 12px;
  background-color: var(--color-slate);
  color: var(--color-light);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--color-brass);
  color: var(--color-dark);
}

.disclaimer-block {
  background-color: rgba(90, 125, 154, 0.05);
  border-left: 4px solid var(--color-brass);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.7;
}

.educational-message {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-linen);
  border-radius: 6px;
  margin: 2rem 0;
  font-weight: 600;
  color: var(--color-slate);
}

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

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