:root {
  --color-moss: #8FA69B;
  --color-oat: #EDE4D9;
  --color-lavender: #B0A8C0;
  --color-linen: #F5E9D4;
  --color-dark: #2C2C2C;
  --color-light: #FAFAF8;
  --spacing-gutter-desktop: 100px;
  --spacing-gutter-mobile: 20px;
  --max-width: 1520px;
  --transition-ease: cubic-bezier(0.35, 0, 0.65, 1);
}

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

html, body {
  font-family: 'Inter', 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.68;
}

h1 {
  font-family: 'Georgia', 'Merriweather', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

h2 {
  font-family: 'Inter', 'Karla', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

h3 {
  font-family: 'Inter', 'Karla', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

p {
  font-size: 19px;
  line-height: 1.68;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

body {
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 250, 248, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(143, 166, 155, 0.15);
  padding: 1rem var(--spacing-gutter-desktop);
}

@media (max-width: 768px) {
  header {
    padding: 1rem var(--spacing-gutter-mobile);
  }
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Georgia', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-moss);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

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

.nav-menu a {
  color: var(--color-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-moss);
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--color-dark);
  }
}

.nav-toggle {
  display: none;
}

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

.section {
  padding: 4rem var(--spacing-gutter-desktop);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem var(--spacing-gutter-mobile);
  }
}

.section--hero {
  padding: 0;
  margin: 0;
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-content h1 {
  color: white;
  font-size: 68px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.section--alt {
  background-color: rgba(143, 166, 155, 0.05);
}

.section--linen {
  background-color: var(--color-linen);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.5) 2px,
    rgba(255, 255, 255, 0.5) 4px
  );
}

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

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

.section-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 2px;
}

.section-text {
  padding-left: 2rem;
  border-left: 2px solid var(--color-moss);
}

@media (max-width: 768px) {
  .section-text {
    padding-left: 0;
    border-left: none;
  }
}

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

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

.card {
  background-color: white;
  border: 1px solid rgba(143, 166, 155, 0.2);
  overflow: hidden;
  transition: all 0.35s var(--transition-ease);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(143, 166, 155, 0.15);
  border-color: var(--color-lavender);
}

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background-color: var(--color-oat);
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
}

.card-link {
  color: var(--color-moss);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border: 1px solid rgba(143, 166, 155, 0.2);
  margin-bottom: 1rem;
  background-color: white;
}

.accordion-button {
  width: 100%;
  padding: 1.5rem;
  background-color: white;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s var(--transition-ease);
}

.accordion-button:hover {
  background-color: rgba(143, 166, 155, 0.05);
  color: var(--color-moss);
}

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

.accordion-icon {
  font-size: 20px;
  transition: transform 0.35s var(--transition-ease);
}

.accordion-button.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--transition-ease);
  background-color: rgba(143, 166, 155, 0.02);
}

.accordion-content.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}

footer {
  background-color: var(--color-dark);
  color: white;
  padding: 3rem var(--spacing-gutter-desktop) 2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  footer {
    padding: 2rem var(--spacing-gutter-mobile) 1.5rem;
  }
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-section h3 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.button {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--color-lavender);
  background-color: transparent;
  color: var(--color-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.35s var(--transition-ease);
  cursor: pointer;
  text-align: center;
}

.button:hover {
  background-color: var(--color-lavender);
  color: white;
}

.button--primary {
  background-color: var(--color-moss);
  border-color: var(--color-moss);
  color: white;
}

.button--primary:hover {
  background-color: #7A9485;
  border-color: #7A9485;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid rgba(143, 166, 155, 0.3);
  background-color: white;
  color: var(--color-dark);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-moss);
  box-shadow: 0 0 0 3px rgba(143, 166, 155, 0.1);
}

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

.disclaimer {
  background-color: rgba(143, 166, 155, 0.08);
  border-left: 4px solid var(--color-moss);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 2px;
}

.disclaimer p {
  margin-bottom: 0.5rem;
  font-size: 15px;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 13px;
}

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

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

.breadcrumb-separator {
  color: #999;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-gutter-desktop);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-gutter-mobile);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid rgba(143, 166, 155, 0.2);
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-size: 14px;
}

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

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

.cookie-text {
  flex: 1;
  color: var(--color-dark);
}

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

@media (max-width: 768px) {
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}

.cookie-button {
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--color-moss);
  background-color: transparent;
  color: var(--color-moss);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.cookie-button:hover {
  background-color: var(--color-moss);
  color: white;
}

.cookie-button--accept {
  background-color: var(--color-moss);
  color: white;
}

.cookie-button--accept:hover {
  background-color: #7A9485;
  border-color: #7A9485;
}

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

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

.privacy-box {
  background-color: rgba(143, 166, 155, 0.05);
  padding: 2rem;
  border-radius: 2px;
}

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

.thank-you-section h1 {
  color: var(--color-moss);
  margin-bottom: 1rem;
}

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

.blog-featured {
  background-color: var(--color-oat);
  padding: 3rem;
  margin-bottom: 3rem;
  border-radius: 2px;
}

.blog-featured h2 {
  margin-bottom: 1rem;
}

.blog-featured p {
  font-size: 16px;
  margin-bottom: 0;
}

.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(143, 166, 155, 0.2);
}

.blog-nav a {
  color: var(--color-moss);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-nav a:hover {
  color: var(--color-lavender);
}

@media (max-width: 768px) {
  .blog-nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.content-width-full {
  width: 100%;
  max-width: 100%;
}

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