:root {
  --primary: #1A2B3C;
  --accent: #E6A756;
  --secondary: #7D8F7B;
  --neutral: #CED0D4;
  --off-white: #F0F2F5;
  --white: #FFFFFF;
  --text-dark: #2C3E50;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.8rem;
}

h3 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

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

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

header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

header nav a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

header nav a:hover,
header nav a.active {
  color: var(--accent);
}

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 5rem;
  font-size: 0.95rem;
}

footer .container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

footer h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

footer a {
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.3s;
}

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

footer .footer-section p {
  margin-bottom: 0.8rem;
}

footer .footer-legal {
  border-top: 1px solid var(--neutral);

  padding-top: 2rem;
  margin-top: 2rem;
  grid-column: 1 / -1;
  text-align: center;
}

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

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--neutral);
}

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

.section-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 5rem 2rem;
}

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

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

.section-full.sage {
  background-color: var(--secondary);
  color: var(--white);
}

.section-full.dark h2,
.section-full.dark h3,
.section-full.sage h2,
.section-full.sage h3 {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-content h1 {
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: cover;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--neutral);
  padding: 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

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

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

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 600;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 0.95rem;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--white);
}

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

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

.two-column.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

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

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

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

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

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

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 167, 86, 0.1);
}

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

.disclaimer {
  background-color: #F9F6F1;
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.disclaimer h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.7rem 1.5rem;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.cookie-btn:hover {
  opacity: 0.9;
}

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

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neutral), transparent);
  margin: 3rem 0;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

.info-box {
  background-color: rgba(125, 143, 123, 0.1);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--neutral);
}

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

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

.blog-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}

.blog-item-image {
  height: 200px;
  overflow: hidden;
  background-color: var(--neutral);
}

.blog-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-item-content {
  padding: 1.5rem;
}

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

.blog-item-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
}

.separator {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 2rem 0;
}

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

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

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

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .hero,
  .two-column,
  .three-column {
    grid-template-columns: 1fr;
  }

  .two-column.reverse {
    direction: ltr;
  }

  .two-column.reverse > * {
    direction: ltr;
  }

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

  header nav ul {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
  }

  .cookie-banner.show {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cookie-banner p {
    min-width: unset;
  }

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

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

  main {
    padding: 0 1rem;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }
}

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

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  header nav ul {
    gap: 0.8rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
