/* Base */
:root {
  --ink: #1f2a2e;
  --muted: #5b6b70;
  --accent: #2b7a78;
  --accent-dark: #1f5f5c;
  --highlight: #f4f0e8;
  --surface: #ffffff;
  --soft: #eef4f4;
  --line: #d9e2e2;
  --warning: #a8561c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--soft);
}

.section.highlight {
  background: var(--highlight);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

.title {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.subtitle {
  color: var(--muted);
  max-width: 46rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: background 0.2s ease, border 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.faq-toggle:focus-visible,
.chip:focus-visible,
.cookie-action:focus-visible {
  outline: 3px solid rgba(43, 122, 120, 0.35);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
}

.nav {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 1rem;
  position: absolute;
  right: 4%;
  top: 70px;
  width: min(260px, 90vw);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.nav.open {
  display: flex;
}

.nav a {
  color: var(--ink);
  font-weight: 600;
}

.nav-toggle {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (min-width: 860px) {
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1.4rem;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    width: auto;
  }

  .nav-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--soft);
  border-radius: 1.5rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-content,
  .hero-card {
    flex: 1;
  }
}

/* Layout helpers */
.flex-row {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

@media (min-width: 860px) {
  .flex-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.card {
  background: #fff;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.card.soft {
  background: var(--soft);
}

.card.highlight {
  background: var(--highlight);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(43, 122, 120, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 700px) {
  .stat-grid {
    flex-direction: row;
  }
}

.stat {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.stat .value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--accent-dark);
}

/* Service cards */
.service-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@media (min-width: 860px) {
  .service-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(33.333% - 1.2rem);
  }
}

.service-card .price {
  font-weight: 700;
  color: var(--accent-dark);
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 860px) {
  .comparison {
    flex-direction: row;
  }
}

.comparison .card {
  flex: 1;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.faq-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.faq-panel {
  padding: 0 1.2rem 1rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-panel {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: #fff;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  z-index: 100;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 860px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-action {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.cookie-action.secondary {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Cookie modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 110;
  padding: 1.2rem;
}

.modal.show {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.6rem;
  width: min(560px, 95vw);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.preference-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--soft);
}

@media (min-width: 600px) {
  .preference-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.preference-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.toggle {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.toggle.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Tables */
.table {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
}

@media (min-width: 700px) {
  .table-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.table-row strong {
  color: var(--accent-dark);
}

/* Utility */
.muted {
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 1.5rem 0;
}
