:root {
  color-scheme: light;
  --bg: #f6f2ec;
  --bg-alt: #ffffff;
  --ink: #1f2a36;
  --muted: #5a6774;
  --brand: #2f4d6f;
  --brand-dark: #233a52;
  --accent: #c27b3a;
  --line: #e2d7c9;
  --success: #2e7d5c;
  --shadow: 0 10px 30px rgba(24, 35, 44, 0.12);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.soft {
  background: #efe7dd;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(47, 77, 111, 0.12);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--brand-dark);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--brand);
}

.btn.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  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.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

.site-nav {
  position: relative;
}

.nav-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
  box-shadow: var(--shadow);
}

.nav-menu a {
  font-weight: 600;
  color: var(--brand-dark);
}

.nav-menu.is-open {
  display: flex;
}

.nav-cta {
  display: none;
}

.hero {
  padding: 4rem 0 2rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #f1ece4;
}

.stat strong {
  font-size: 1.4rem;
  color: var(--brand-dark);
}

.card-grid,
.service-grid,
.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card,
.service-card,
.testimonial {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-card .price {
  font-weight: 700;
  color: var(--brand-dark);
}

.feature-list,
.values-list,
.insight-list,
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fefbf7;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--line);
}

.feature svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.split .panel {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--line);
}

.quote {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote p {
  color: rgba(255, 255, 255, 0.88);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.step span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-alt);
}

.faq-item button {
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  border: none;
  background: transparent;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-item button span {
  font-weight: 700;
  color: var(--brand);
}

.faq-panel {
  padding: 0 1.25rem 1rem;
  display: none;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.site-footer {
  background: #1e2731;
  color: #f5f0e9;
  padding: 3rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #f5f0e9;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 30;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 35, 43, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 40;
}

.modal.is-open {
  display: flex;
}

.modal-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.toggle-item input {
  width: 20px;
  height: 20px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--line);
}

.comparison-row strong {
  color: var(--brand-dark);
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.address {
  font-style: normal;
  color: var(--muted);
}

@media (min-width: 820px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hero-inner {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1.2;
  }

  .hero-stats {
    flex: 1;
  }

  .card-grid,
  .service-grid,
  .testimonial-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .service-card,
  .testimonial {
    flex: 1 1 calc(33% - 1rem);
  }

  .split {
    flex-direction: row;
  }

  .split .panel {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .comparison-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
