*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f3ee;
  --surface: #ffffff;
  --ink: #1f1e1c;
  --muted: #5a5651;
  --brand: #2f5c5a;
  --brand-strong: #224544;
  --accent: #b06f41;
  --soft: #efe7dc;
  --line: #ddd2c4;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(20, 18, 16, 0.08);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem 1.25rem 4rem;
}

section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.section-soft {
  background: var(--soft);
  box-shadow: none;
}

.section-plain {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--brand-strong);
}

.brand-mark {
  width: 32px;
  height: 32px;
}

.nav-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.menu-toggle {
  align-self: flex-start;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--brand-strong);
  cursor: pointer;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-header.nav-open .nav-links {
  display: flex;
}

.nav-links a {
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--soft);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand);
  color: var(--surface);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button.secondary {
  background: transparent;
  color: var(--brand-strong);
  border-color: var(--brand-strong);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  background: var(--brand-strong);
}

.button.secondary:hover,
.button.secondary:focus {
  background: var(--brand-strong);
  color: var(--surface);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card.highlight {
  background: var(--soft);
  border: none;
}

.icon-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.icon {
  width: 36px;
  height: 36px;
  padding: 0.4rem;
  border-radius: 12px;
  background: var(--soft);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.6rem;
  gap: 0.5rem;
}

.stat-item span {
  font-weight: 700;
  color: var(--brand-strong);
}

.quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  border-left: 3px solid var(--brand);
  padding-left: 1rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--surface);
  font-size: 0.92rem;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step {
  display: flex;
  gap: 0.75rem;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--soft);
}

.testimonial span {
  font-weight: 600;
  color: var(--brand-strong);
}

.service-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--surface);
  border: none;
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1rem 0.85rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-block {
  background: var(--soft);
  border-radius: 16px;
  padding: 1rem;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--surface);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 30, 28, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 1.5rem;
}

.cookie-modal.open {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  border-radius: 18px;
  padding: 1.5rem;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.toggle-row button {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--brand-strong);
  background: transparent;
  color: var(--brand-strong);
  cursor: pointer;
}

.toggle-row button[aria-pressed="true"] {
  background: var(--brand);
  color: var(--surface);
  border-color: var(--brand);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: row;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .card-grid,
  .stats,
  .process,
  .comparison,
  .service-table,
  .contact-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat-item,
  .process-step,
  .comparison-item,
  .service-row,
  .testimonial,
  .info-block {
    flex: 1 1 260px;
  }

  .cookie-banner {
    max-width: 520px;
    right: auto;
  }
}
