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

:root {
  --primary-blue: #2C3E50;
  --accent-green: #8FBC8F;
  --accent-terracotta: #E6B0AA;
  --warm-cream: #F8F4E3;
  --light-grey: #D3D3D3;
  --white: #FFFFFF;
  --black: #000000;
  --spacing-sm: 24px;
  --spacing-md: 48px;
  --spacing-lg: 80px;
  --spacing-xl: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', serif;
  color: var(--primary-blue);
  background-color: var(--warm-cream);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-blue);
}

h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 24px;
  text-balance: true;
}

h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
  text-balance: true;
}

h3 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 16px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  line-height: 1.8;
}

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

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

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}

header {
  background-color: var(--white);
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.logo a:hover {
  color: var(--accent-green);
}

nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

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

main {
  margin-top: 80px;
  padding-bottom: var(--spacing-xl);
}

.section {
  padding: var(--spacing-lg) 0;
  width: 100%;
}

.section--primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.section--primary h1,
.section--primary h2,
.section--primary h3 {
  color: var(--white);
}

.section--cream {
  background-color: var(--warm-cream);
}

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

.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(44, 62, 80, 0.9) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-xl) 24px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  color: var(--white);
  font-size: 52px;
  margin-bottom: 20px;
}

.hero p {
  color: var(--warm-cream);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  align-items: center;
}

.grid-col-6 {
  grid-column: span 6;
}

.grid-col-12 {
  grid-column: span 12;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(44, 62, 80, 0.15);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.02);
}

.card {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(44, 62, 80, 0.15);
  transform: translateY(-4px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.button {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent-green);
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--accent-green);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button:hover {
  background-color: transparent;
  color: var(--accent-green);
}

.button-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

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

footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: var(--spacing-lg) 24px;
  margin-top: var(--spacing-xl);
}

footer .wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-section a {
  color: var(--warm-cream);
  display: block;
  margin-bottom: 8px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(248, 244, 227, 0.2);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: 14px;
  color: var(--light-grey);
}

.disclaimer {
  background-color: var(--warm-cream);
  border-left: 4px solid var(--accent-terracotta);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  border-radius: 4px;
}

.disclaimer h4 {
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.disclaimer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-blue);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 20px 24px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -2px 12px rgba(44, 62, 80, 0.2);
}

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

.cookie-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--accent-green);
  color: var(--white);
}

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

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

.cookie-btn-decline:hover {
  background-color: rgba(248, 244, 227, 0.1);
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.cookie-btn-learn:hover {
  background-color: rgba(143, 188, 143, 0.1);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  position: relative;
  padding-bottom: 20px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-green);
}

.spacer {
  height: var(--spacing-lg);
}

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

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 12px;
  }

  .grid {
    gap: 24px;
  }

  .grid-col-6 {
    grid-column: span 12;
  }

  .hero {
    min-height: 300px;
    padding: var(--spacing-md) 24px;
  }

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

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

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

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

  .section {
    padding: var(--spacing-md) 0;
  }

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

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

  h2 {
    font-size: 20px;
  }

  nav {
    gap: 8px;
  }

  nav a {
    font-size: 11px;
  }

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

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

  .container {
    padding: 0 16px;
  }

  header .wrapper {
    padding: 0 16px;
  }
}
