/* Base */
:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --ink: #2b2a28;
  --muted: #6d6a66;
  --brand: #2f6d6a;
  --brand-2: #b68b4a;
  --accent: #e6d7c2;
  --line: #e4e0da;
  --success: #2e7d5a;
  --shadow: 0 12px 30px rgba(18, 20, 23, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

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;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 24px 16px 80px;
}

section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.button.light {
  background: #fff;
  color: var(--brand);
}

.button:focus-visible {
  outline: 3px solid rgba(47, 109, 106, 0.35);
  outline-offset: 3px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.grid.two {
  flex-direction: column;
}

.grid.three {
  flex-direction: column;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
}

.highlight {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(47, 109, 106, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo span {
  color: var(--brand);
}

.menu-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}

nav {
  position: relative;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: absolute;
  right: 0;
  top: 48px;
  min-width: 200px;
}

.nav-links a {
  font-weight: 600;
}

.nav-open .nav-links {
  display: flex;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(47, 109, 106, 0.12), rgba(182, 139, 74, 0.12));
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: 2.1rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Feature blocks */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
}

/* Statistics */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
}

.stat span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand);
}

/* Testimonials */
.quote {
  background: var(--brand);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote p {
  margin: 0;
  font-size: 1.1rem;
}

.quote .author {
  font-weight: 600;
  opacity: 0.9;
}

/* Services */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
}

.service-card .price {
  font-weight: 700;
  color: var(--brand);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 18px 16px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 28px 16px 40px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(34, 34, 34, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 40;
}

.cookie-modal.show {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.toggle-row button {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.toggle-row button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Media */
@media (min-width: 720px) {
  main {
    padding: 40px 28px 100px;
  }

  .nav-bar {
    padding: 20px 28px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    box-shadow: none;
    gap: 20px;
  }

  .hero {
    padding: 42px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: row;
  }

  .grid.two {
    flex-direction: row;
  }

  .grid.three {
    flex-direction: row;
  }

  .grid.two > * {
    flex: 1;
  }

  .grid.three > * {
    flex: 1;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .cookie-actions {
    flex-direction: row;
    align-items: center;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
