*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --bg-alt: #ffffff;
  --text: #1f2424;
  --muted: #5b6363;
  --brand: #2e6f5f;
  --brand-dark: #1f4b40;
  --accent: #f0b45c;
  --border: #d8d6d0;
  --shadow: 0 14px 40px rgba(31, 36, 36, 0.08);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, 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;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
  font-weight: 600;
}

.nav-links a {
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
  border-color: var(--accent);
}

.mobile-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(280px, 80%);
  height: 100vh;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.2rem;
  transform: translateX(110%);
  transition: transform 0.3s ease;
  z-index: 40;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-weight: 600;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 36, 36, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-card {
  background: var(--bg-alt);
  padding: 2.2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.eyebrow {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-size: 0.85rem;
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary {
  border: 2px solid var(--brand);
  color: var(--brand);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.feature-list,
.card-list,
.stats-list,
.faq-list,
.testimonial-list,
.service-list,
.insight-grid,
.comparison-grid,
.values-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card,
.service-card,
.feature-card,
.testimonial-card,
.comparison-card,
.faq-item,
.value-card,
.insight-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
}

.card.alt {
  background: #f3efe7;
}

.stat-card {
  background: var(--brand-dark);
  color: #fff;
  border-radius: 18px;
  padding: 1.6rem;
}

.stat-card span {
  font-size: 2rem;
  font-weight: 700;
}

.service-card h3,
.feature-card h3,
.value-card h3,
.insight-card h3,
.comparison-card h3 {
  margin-top: 0;
}

.service-price {
  font-weight: 700;
  color: var(--brand);
  margin-top: 0.8rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  background: var(--accent);
  color: #1f2424;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-block {
  background: var(--brand);
  color: #fff;
  border-radius: 26px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-block span {
  font-weight: 700;
  color: #f9e6c8;
}

.faq-item button {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  font-weight: 600;
  text-align: left;
}

.faq-answer {
  margin-top: 0.8rem;
  color: var(--muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.cta-panel {
  background: #1f2424;
  color: #fff;
  padding: 2.6rem;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow);
}

.cta-panel .btn-secondary {
  border-color: #fff;
  color: #fff;
}

.site-footer {
  background: #1a1f1f;
  color: #e4e7e7;
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  background: #1f2424;
  color: #fff;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
}

.cookie-banner.active {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cookie-actions .btn {
  border-radius: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(31, 36, 36, 0.6);
  z-index: 60;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--bg-alt);
  border-radius: 22px;
  padding: 2rem;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cookie-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #f2f3f2;
}

.cookie-toggle button {
  background: var(--brand);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.cookie-toggle button[aria-pressed="false"] {
  background: #c7c7c7;
  color: #1f2424;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-block {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
}

@media (min-width: 840px) {
  .nav-links {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: stretch;
  }

  .feature-list,
  .card-list,
  .stats-list,
  .testimonial-list,
  .service-list,
  .insight-grid,
  .comparison-grid,
  .values-grid,
  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card,
  .service-card,
  .testimonial-card,
  .comparison-card,
  .value-card,
  .insight-card,
  .info-block {
    flex: 1 1 calc(50% - 1.5rem);
  }

  .stat-card {
    flex: 1 1 calc(33% - 1.5rem);
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
