/* Base */
* {
  box-sizing: border-box;
}

:root {
  --bg: #f8f6f1;
  --bg-alt: #ffffff;
  --ink: #1f2a2e;
  --muted: #5a6b70;
  --brand: #2b5d54;
  --brand-dark: #234b44;
  --accent: #c28b4a;
  --line: #e3ded3;
  --panel: #f0ebe0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.panel {
  background: var(--panel);
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

.btn:hover, .btn:focus {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn.secondary:hover, .btn.secondary:focus {
  background: var(--brand);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 80vw);
  height: 100vh;
  background: var(--bg-alt);
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: right 0.2s ease;
  z-index: 50;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-weight: 600;
  color: var(--ink);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 23, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 45;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Layout helpers */
.flex {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  flex: 1 1 240px;
}

.card.highlight {
  border-color: var(--brand);
  background: #f3f7f5;
}

.icon-circle {
  width: 48px;
  height: 48px;
  background: #e6efe9;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 24px;
  height: 24px;
}

.stat {
  background: var(--bg-alt);
  border-radius: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  flex: 1 1 180px;
}

.stat strong {
  font-size: 1.6rem;
  display: block;
}

.quote {
  border-left: 4px solid var(--accent);
  padding-left: 1.2rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #efe7db;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-card .price {
  font-weight: 700;
  color: var(--brand);
}

/* Testimonials */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.testimonial span {
  font-weight: 600;
}

/* Comparison table */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.comparison-row strong {
  color: var(--brand);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  overflow: hidden;
  background: var(--bg-alt);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.2rem 1rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #111a1c;
  color: #e5ebea;
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-grid a {
  color: #e5ebea;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 60;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: var(--bg-alt);
  border-radius: 1rem;
  border: 1px solid var(--line);
  padding: 1.5rem;
  width: min(560px, 92vw);
}

.modal-card .flex {
  align-items: center;
  justify-content: space-between;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 23, 0.4);
}

/* Responsive */
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }
}
