:root {
  --color-linen: #F8F1E6;
  --color-olive: #8A9A6B;
  --color-terracotta: #C97C5E;
  --color-charcoal: #3C3F41;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  line-height: 1.78;
  color: var(--color-charcoal);
  background-color: var(--color-linen);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 54px;
  line-height: 1.2;
}

h2 {
  font-size: 42px;
  line-height: 1.2;
}

h3 {
  font-size: 32px;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-linen);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-charcoal);
  text-decoration: none;
}

.logo:hover {
  color: var(--color-olive);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--color-charcoal);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-olive);
}

.nav-links a.active {
  color: var(--color-olive);
  border-bottom: 2px solid var(--color-olive);
}

main {
  margin-top: 80px;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  color: white;
  font-size: 54px;
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  margin: 0;
}

.section {
  padding: 160px 2rem;
  max-width: 1760px;
  margin: 0 auto;
  width: 100%;
}

.section-full-width {
  padding: 160px 2rem;
  width: 100%;
  background-color: var(--color-linen);
}

.section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.two-column-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.image-left {
  grid-template-columns: 1.1fr 1fr;
}

.image-right {
  grid-template-columns: 1fr 1.1fr;
}

.image-right .two-column-image {
  order: 2;
}

.image-right > div:first-child {
  order: 1;
}

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

.accordion-item {
  border: 1px solid var(--color-olive);
  margin-bottom: 1rem;
  border-radius: 2px;
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  padding: 1.5rem;
  background-color: var(--color-linen);
  border: none;
  text-align: left;
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-button:hover {
  background-color: rgba(138, 154, 107, 0.1);
}

.accordion-button.active {
  background-color: var(--color-olive);
  color: white;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  padding: 0 1.5rem;
  background-color: rgba(248, 241, 230, 0.5);
}

.accordion-content.active {
  max-height: 1000px;
  opacity: 1;
  padding: 1.5rem;
}

.accordion-content p {
  margin-bottom: 0;
}

.cta-button {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--color-olive);
  background: linear-gradient(135deg, var(--color-linen) 0%, rgba(248, 241, 230, 0.8) 100%);
  color: var(--color-charcoal);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  border-radius: 2px;
  margin-top: 1rem;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--color-olive) 0%, rgba(138, 154, 107, 0.9) 100%);
  color: white;
  border-color: var(--color-olive);
}

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

.blog-card {
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--color-terracotta);
}

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

.blog-card-content {
  padding: 2rem;
}

.blog-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
  font-family: 'Playfair Display', serif;
}

.blog-card-date {
  font-size: 14px;
  color: var(--color-olive);
  margin-bottom: 1rem;
}

.blog-card-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
}

.blog-card-link {
  color: var(--color-olive);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.blog-card-link:hover {
  color: var(--color-terracotta);
}

.final-cta {
  text-align: center;
  padding: 160px 2rem;
}

.final-cta h2 {
  margin-bottom: 2rem;
}

footer {
  background-color: var(--color-charcoal);
  color: var(--color-linen);
  padding: 4rem 2rem;
  margin-top: 0;
}

.footer-content {
  max-width: 1760px;
  margin: 0 auto;
}

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

.footer-section h3 {
  color: var(--color-linen);
  font-size: 18px;
  margin-bottom: 1.5rem;
}

.footer-section p, .footer-section a {
  color: rgba(248, 241, 230, 0.8);
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.footer-section a {
  display: block;
  transition: color 0.3s ease;
}

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

.footer-policies {
  border-top: 1px solid rgba(248, 241, 230, 0.2);
  padding-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-policies a {
  font-size: 14px;
  color: rgba(248, 241, 230, 0.7);
}

.footer-policies a:hover {
  color: var(--color-olive);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 241, 230, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(248, 241, 230, 0.6);
  font-size: 14px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 16px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-olive);
  border-radius: 2px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: var(--color-charcoal);
  background-color: white;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(201, 124, 94, 0.1);
}

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

.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 12px 28px;
  border: 2px solid var(--color-olive);
  background-color: transparent;
  color: var(--color-olive);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.4s ease;
  text-decoration: none;
  font-family: 'Source Sans Pro', sans-serif;
}

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

.btn-primary {
  background-color: var(--color-olive);
  color: white;
}

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

.disclaimer {
  background-color: rgba(138, 154, 107, 0.1);
  border-left: 4px solid var(--color-olive);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
  font-size: 16px;
  line-height: 1.6;
}

.highlight {
  background-color: rgba(248, 241, 230, 0.5);
  padding: 0.2em 0.4em;
  border-radius: 2px;
}

.italic-serif {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--color-olive);
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes liftUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lift-on-scroll {
  animation: liftUp 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

.container {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    height: 400px;
  }

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

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

  .section {
    padding: 80px 1.5rem;
  }

  .section-full-width {
    padding: 80px 1.5rem;
  }

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

  .image-left, .image-right {
    grid-template-columns: 1fr;
  }

  .image-right .two-column-image {
    order: 0;
  }

  .image-right > div:first-child {
    order: 0;
  }

  .nav-links {
    gap: 1rem;
    font-size: 14px;
  }

  .navbar {
    padding: 0 1rem;
  }

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

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

  .button-group {
    flex-direction: column;
  }

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

  main {
    margin-top: 70px;
  }

  header {
    padding: 0.75rem 0;
  }

  .logo {
    font-size: 20px;
  }

  .footer-policies {
    gap: 1rem;
    flex-direction: column;
  }

  .footer-policies a {
    display: inline;
    margin-right: 1rem;
  }

  .final-cta {
    padding: 80px 1.5rem;
  }
}

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

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    height: 300px;
  }

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

  .nav-links {
    gap: 0.5rem;
    font-size: 12px;
  }

  .navbar {
    padding: 0 1rem;
  }

  .section {
    padding: 60px 1rem;
  }

  .two-column {
    gap: 1rem;
  }

  .cta-button {
    font-size: 12px;
    padding: 10px 20px;
  }

  .btn {
    font-size: 12px;
    padding: 10px 20px;
  }
}

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

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

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

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

.cookie-btn {
  padding: 8px 16px;
  border: 1px solid var(--color-linen);
  background-color: transparent;
  color: var(--color-linen);
  cursor: pointer;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Source Sans Pro', sans-serif;
}

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

.cookie-btn.accept {
  background-color: var(--color-olive);
  border-color: var(--color-olive);
}

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

.thank-you-container {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you-container h1 {
  margin-bottom: 2rem;
}

.thank-you-container p {
  font-size: 18px;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
  }

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

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