/* Base */
:root {
  --bg: #f8f4f0;
  --surface: #ffffff;
  --ink: #2b2a28;
  --muted: #6a645d;
  --brand: #d9897b;
  --brand-dark: #b66b61;
  --accent: #5b7b8a;
  --soft: #f1e7de;
  --line: #e5d9cf;
  --success: #2f7d69;
  --warning: #c27b2a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 1.25rem;
  margin: 0 auto;
}

.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: var(--soft);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.pill {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-cta {
  display: none;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
}

.mobile-menu a {
  font-weight: 600;
  color: var(--muted);
}

.mobile-menu.open {
  display: flex;
}

/* Layout blocks */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list,
.card-grid,
.stats-grid,
.testimonial-grid,
.faq-grid,
.comparison-grid,
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card,
.stat,
.testimonial,
.faq-item,
.comparison-card,
.timeline-item {
  background: var(--surface);
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card.highlight {
  background: var(--soft);
  border-color: transparent;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
}

.cta-panel {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-panel .btn {
  background: #fff;
  color: var(--ink);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Service cards */
.service-price {
  font-weight: 700;
  color: var(--accent);
}

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* FAQ */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 1rem;
  text-align: left;
  font-weight: 600;
}

.faq-answer {
  margin-top: 0.5rem;
  color: var(--muted);
}

.chevron {
  transition: transform 0.2s ease;
}

.faq-item.open .chevron {
  transform: rotate(180deg);
}

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 100;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 120;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.5rem;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  gap: 1rem;
}

/* Contact blocks */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Media queries */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .feature-list,
  .card-grid,
  .stats-grid,
  .testimonial-grid,
  .faq-grid,
  .comparison-grid,
  .timeline,
  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .testimonial,
  .faq-item,
  .comparison-card,
  .timeline-item {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
