* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --ink: #1d1d1f;
  --muted: #5a5f66;
  --brand: #1b6a5c;
  --brand-dark: #124b41;
  --accent: #e3b23c;
  --card: #ffffff;
  --border: #e6e1d9;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-links {
  position: absolute;
  top: 62px;
  right: 4%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--bg);
}

.nav-open .nav-links {
  display: flex;
}

.section {
  padding: 52px 0;
}

.section-alt {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-hero {
  padding: 60px 0 40px;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.flex {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.card-highlight {
  background: #f3efe7;
  border-color: #e0d8cb;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f6f4;
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
}

.btn-light {
  background: #fff6dc;
  border-color: #e9cd8f;
  color: #7b5a15;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e9f2f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote {
  font-size: 1.05rem;
  font-style: italic;
}

.services-grid,
.team-grid,
.faq-grid,
.case-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-price {
  font-weight: 700;
  color: var(--brand-dark);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: #f2f5f4;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.faq-answer {
  padding: 0 16px 14px;
  color: var(--muted);
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.cta {
  background: var(--brand-dark);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
}

.cta .btn {
  border-color: #fff;
  background: #fff;
  color: var(--brand-dark);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: #f2efe9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 0;
  z-index: 20;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: min(520px, 92%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8f5f0;
}

.cookie-toggle button {
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
}

.cookie-toggle button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    min-width: auto;
  }

  .flex-row {
    flex-direction: row;
  }

  .stats {
    flex-direction: row;
  }

  .services-grid,
  .team-grid,
  .faq-grid,
  .case-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .services-grid .card,
  .team-grid .card,
  .case-grid .card,
  .faq-grid .faq-item {
    flex: 1 1 calc(50% - 18px);
  }

  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
