:root {
  --primary-bg: #F8F9FA;
  --accent-green: #28A745;
  --accent-blue: #007BFF;
  --accent-gray: #6C757D;
  --text-dark: #212529;
  --text-light: #6C757D;
  --white: #FFFFFF;
  --border-light: #E9ECEF;
}

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

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

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

h2 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: left;
}

h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

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

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

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

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

header .logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  text-decoration: none;
}

header .logo:hover {
  color: var(--accent-green);
}

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

header .nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

header .nav-links a:hover {
  color: var(--accent-green);
}

body {
  padding-top: 70px;
}

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

section {
  padding: 4rem 0;
}

.hero-block {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-bg) 100%);
  padding: 6rem 2rem;
  text-align: center;
  animation: fadeIn 0.8s ease-in;
}

.hero-block h1 {
  font-size: 56px;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-block p {
  font-size: 20px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.two-column {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.two-column.reverse {
  flex-direction: row-reverse;
}

.two-column .content {
  flex: 1;
  animation: slideInUp 0.6s ease-out;
}

.two-column .image-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.two-column img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 500px;
}

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

.card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease-out;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.card-content {
  padding: 2rem;
}

.card-content h3 {
  margin-top: 0;
  color: var(--text-dark);
}

.card-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 16px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent-green);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #20c997;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-secondary {
  display: inline-block;
  background-color: var(--accent-blue);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: #0056b3;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close:hover {
  color: var(--accent-green);
}

.faq-section {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

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

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

.faq-question {
  font-weight: 600;
  font-size: 18px;
  color: var(--accent-green);
  margin-bottom: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  display: none;
}

.faq-answer.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.section-block {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-block-accent {
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
}

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 5rem;
  font-size: 14px;
}

footer .footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

footer .footer-section h4 {
  color: var(--accent-green);
  margin-bottom: 1rem;
  font-size: 16px;
  font-weight: 600;
}

footer .footer-section p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

footer .footer-section a {
  color: var(--accent-green);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

footer .footer-section a:hover {
  text-decoration: underline;
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

footer .footer-bottom p {
  margin: 0.5rem 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeInModal 0.3s ease-out;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideInModal 0.3s ease-out;
}

.modal-content h2 {
  margin-top: 0;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin: 0;
}

.modal-body {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.7;
}

.modal-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 18px;
}

.modal-body p {
  margin-bottom: 1rem;
  font-size: 14px;
}

.modal-body ul, .modal-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-disclaimer {
  background-color: #FFF3CD;
  border-left: 4px solid #FFC107;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 14px;
  color: #856404;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  animation: slideUp 0.4s ease-out;
}

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

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

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

.cookie-buttons button {
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

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

.cookie-btn-accept:hover {
  background-color: #20c997;
}

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

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-info {
  background-color: transparent;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.cookie-btn-info:hover {
  background-color: rgba(40, 167, 69, 0.1);
}

.thank-you-modal {
  text-align: center;
}

.thank-you-modal .checkmark {
  font-size: 48px;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.thank-you-modal h2 {
  text-align: center;
  color: var(--accent-green);
}

.disclaimer-box {
  background-color: #E7F3FF;
  border-left: 4px solid var(--accent-blue);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .two-column {
    flex-direction: column;
    gap: 2rem;
  }

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

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  header .nav-links {
    display: none;
  }

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

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

  .cookie-buttons button {
    width: 100%;
  }

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

  .modal-content {
    margin: 20% auto;
    width: 90%;
    max-width: 100%;
  }

  .hero-block h1 {
    font-size: 36px;
  }

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

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
