@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #5E7A69;
  --text-dark: #2C3E50;
  --text-light: #555;
  --bg-light: #F8F8F7;
  --bg-white: #FFFFFF;
  --border-color: #E8E8E6;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

html, body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', serif;
  color: var(--text-dark);
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

h2 {
  font-size: 2.2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

a:hover {
  border-bottom: 1px solid var(--primary-color);
}

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

main {
  flex: 1;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

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

.logo {
  font-family: 'EB Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.logo:hover {
  border-bottom: none;
  color: var(--primary-color);
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--primary-color);
  border-bottom: none;
}

main {
  margin-top: 80px;
}

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

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

.hero {
  background-color: var(--bg-light);
  padding: 4rem 0;
  margin-bottom: 3rem;
}

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

.hero img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: var(--shadow-light);
  max-height: 400px;
  object-fit: cover;
}

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

.section:last-of-type {
  border-bottom: none;
}

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

.section-text {
  padding: 1rem 0;
}

.section img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: var(--shadow-light);
  max-height: 350px;
  object-fit: cover;
}

.img-left {
  order: -1;
}

footer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-section li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer-section a {
  color: var(--text-light);
}

.footer-contact {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #999;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0.9rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  margin-right: 1rem;
  margin-top: 1.5rem;
}

.cta-button:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
  border-bottom: none;
}

.cta-secondary {
  background-color: transparent;
  color: var(--primary-color);
}

.cta-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.blog-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 3rem 0;
}

.blog-card {
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 3px;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-light);
  transform: translateY(-2px);
}

.blog-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.blog-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.blog-main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 2rem;
  border-radius: 2px;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

form {
  max-width: 600px;
}

.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"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(94, 122, 105, 0.1);
}

textarea {
  min-height: 150px;
}

.disclaimer-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}

.disclaimer-box strong {
  color: var(--text-dark);
}

.context-note {
  background-color: #F0F4F1;
  border: 1px solid #D4E1D8;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.link-item {
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  text-align: center;
  border-radius: 3px;
  transition: var(--transition);
}

.link-item:hover {
  box-shadow: var(--shadow-light);
  border-color: var(--primary-color);
}

.link-item a {
  font-size: 1rem;
  font-weight: 600;
}

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

  .nav {
    gap: 1.5rem;
    font-size: 0.9rem;
  }

  main {
    margin-top: 150px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .grid-2,
  .hero-content,
  .section-content,
  .blog-teasers,
  .footer-grid,
  .links-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .img-left {
    order: 0;
  }

  .hero {
    padding: 2rem 0;
    margin-bottom: 2rem;
  }

  .section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .header-content {
    padding: 1rem 1.5rem;
  }
}

#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  display: none;
}

#consent-banner.show {
  display: block;
}

#consent-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

#consent-banner-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

#consent-banner-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.consent-btn {
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-radius: 3px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.consent-btn:hover {
  background-color: var(--bg-light);
}

.consent-btn.accept {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

.consent-btn.accept:hover {
  background-color: #4F6557;
}

@media (max-width: 600px) {
  #consent-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  #consent-banner-buttons {
    width: 100%;
    flex-direction: column;
  }

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