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

:root {
  --primary: #2d5016;
  --primary-light: #4a7c2a;
  --accent: #8fbc5a;
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #ffffff;
  --bg-alt: #f8f9f5;
  --bg-dark: #e8ede0;
  --border: #d4ddc8;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

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

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.ad-label {
  font-size: 0.75rem;
  color: var(--text-light);
  padding: 0.25rem 0.6rem;
  background: var(--bg-alt);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

.hero {
  background: var(--bg-dark);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 0;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.section {
  padding: 4rem 2rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
}

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

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.service-content {
  flex: 1;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

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

.service-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 1rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

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

.about-block:nth-child(even) {
  flex-direction: row-reverse;
}

.about-image {
  width: 45%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-alt);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  flex: 1;
  min-width: 280px;
  padding: 2rem;
  background: var(--bg);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.feature-item h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.feature-item p {
  color: var(--text-light);
}

.contact-grid {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.info-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.info-item strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.info-item span {
  color: var(--text-light);
}

.form-container {
  flex: 1;
  background: var(--bg);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.form-container h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-col a:hover {
  color: white;
  text-decoration: underline;
}

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

.references {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: 6px;
}

.references h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.references ol {
  margin-left: 1.5rem;
}

.references li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.references a {
  color: var(--primary-light);
  word-break: break-all;
}

.citation {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.85rem;
  vertical-align: super;
}

.citation:hover {
  text-decoration: underline;
}

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

.disclaimer p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
}

.cookie-banner.active {
  display: block;
}

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

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

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

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

.cookie-btn:hover {
  opacity: 0.9;
}

.thanks-message {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.thanks-message h1 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.thanks-message p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.thanks-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
  }

  .nav.active {
    display: flex;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .service-card {
    flex-direction: column;
  }

  .service-image {
    width: 100%;
    height: 200px;
  }

  .about-block,
  .about-block:nth-child(even) {
    flex-direction: column;
  }

  .about-image {
    width: 100%;
  }

  .contact-grid {
    flex-direction: column;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }

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

  .cookie-btn {
    flex: 1;
  }
}
