*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f6f8f6;
  --surface: #ffffff;
  --surface-alt: #eef2ef;
  --text: #1a2520;
  --muted: #4e5d57;
  --accent: #1f6a4f;
  --accent-dark: #124735;
  --highlight: #c8e4d2;
  --border: #d6dfdb;
  --shadow: 0 18px 40px rgba(16, 26, 22, 0.08);
}

body {
  margin: 0;
  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%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 4rem;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3rem 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section.card {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  width: min(1100px, 92%);
  padding: 2.5rem;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: var(--highlight);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: absolute;
  right: 4%;
  top: 4.2rem;
  min-width: 220px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.mobile-toggle {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 999px;
}

.nav-links.open {
  display: flex;
}

@media (min-width: 860px) {
  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 1.5rem;
  }

  .mobile-toggle {
    display: none;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-panel {
  background: var(--surface);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-list,
.card-list,
.stats,
.process,
.testimonial-grid,
.faq-grid,
.comparison,
.insights,
.industries,
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.card.highlight {
  background: var(--highlight);
  border-color: transparent;
}

.card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.stats .card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.quote {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.testimonial {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 18px;
  border-left: 4px solid var(--accent);
}

.testimonial p {
  margin-bottom: 0.75rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  padding: 0.4rem 0.8rem;
  background: var(--surface);
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  color: var(--muted);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: var(--surface);
}

.faq-question {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}

.faq-answer {
  margin-top: 0.75rem;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.cta-panel {
  background: var(--accent);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-panel p {
  color: #e9f4ee;
}

.service-price {
  font-weight: 700;
  color: var(--accent-dark);
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--surface);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.comparison-row strong {
  color: var(--accent-dark);
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92%);
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
  border: 1px solid var(--border);
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 24, 20, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 60;
}

.cookie-modal.show {
  display: flex;
}

.modal-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  width: min(640px, 96%);
  box-shadow: var(--shadow);
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.toggle-button {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--accent-dark);
}

.toggle-button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

@media (min-width: 860px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-grid {
    flex-direction: row;
  }

  .feature-list,
  .card-list,
  .stats,
  .process,
  .testimonial-grid,
  .faq-grid,
  .comparison,
  .insights,
  .industries,
  .team-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-list .card,
  .card-list .card,
  .process .card,
  .testimonial-grid .testimonial,
  .faq-grid .faq-item,
  .insights .card,
  .industries .card,
  .team-grid .card {
    flex: 1 1 calc(50% - 1rem);
  }

  .stats .card {
    flex: 1 1 calc(33% - 1rem);
  }

  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
