/* Base */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1c1c1c;
  --muted: #5b5f66;
  --brand: #1d5b4f;
  --brand-2: #f2c14e;
  --accent: #2f8f7a;
  --border: #e3e0d7;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica", "Arial", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 1.5rem 0 4rem;
}

.container {
  width: 100%;
  padding: 0 1.25rem;
  margin: 0 auto;
  max-width: 1120px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section--panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(29, 91, 79, 0.2);
}

/* Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: none;
  gap: 1rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
}

.menu-toggle {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 10px;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0 1.5rem;
}

.mobile-menu a {
  font-weight: 600;
  color: var(--muted);
}

.mobile-menu.is-open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Feature blocks */
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  border-radius: 12px;
  background: rgba(29, 91, 79, 0.1);
}

/* Statistics */
.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-item strong {
  font-size: 1.4rem;
}

/* Services */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card .price {
  font-weight: 700;
  color: var(--brand);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-card {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.25rem;
  font-style: italic;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.faq-question {
  padding: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Alternating blocks */
.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split-block {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.5rem;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1rem;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 40;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 50;
}

.modal.is-visible {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Media queries */
@media (min-width: 768px) {
  main {
    gap: 4rem;
  }

  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .feature-grid,
  .service-list,
  .testimonials,
  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card,
  .service-card,
  .quote-card,
  .stat-item {
    flex: 1 1 calc(50% - 1rem);
  }

  .split {
    flex-direction: row;
  }

  .split-block {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .cookie-banner {
    left: auto;
    right: 1.5rem;
    max-width: 420px;
  }
}

@media (min-width: 1024px) {
  .feature-card,
  .service-card,
  .quote-card,
  .stat-item {
    flex: 1 1 calc(33.333% - 1rem);
  }
}
