*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #1f2937;
  --muted: #5f6b7a;
  --brand: #0f4c5c;
  --brand-strong: #0b3a45;
  --accent: #e09f3e;
  --accent-soft: #f7e8d0;
  --border: #e2e8f0;
  --success: #2d6a4f;
  --shadow: 0 18px 50px rgba(15, 76, 92, 0.08);
  --radius: 18px;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--brand);
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: absolute;
  top: 70px;
  right: 4%;
  min-width: 220px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
}

.nav a:hover,
.nav a:focus {
  background: var(--accent-soft);
}

.menu-open .nav {
  display: flex;
}

.hero {
  padding: 60px 0 40px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.section {
  padding: 50px 0;
}

.section.alt {
  background: var(--surface);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section p {
  color: var(--muted);
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.alt {
  background: var(--accent-soft);
  border-color: transparent;
}

.card-icon {
  width: 48px;
  height: 48px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.4rem;
  color: var(--brand);
}

.quote {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}

.quote p {
  color: #fff;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  background: var(--surface);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-content {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-content {
  display: block;
}

.site-footer {
  background: #0b3a45;
  color: #e2f0f4;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #e2f0f4;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  width: min(960px, 92%);
  display: none;
  z-index: 50;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 40, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.cookie-modal.visible {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  width: min(620px, 92%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-button {
  border: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.toggle-button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.highlight-panel {
  background: var(--accent-soft);
  padding: 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-list span {
  font-weight: 600;
  color: var(--brand);
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--brand);
}

.notice {
  background: #fff7e6;
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 10px;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    box-shadow: none;
    background: transparent;
    padding: 0;
    min-width: auto;
  }

  .hero-grid,
  .split,
  .footer-grid {
    flex-direction: row;
  }

  .hero-grid > * {
    flex: 1;
  }

  .card-row,
  .service-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .service-card,
  .testimonial,
  .comparison-item,
  .step,
  .stat {
    flex: 1 1 calc(50% - 16px);
  }

  .stat-bar {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .faq {
    max-width: 760px;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .card,
  .service-card,
  .testimonial,
  .comparison-item,
  .step {
    flex: 1 1 calc(33.333% - 16px);
  }
}
