/* Base */
:root {
  --ink: #1f2a2f;
  --muted: #5a6b74;
  --accent: #b06a52;
  --accent-2: #3c5f73;
  --bg: #f6f1ec;
  --paper: #ffffff;
  --sand: #efe7de;
  --line: #e2d7cc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: var(--ink);
  color: #f7f4f1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent-2);
  margin-bottom: 8px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.section.dark p {
  color: #d8d0c8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--paper);
  background: var(--accent);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.btn.ghost {
  border-color: #f7f4f1;
  color: #f7f4f1;
  background: transparent;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

/* Header */
header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  font-size: 0.9rem;
  color: var(--muted);
}

nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 18px;
}

nav a {
  padding: 8px 0;
  color: var(--muted);
  font-weight: 600;
}

nav.open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.hero-card {
  background: var(--paper);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Cards and grids */
.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.highlight {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(176, 106, 82, 0.12);
}

.icon-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon {
  width: 40px;
  height: 40px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  background: var(--paper);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stat strong {
  font-size: 1.4rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.quote {
  background: var(--accent-2);
  color: #f3f0ec;
  padding: 24px;
  border-radius: 20px;
}

.quote p {
  color: #f3f0ec;
  font-size: 1.1rem;
}

/* Services */
.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  gap: 8px;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 14px 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 14px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 32px 0 70px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Cookie banner + modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  width: min(520px, 92%);
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 60;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 47, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 16px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-dialog {
  background: var(--paper);
  border-radius: 20px;
  padding: 20px;
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-pref {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toggle {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: transparent;
  cursor: pointer;
}

/* Media */
@media (min-width: 768px) {
  nav {
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .cards,
  .service-grid,
  .comparison,
  .stats,
  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .service-card,
  .feature,
  .stat {
    flex: 1 1 calc(50% - 12px);
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .card,
  .service-card,
  .feature,
  .stat {
    flex: 1 1 calc(33.333% - 12px);
  }
}
