* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f8f5f1;
  --text: #1f1d1a;
  --muted: #5f5a52;
  --brand: #9e3b2f;
  --brand-dark: #6f2a22;
  --accent: #1d3b4f;
  --soft: #efe7dd;
  --panel: #ffffff;
  --border: #e2d7cb;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
}

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--brand-dark);
}

.nav-toggle {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.nav {
  position: relative;
}

.nav-menu {
  display: none;
  list-style: none;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  position: absolute;
  right: 0;
  top: 52px;
  min-width: 200px;
}

.nav-menu a {
  font-weight: 600;
  color: var(--accent);
}

.nav-open .nav-menu {
  display: flex;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(31, 29, 26, 0.4);
  z-index: 40;
}

.nav-open .nav-overlay {
  display: block;
}

.hero {
  background: linear-gradient(135deg, #f7efe6 0%, #ffffff 65%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  font-size: 2.4rem;
  color: var(--brand-dark);
}

.hero p {
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.card-grid,
.icon-grid,
.stats-grid,
.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.card,
.icon-card,
.stat,
.testimonial,
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.muted {
  color: var(--muted);
}

.highlight {
  background: var(--soft);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats-grid .stat strong {
  font-size: 1.6rem;
  color: var(--brand-dark);
}

.quote {
  font-size: 1.2rem;
  color: var(--accent);
  font-style: italic;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.list li::before {
  content: "•";
  color: var(--brand);
  margin-right: 8px;
}

.services-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.services-row strong {
  color: var(--accent);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 16px 16px;
  color: var(--muted);
}

.cta {
  background: var(--accent);
  color: #fff;
}

.cta .button.secondary {
  border-color: #fff;
  color: #fff;
}

.site-footer {
  background: #1a1a1a;
  color: #f1ede8;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 60;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  align-items: center;
  justify-content: center;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 29, 26, 0.45);
}

.cookie-modal .modal-content {
  position: relative;
  background: var(--panel);
  border-radius: 16px;
  padding: 24px;
  width: min(560px, 92%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}

.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-preferences label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 12px;
  background: var(--soft);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
    min-width: auto;
  }

  .hero-inner,
  .split {
    flex-direction: row;
    align-items: center;
  }

  .hero-inner > * {
    flex: 1;
  }

  .card-grid,
  .icon-grid,
  .stats-grid,
  .testimonial-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .icon-card,
  .stat,
  .testimonial,
  .panel {
    flex: 1 1 calc(33.333% - 12px);
  }

  .services-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
