* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --primary: #1f6f68;
  --primary-dark: #14524d;
  --accent: #d9a441;
  --text: #1d1d1d;
  --muted: #5a5a5a;
  --border: #e3ded6;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(15, 25, 25, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--primary);
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin-top: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  display: inline-block;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  color: var(--accent);
  font-size: 1.4rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav {
  position: relative;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: absolute;
  right: 0;
  top: 52px;
  min-width: 200px;
  padding: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.nav-links.is-open {
  max-height: 360px;
  opacity: 1;
  pointer-events: auto;
}

.nav-links a {
  font-weight: 600;
}

.hero {
  background: var(--surface);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero.compact {
  padding: 56px 0;
}

.hero-text h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-card {
  background: #f0f4f1;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-illustration {
  width: 100%;
  max-width: 220px;
  display: block;
  margin: 0 auto 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.secondary {
  background: var(--accent);
  color: #1d1d1d;
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.section-head {
  margin-bottom: 24px;
}

.feature-grid,
.service-grid,
.testimonial-grid,
.case-grid,
.value-grid,
.team-grid,
.info-grid,
.comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card,
.service-card,
.testimonial,
.case,
.value-card,
.team-card,
.info-card,
.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.service-card .price {
  font-weight: 700;
  color: var(--primary);
  margin-top: 14px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}

.checklist,
.timeline,
.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 10px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.featured-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.stats-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-item {
  background: var(--surface);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.step-index {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

.testimonial {
  font-style: italic;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
}

.large-quote {
  font-size: 1.6rem;
  margin: 0 0 14px;
}

.quote-author {
  color: var(--muted);
}

.comparison-card.highlight {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.cta {
  background: var(--primary);
  color: #fff;
}

.cta .button {
  background: #fff;
  color: var(--primary);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
}

.site-footer {
  background: #141f1e;
  color: #f4f1eb;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 56px 0 32px;
}

.footer-title {
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #f4f1eb;
}

.footer-bottom {
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #101818;
  color: #f4f1eb;
  padding: 16px 0;
  z-index: 40;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(1120px, 90%);
  margin: 0 auto;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.icon-button {
  border: none;
  background: var(--bg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.pill {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
}

.toggle {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.toggle[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.legal ul {
  padding-left: 18px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    box-shadow: none;
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .split,
  .featured-inner,
  .stats-inner,
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .split > div,
  .featured-inner > div,
  .stats-inner > div,
  .cta-inner > div {
    flex: 1;
  }

  .feature-grid,
  .service-grid,
  .testimonial-grid,
  .case-grid,
  .value-grid,
  .team-grid,
  .info-grid,
  .comparison-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card,
  .service-card,
  .testimonial,
  .case,
  .value-card,
  .team-card,
  .info-card,
  .comparison-card {
    flex: 1 1 calc(50% - 20px);
  }

  .stat-list {
    flex-direction: row;
  }

  .steps {
    flex-direction: row;
  }

  .step {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .feature-card,
  .service-card,
  .testimonial,
  .case,
  .value-card,
  .team-card,
  .info-card,
  .comparison-card {
    flex: 1 1 calc(33.333% - 20px);
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }
}
