* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --ink: #1f1f1d;
  --muted: #57534e;
  --accent: #a14d35;
  --accent-dark: #6f3224;
  --panel: #ffffff;
  --sand: #efe6d9;
  --sage: #d8e2d2;
  --gold: #d3a45f;
  --border: #e2d8cc;
  --shadow: 0 10px 30px rgba(31, 31, 29, 0.08);
}

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%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand span {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: absolute;
  right: 4%;
  top: 70px;
  width: min(240px, 90%);
  box-shadow: var(--shadow);
}

.nav-menu a {
  font-weight: 600;
}

.nav-menu.is-open {
  display: flex;
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
}

main {
  padding: 36px 0 60px;
}

.section {
  padding: 36px 0;
}

.section.alt {
  background: var(--panel);
}

.section.sand {
  background: var(--sand);
}

.hero {
  padding: 40px 0 20px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 12px;
}

.hero p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 620px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  font-weight: 600;
  gap: 8px;
}

.button.outline {
  background: transparent;
  color: var(--accent);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.sage {
  background: var(--sage);
}

.card.sand {
  background: var(--sand);
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.3rem;
}

.quote {
  background: var(--accent);
  color: #fff;
  padding: 26px;
  border-radius: 20px;
}

.quote p {
  margin: 0;
  font-size: 1.05rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--sand);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.process {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-step {
  display: flex;
  gap: 12px;
  background: var(--panel);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--border);
}

.process-step span {
  font-weight: 700;
  color: var(--accent);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
}

.testimonial strong {
  display: block;
  margin-top: 10px;
}

.insight {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  padding: 14px 16px;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  font-weight: 600;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  margin: 12px 0 0;
  color: var(--muted);
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .chevron {
  transform: rotate(180deg);
}

.chevron {
  transition: transform 0.2s ease;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.compare {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  width: min(520px, 92%);
  box-shadow: var(--shadow);
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.banner.is-visible {
  display: flex;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 31, 29, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 16px;
}

.modal.is-visible {
  display: flex;
}

.modal-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 22px;
  width: min(560px, 94%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toggle-button {
  border: 1px solid var(--border);
  background: var(--sand);
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toggle-button[aria-pressed="true"] {
  background: var(--sage);
  border-color: var(--accent);
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-block {
  background: var(--panel);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
}

.address {
  font-style: normal;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-links {
    display: flex;
  }

  .hero .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .cards {
    flex-direction: row;
  }

  .cards .card {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }

  .service-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 16px);
  }

  .compare {
    flex-direction: row;
  }

  .compare-row {
    flex: 1;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .service-card {
    flex: 1 1 calc(33% - 16px);
  }
}
