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

:root {
  --dark-grey: #3a3a3a;
  --muted-blue: #5a7a8a;
  --warm-beige: #c9b8a8;
  --olive-green: #7a8a5a;
  --light-grey: #f5f5f5;
  --off-white: #faf8f6;
  --text-dark: #2a2a2a;
  --border-light: #e8e8e8;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
  margin: 2rem 0;
  letter-spacing: -0.02em;
  text-transform: none;
}

h2 {
  font-size: 2.5rem;
  margin: 2rem 0 1rem 0;
  color: var(--dark-grey);
}

h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--muted-blue);
}

p {
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 75ch;
}

a {
  color: var(--muted-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--warm-beige);
  border-bottom-color: var(--warm-beige);
}

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

ul, ol {
  margin-left: 2rem;
  margin: 1rem 0;
}

li {
  margin: 0.5rem 0;
  line-height: 1.7;
}

header {
  background-color: var(--dark-grey);
  color: var(--off-white);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.logo a {
  color: var(--off-white);
  border: none;
}

.logo a:hover {
  color: var(--warm-beige);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--off-white);
  border: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

nav a.active {
  color: var(--warm-beige);
  font-weight: 700;
}

main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

section:last-child {
  border-bottom: none;
}

.hero {
  background-color: var(--dark-grey);
  color: var(--off-white);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--off-white);
  margin-bottom: 1.5rem;
  font-size: 4rem;
}

.hero p {
  color: var(--light-grey);
  font-size: 1.25rem;
  margin: 0 auto;
  max-width: 50ch;
}

.hero-image {
  margin-top: 3rem;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

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

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

.content-grid.reverse > * {
  direction: ltr;
}

.content-text {
  padding: 2rem;
  background-color: var(--light-grey);
  border-radius: 4px;
  border-left: 4px solid var(--muted-blue);
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-top: 3px solid var(--muted-blue);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card h3 {
  margin-top: 0;
  color: var(--muted-blue);
}

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

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--muted-blue);
  color: var(--muted-blue);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.cta-button:hover {
  background-color: var(--muted-blue);
  color: white;
  border-color: var(--muted-blue);
}

.disclaimer {
  background-color: var(--light-grey);
  padding: 2rem;
  border-left: 4px solid var(--olive-green);
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer h3 {
  color: var(--olive-green);
  margin-top: 0;
  font-size: 1.1rem;
}

.disclaimer p {
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

footer {
  background-color: var(--dark-grey);
  color: var(--light-grey);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

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

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

.footer-section a {
  display: block;
  color: var(--light-grey);
  margin-bottom: 0.5rem;
  border: none;
}

.footer-section a:hover {
  color: var(--warm-beige);
  border: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact p {
  margin: 0;
  font-size: 0.9rem;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-grey);
  color: var(--off-white);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
  display: none;
  z-index: 2000;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

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

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 500px;
}

.cookie-text a {
  color: var(--warm-beige);
  border-bottom: 1px solid var(--warm-beige);
}

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

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

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

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

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

.cookie-btn-reject:hover {
  background-color: var(--off-white);
  color: var(--text-dark);
}

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

.cookie-btn-learn:hover {
  background-color: var(--warm-beige);
  color: var(--text-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-item {
  background-color: white;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.blog-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-top: 0;
}

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

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

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

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--muted-blue);
  box-shadow: 0 0 0 3px rgba(90, 122, 138, 0.1);
}

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

.submit-btn {
  padding: 0.75rem 2rem;
  background-color: var(--muted-blue);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--dark-grey);
}

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

  h2 {
    font-size: 1.75rem;
  }

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

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

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  main {
    padding: 0 1rem;
  }

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

  .cookie-text {
    max-width: none;
  }

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

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

  section {
    padding: 2rem 0;
  }
}

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

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.1rem;
  }

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

  nav {
    gap: 0.5rem;
  }

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