/* Base */
:root {
  --bg: #f7f7f4;
  --text: #1a1f1c;
  --muted: #5b6b61;
  --primary: #1e5c4a;
  --primary-dark: #164436;
  --accent: #d39b2d;
  --light: #ffffff;
  --border: #e2e6e1;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 40px 0;
}

.section--alt {
  background: var(--light);
}

.section--highlight {
  background: #eef2ee;
}

.section__title {
  font-size: 28px;
  margin: 0 0 12px;
}

.section__subtitle {
  color: var(--muted);
  margin: 0 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eaf1ee;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.btn:hover,
.btn:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: #eaf1ee;
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #2b2110;
}

.btn--accent:hover,
.btn--accent:focus {
  background: #c38c20;
  border-color: #c38c20;
}

/* Header and navigation */
.site-header {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

.brand__mark {
  width: 28px;
  height: 28px;
}

.nav__links {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  position: absolute;
  top: 60px;
  right: 20px;
  box-shadow: var(--shadow);
}

.nav__links.is-open {
  display: flex;
}

.nav__link {
  font-weight: 600;
  color: var(--text);
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.nav__toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__title {
  font-size: 34px;
  margin: 8px 0 12px;
}

.hero__copy {
  color: var(--muted);
  margin: 0 0 20px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__panel {
  background: var(--light);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Cards and lists */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--light);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__title {
  font-weight: 700;
  margin: 0;
}

.card__meta {
  color: var(--muted);
  font-size: 14px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature__icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 10px;
  background: #eaf1ee;
  color: var(--primary);
  flex: 0 0 auto;
}

.highlight-panel {
  background: var(--primary);
  color: #fefefe;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-panel .btn {
  align-self: flex-start;
}

.stat-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
}

.quote {
  font-size: 20px;
  font-style: italic;
  margin: 0;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: #fff8e8;
  border-radius: 8px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--light);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--border);
}

.comparison__label {
  font-weight: 700;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 12px;
  background: #eaf1ee;
  border-radius: 999px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--light);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 14px 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq__answer {
  padding: 0 16px 14px;
  display: none;
  color: var(--muted);
}

.faq__item.is-open .faq__answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #141a17;
  color: #e7ece9;
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #e7ece9;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--light);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal__content {
  background: var(--light);
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f9faf8;
}

.toggle {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.toggle[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Contact blocks */
.info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--light);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

/* Responsive */
@media (min-width: 768px) {
  .nav__links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .nav__toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero__actions {
    flex-direction: row;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33% - 16px);
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 1 calc(50% - 12px);
  }

  .stat-bar {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 auto;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison__row {
    flex: 1 1 0;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
