*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1d2b2b;
  --muted: #516060;
  --brand: #1f5f54;
  --brand-dark: #16463e;
  --accent: #d4a84f;
  --panel: #f4f4f0;
  --panel-strong: #e7ece8;
  --white: #ffffff;
  --shadow: 0 18px 30px rgba(16, 24, 40, 0.08);
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  border-bottom: 1px solid var(--panel-strong);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.menu-toggle {
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 8px;
}

.nav-links a {
  font-weight: 600;
  color: var(--ink);
}

.nav-links.open {
  display: flex;
}

.hero {
  padding: 56px 0 40px;
  background: linear-gradient(145deg, #f7f3e8 0%, #eef4f0 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

.hero p {
  color: var(--muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button.primary {
  background: var(--brand);
  color: var(--white);
}

.button.outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

section {
  padding: 48px 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--panel-strong);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-icon {
  width: 36px;
  height: 36px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight {
  background: var(--panel);
  border-radius: 24px;
  padding: 28px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--white);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--panel-strong);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-size: 1.6rem;
}

.testimonial {
  border-left: 4px solid var(--accent);
  padding: 18px 18px 18px 24px;
  background: var(--panel);
  border-radius: 18px;
}

.quote {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--panel-strong);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  padding: 16px;
  border: none;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}

.faq-answer {
  padding: 0 16px 16px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  background: var(--panel);
  border-radius: 18px;
  padding: 18px;
}

.service-card {
  border: 1px solid var(--panel-strong);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
}

.service-card .price {
  font-weight: 700;
  color: var(--brand);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--panel-strong);
  font-size: 0.9rem;
}

.cta-panel {
  background: var(--brand-dark);
  color: var(--white);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-panel p {
  color: #dfe8e5;
  margin: 0;
}

footer {
  margin-top: auto;
  background: var(--panel-strong);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 16px;
}

.banner.open {
  display: flex;
}

.banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--panel-strong);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-button {
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
}

.toggle-button.active {
  background: var(--brand);
  color: var(--white);
}

.page-intro {
  padding: 48px 0 24px;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--panel-strong);
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}

.info-block {
  background: var(--panel);
  border-radius: 20px;
  padding: 20px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: row;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .service-card,
  .stat {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 calc(50% - 16px);
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-item {
    flex: 1 1 calc(50% - 16px);
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .banner {
    left: auto;
    width: min(420px, 100%);
  }

  .banner-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .card,
  .service-card,
  .stat {
    flex: 1 1 calc(33.333% - 16px);
  }

  .step {
    flex: 1 1 calc(33.333% - 16px);
  }
}
