/* Base */
:root {
  --bg: #f8f5f1;
  --bg-alt: #f0ece6;
  --text: #1f1d1a;
  --muted: #6d665f;
  --accent: #7a4f2a;
  --accent-dark: #5d3b20;
  --line: #d8d1c7;
  --card: #ffffff;
  --success: #2e6f4e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
}

.title {
  font-size: 32px;
  margin: 10px 0 18px;
  line-height: 1.2;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
  color: #fff;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 241, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: none;
  gap: 18px;
  font-size: 15px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 16px;
  right: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--card);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual svg {
  width: 220px;
  height: 220px;
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icon {
  width: 36px;
  height: 36px;
}

/* Features */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  padding: 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}

.stat strong {
  font-size: 28px;
  display: block;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote {
  font-style: italic;
}

/* Sections */
.split {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.panel {
  padding: 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list li {
  list-style: none;
  padding-left: 22px;
  position: relative;
}

.list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 8px;
}

/* Services */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 18px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.comparison-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  z-index: 60;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cookie modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--card);
  border-radius: 18px;
  padding: 22px;
  max-width: 520px;
  width: 100%;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.toggle:last-child {
  border-bottom: none;
}

.switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  cursor: pointer;
}

.switch::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}

.switch.active {
  background: var(--success);
}

.switch.active::after {
  transform: translateX(20px);
}

/* Contact */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card,
  .hero-visual {
    flex: 1;
  }

  .card-grid,
  .stats,
  .testimonials,
  .feature-list,
  .contact-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .testimonial,
  .feature,
  .service-card,
  .info-block {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
  }

  .panel {
    flex: 1;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .card,
  .stat,
  .testimonial,
  .service-card,
  .info-block {
    flex: 1 1 calc(33.333% - 16px);
  }
}
