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

:root {
  --color-primary: #4a7c59;
  --color-primary-dark: #33691e;
  --color-primary-light: #7cb342;
  --color-accent: #aed581;
  --color-bg: #f9faf8;
  --color-bg-alt: #e8f5e9;
  --color-text: #2d3a2e;
  --color-text-light: #5a6b5c;
  --color-white: #ffffff;
  --color-border: #c8e6c9;
  --shadow-sm: 0 2px 4px rgba(74, 124, 89, 0.1);
  --shadow-md: 0 4px 12px rgba(74, 124, 89, 0.15);
  --shadow-lg: 0 8px 24px rgba(74, 124, 89, 0.2);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo svg {
  width: 40px;
  height: 40px;
}

/* Desktop Navigation */
.nav {
  display: none;
}

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

.nav-link {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  transition: right var(--transition);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-primary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

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

.section-subtitle {
  color: var(--color-text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--color-primary);
}

.feature-card h3 {
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-item {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
}

.service-item h3 {
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

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

.service-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-border);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary-dark);
  padding-left: 2rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-text-light);
  padding-left: 2rem;
}

/* About Page */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text h2 {
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
}

.value-content h4 {
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

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

/* Contact Page */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

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

.contact-item a {
  word-break: break-all;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 6rem 0;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

.thank-you-icon svg {
  width: 100%;
  height: 100%;
}

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

.thank-you p {
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* Legal Pages */
.legal-content {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.legal-content h1 {
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.legal-content .last-updated {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

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

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

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

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

/* Footer */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--color-white);
  opacity: 0.8;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-white);
}

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

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-banner h3 {
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.cookie-banner p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

.cookie-buttons .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1rem;
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background-color: var(--color-white);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

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

.cookie-modal-header h3 {
  color: var(--color-primary-dark);
  font-size: 1.25rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--color-text);
}

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

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

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-option-header h4 {
  color: var(--color-primary-dark);
  font-size: 1rem;
}

.cookie-option p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Toggle Switch */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-border);
  transition: var(--transition);
  border-radius: 26px;
}

.toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  transition: var(--transition);
  border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
  background-color: var(--color-primary);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  z-index: 10001;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Media Queries */
@media (min-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .hero {
    padding: 6rem 0;
  }

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

  .section {
    padding: 5rem 0;
  }

  .features {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card {
    flex: 1 1 calc(50% - 1rem);
  }

  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-item {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial-card {
    flex: 1 1 calc(50% - 1rem);
  }

  .contact-info {
    flex-direction: row;
  }

  .contact-card {
    flex: 1;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-section {
    flex: 1;
  }

  .cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .cookie-banner-content > div:first-child {
    flex: 1;
  }

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

  .cookie-buttons {
    flex-wrap: nowrap;
  }
}

@media (min-width: 992px) {
  .feature-card {
    flex: 1 1 calc(33.333% - 1.334rem);
  }

  .service-item {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .legal-content {
    padding: 3rem;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}