/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #123222;
  background: #f5faf6;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #0f5c3a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 999;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* Header & Navigation */
.site-header {
  background: #e7f3ea;
  border-bottom: 1px solid #c9e0d0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #0f5c3a;
}

.menu-toggle {
  background: #0f5c3a;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #e7f3ea;
  border-bottom: 1px solid #c9e0d0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-nav a {
  font-weight: 600;
  color: #123222;
}

/* Hero */
.hero {
  padding: 56px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(18, 50, 34, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d6eddd;
  color: #0f5c3a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #0f5c3a;
  background: #0f5c3a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: #0f5c3a;
}

/* Sections */
section {
  padding: 36px 0;
}

.section-title {
  margin: 0 0 16px;
  font-size: 1.6rem;
  color: #0f5c3a;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 18px rgba(18, 50, 34, 0.06);
}

.price {
  font-weight: 700;
  color: #0f5c3a;
}

/* Testimonials */
.testimonials {
  background: #eaf6ee;
  border-radius: 20px;
  padding: 24px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-left: 3px solid #0f5c3a;
  background: #ffffff;
  border-radius: 12px;
}

/* Contact */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.contact-item {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(18, 50, 34, 0.05);
}

/* Footer */
footer {
  background: #0f5c3a;
  color: #fff;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92vw);
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(18, 50, 34, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2000;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 92, 58, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 2100;
}

.cookie-modal[hidden],
.cookie-banner[hidden] {
  display: none;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  width: min(700px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f2f8f4;
  border-radius: 12px;
  padding: 12px 16px;
}

.cookie-toggle button {
  border: 1px solid #0f5c3a;
  background: transparent;
  color: #0f5c3a;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-toggle button[aria-pressed="true"] {
  background: #0f5c3a;
  color: #ffffff;
}

/* Responsive */
@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 0;
    background: transparent;
    border: none;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 18px;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33% - 16px);
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
