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

:root {
  --primary-bg: #f9fcf8;
  --accent-green: #6bac8f;
  --dark-green: #3a5f4f;
  --light-bg: #fdfdf4;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e8eee8;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-dark);
  background-color: var(--primary-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.82;
}

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

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

body {
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(249, 252, 248, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  padding: 1.2rem 0;
}

header.scrolled {
  padding: 0.8rem 0;
  opacity: 0.95;
  box-shadow: 0 2px 8px rgba(58, 95, 79, 0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-green);
  text-decoration: none;
  font-family: 'Nunito Sans', sans-serif;
  letter-spacing: -0.2px;
}

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

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

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

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

main {
  margin-top: 80px;
}

.container {
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 150px;
}

.section {
  padding: 5rem 0;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.section:nth-child(1) {
  animation-delay: 0s;
}

.section:nth-child(2) {
  animation-delay: 0.2s;
}

.section:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--light-bg) 100%);
  width: 100%;
  padding: 6rem 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(58, 95, 79, 0.1);
}

.block-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.block-section:nth-child(even) {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.block-section:nth-child(even) > * {
  direction: ltr;
}

.block-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 350px;
  box-shadow: 0 8px 32px rgba(58, 95, 79, 0.1);
}

.block-content h2 {
  color: var(--dark-green);
}

.block-content p {
  color: var(--text-light);
  font-size: 1rem;
}

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

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 2px 12px rgba(58, 95, 79, 0.05);
}

.product-card:hover {
  border-color: var(--accent-green);
  box-shadow: 0 12px 40px rgba(107, 172, 143, 0.15);
  transform: translateY(-6px);
  background: var(--light-bg);
}

.product-card h3 {
  color: var(--dark-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--accent-green);
  border: 2px solid var(--accent-green);
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: var(--accent-green);
  transition: height 0.3s ease;
  z-index: -1;
}

.btn:hover {
  color: white;
}

.btn:hover::before {
  height: 100%;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(58, 95, 79, 0.08);
}

.comparison-table th {
  background: var(--dark-green);
  color: white;
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.comparison-table td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
}

.comparison-table tbody tr:nth-child(odd) {
  background: var(--light-bg);
}

.comparison-table tbody tr:hover {
  background: rgba(107, 172, 143, 0.05);
}

.quote-section {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--dark-green) 100%);
  color: white;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 8px 32px rgba(58, 95, 79, 0.2);
}

.quote-section p {
  font-size: 1.25rem;
  color: white;
  font-style: italic;
  margin: 0;
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-bottom: none;
  background: white;
  transition: all 0.3s ease;
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  padding: 1.5rem;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.accordion-header:hover {
  background: var(--light-bg);
  border-left-color: var(--accent-green);
}

.accordion-item.active .accordion-header {
  background: var(--light-bg);
  border-left-color: var(--accent-green);
}

.accordion-header h4 {
  margin: 0;
  color: var(--dark-green);
  font-size: 1.1rem;
}

.accordion-toggle {
  color: var(--accent-green);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

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

.accordion-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-section {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--light-bg) 100%);
  padding: 4rem;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.contact-info h3 {
  color: var(--dark-green);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.contact-info a {
  color: var(--accent-green);
  font-weight: 500;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(107, 172, 143, 0.1);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  background: var(--light-bg);
  padding: 0.8rem;
  border-radius: 6px;
  border-left: 3px solid var(--accent-green);
}

footer {
  background: var(--dark-green);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

footer h4 {
  color: white;
  margin-bottom: 1rem;
}

footer p, footer a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

footer a {
  color: var(--light-bg);
  cursor: pointer;
}

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

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.disclaimer-banner {
  background: rgba(107, 172, 143, 0.1);
  border: 1px solid var(--accent-green);
  border-radius: 6px;
  padding: 1.2rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.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);
  overflow: auto;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.modal-header h2 {
  margin: 0;
}

.close {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-green);
  color: white;
  padding: 1.5rem;
  z-index: 1500;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  color: white;
  margin: 0;
  flex: 1;
  margin-right: 2rem;
}

.cookie-banner button {
  padding: 0.6rem 1.2rem;
  margin: 0 0.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.cookie-accept:hover {
  background: #5a9a7f;
}

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

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

.cookie-more {
  background: transparent;
  color: var(--light-bg);
  text-decoration: underline;
  padding: 0.6rem 0;
}

.cookie-more:hover {
  color: white;
}

@media (max-width: 768px) {
  header .container {
    padding: 0 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

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

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .block-section:nth-child(even) {
    direction: ltr;
  }

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

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

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

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

  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 1rem;
  }

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