/* Base */
:root {
  --bg: #f7f3ef;
  --bg-alt: #ffffff;
  --ink: #1f1d1b;
  --muted: #6b6460;
  --accent: #2e5b54;
  --accent-2: #c7a36a;
  --line: #e4ddd6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

h1,
h2,
h3 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.2;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  border-color: var(--accent-2);
  color: var(--ink);
  background: #f1e7d6;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

/* Header / Nav */
header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  font-size: 14px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.mobile-menu.open {
  display: flex;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
}

.hero-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cards and blocks */
.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2ede6;
  color: var(--muted);
  font-size: 13px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.stat strong {
  font-size: 28px;
  display: block;
  color: var(--accent);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icon {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 10px;
  background: #f1e7d6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.quote {
  background: #2e2a27;
  color: #f8f4ef;
  border-radius: 16px;
  padding: 22px;
}

.quote p {
  color: #f8f4ef;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 16px;
}

.highlight {
  background: #f0ece7;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Services */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 600;
  color: var(--accent);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  display: none;
  padding: 0 16px 14px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 36px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 14px;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.modal-backdrop.show {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  max-width: 520px;
  width: 100%;
  border: 1px solid var(--line);
}

.modal h3 {
  margin-top: 0;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.toggle-row:last-child {
  border-bottom: none;
}

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  background: #d6cec6;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 3px;
}

.switch span {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(0);
  transition: 0.2s ease;
}

.switch.active {
  background: var(--accent);
}

.switch.active span {
  transform: translateX(18px);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  .hero-wrap {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-card {
    flex: 1;
  }

  .cards,
  .stats,
  .comparison {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .comparison-item,
  .service-card {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .card,
  .stat,
  .comparison-item,
  .service-card {
    flex: 1 1 calc(33.333% - 16px);
  }

  .hero {
    padding: 80px 0 56px;
  }
}
