/* Base */
:root {
  --bg: #f7f5f2;
  --panel: #ffffff;
  --text: #1f2430;
  --muted: #5b6475;
  --brand: #1f6f5c;
  --brand-dark: #164b3e;
  --accent: #c29d4b;
  --border: #e2ded8;
  --shadow: 0 12px 30px rgba(31, 36, 48, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, 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;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: #f0eee9;
}

.section.dark {
  background: var(--brand-dark);
  color: #f5f4f1;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn.light {
  background: #fff;
  color: var(--brand-dark);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
}

.btn.secondary:hover {
  background: var(--brand);
  color: #fff;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(247, 245, 242, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: var(--panel);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.mobile-menu.open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--panel);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-illustration {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-illustration svg {
  width: 120px;
}

/* Layout blocks */
.flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--panel);
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(31, 36, 48, 0.06);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--panel);
  border-radius: 16px;
  padding: 1.4rem;
  border-left: 4px solid var(--accent);
}

.stat strong {
  font-size: 1.8rem;
  display: block;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--panel);
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.feature svg {
  width: 42px;
}

.testimonial {
  background: #fff;
  padding: 1.6rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.testimonial p {
  color: var(--text);
}

.cta-panel {
  background: linear-gradient(120deg, #1f6f5c, #2f8a6f);
  color: #fff;
  padding: 2.4rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Service cards */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-card {
  background: var(--panel);
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price-tag {
  font-weight: 700;
  color: var(--brand);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid var(--border);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  background: none;
  border: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.95rem;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 24, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 40;
  padding: 1.5rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Responsive */
@media (min-width: 820px) {
  .nav-links {
    gap: 2rem;
  }

  .mobile-menu {
    display: none !important;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .flex {
    flex-direction: row;
  }

  .stats {
    flex-direction: row;
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 1 280px;
  }

  .services-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 280px;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1 1 240px;
  }

  .contact-grid {
    flex-direction: row;
  }

  .footer-links {
    flex-direction: row;
    gap: 1.5rem;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}
