*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-alt: #f0f4f4;
  --text: #1c2224;
  --muted: #5a6469;
  --brand: #1f6b74;
  --brand-dark: #174d53;
  --accent: #d07c2b;
  --border: #d6dde0;
  --shadow: 0 12px 30px rgba(18, 32, 36, 0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.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;
  min-height: 72px;
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--brand-dark);
}

.nav-menu {
  position: absolute;
  top: 72px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-menu a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: var(--surface-alt);
}

.nav-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  padding: 64px 0 48px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  margin: 0;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

.btn.tertiary {
  background: var(--accent);
  border-color: var(--accent);
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 720px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card strong {
  color: var(--brand-dark);
}

.icon-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
}

.stat h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: var(--brand-dark);
}

.quote-block {
  background: var(--brand-dark);
  color: #fff;
  padding: 28px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-block span {
  color: #dce7e8;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight-panel {
  background: var(--surface);
  border-radius: 18px;
  border-left: 4px solid var(--accent);
  padding: 20px;
  box-shadow: var(--shadow);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
}

.comparison-row strong {
  color: var(--brand-dark);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  background: none;
  border: none;
  padding: 16px 18px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-size: 0.95rem;
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 20, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 20px;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal h3 {
  margin: 0;
}

.modal label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.service-price {
  font-weight: 600;
  color: var(--brand-dark);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.notice {
  background: var(--surface-alt);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    flex-direction: row;
    box-shadow: none;
    border: none;
    padding: 0;
    background: transparent;
    min-width: unset;
  }

  .nav-menu a {
    padding: 6px 12px;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 280px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-block {
    flex: 1 1 240px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
