/* Base */
:root {
  --bg: #f7f3ef;
  --text: #2b2520;
  --muted: #6d6258;
  --accent: #7a3e2d;
  --accent-dark: #4f2419;
  --light: #ffffff;
  --sand: #efe6dd;
  --line: #e2d6cb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--light);
  display: inline-block;
}

/* Header */
.site-header {
  background: var(--light);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text);
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--light);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--light);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu a {
  padding: 10px 4px;
  display: block;
}

/* Layout */
main {
  padding: 32px 0 64px;
}

.section {
  padding: 32px 0;
}

.section-alt {
  background: var(--sand);
}

.section-dark {
  background: var(--accent-dark);
  color: var(--light);
}

.section h2 {
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.section p {
  margin: 0 0 12px;
  color: var(--muted);
}

.section-dark p {
  color: #f2eae3;
}

.hero {
  padding: 48px 0 36px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* Cards and blocks */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  background: var(--sand);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.highlight-panel {
  padding: 20px;
  border-radius: 16px;
  background: var(--light);
  border-left: 4px solid var(--accent);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--light);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--line);
}

.stat strong {
  font-size: 1.4rem;
  color: var(--accent-dark);
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
}

.testimonial {
  background: var(--light);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
}

.testimonial span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  background: var(--sand);
}

/* Services */
.service-price {
  font-weight: 700;
  color: var(--accent-dark);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: transparent;
  border: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 14px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: var(--light);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--accent);
  padding: 8px 0;
}

/* Footer */
.site-footer {
  background: var(--light);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--light);
  border-top: 1px solid var(--line);
  padding: 16px 0;
  z-index: 50;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(43, 37, 32, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.cookie-modal-content {
  background: var(--light);
  padding: 22px;
  border-radius: 16px;
  width: min(520px, 92%);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid .card {
    flex: 1 1 calc(50% - 16px);
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 calc(50% - 12px);
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 0;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .card {
    flex: 1 1 0;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
