/* Base */
:root {
  --bg: #f8f4ef;
  --surface: #ffffff;
  --accent: #c3472c;
  --accent-dark: #8f341f;
  --text: #2a1f1a;
  --muted: #6b5d55;
  --line: #e6d9cf;
  --highlight: #f2e4d6;
  --success: #2f7d5a;
  --shadow: 0 8px 30px rgba(20, 12, 8, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--surface);
}

.section.highlight {
  background: var(--highlight);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 2.4rem;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.9rem;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  position: absolute;
  inset: 72px 20px auto 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--highlight);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 6px;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  border-color: var(--text);
  color: var(--text);
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 760px) {
  .grid.two {
    flex-direction: row;
  }

  .grid.three {
    flex-direction: row;
  }

  .grid.two > * {
    flex: 1;
  }

  .grid.three > * {
    flex: 1;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: var(--accent);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  padding: 18px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 4px solid var(--accent);
}

.stat strong {
  font-size: 1.6rem;
  color: var(--text);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.quote {
  font-size: 1.25rem;
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--highlight);
  color: var(--text);
  font-size: 0.9rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison .row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

@media (min-width: 760px) {
  .comparison .row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Services */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
}

.service-card span {
  font-weight: 600;
  color: var(--accent-dark);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: none;
  background: transparent;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  padding: 0 16px 16px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question {
  color: var(--accent-dark);
}

/* Testimonials */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #fff;
  padding: 40px 0;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 760px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: none;
  z-index: 50;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal .panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow);
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--highlight);
}

.toggle button {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
}

.toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
