*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #1f2a44;
  background: #f7f4ee;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

header {
  background: #ffffff;
  border-bottom: 1px solid #e6e1d7;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:focus,
.nav-links a:hover {
  border-bottom-color: #e07a5f;
}

.menu-toggle {
  background: #1f2a44;
  color: #ffffff;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 68, 0.92);
  display: flex;
  flex-direction: column;
  padding: 80px 24px 24px;
  transform: translateY(-120%);
  transition: transform 0.25s ease;
  gap: 18px;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
}

.hero {
  padding: 48px 0 32px;
  background: #ffffff;
  border-bottom: 1px solid #e6e1d7;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.badge {
  align-self: flex-start;
  background: #e07a5f;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  border: 2px solid #1f2a44;
  font-weight: 600;
  cursor: pointer;
}

.btn.primary {
  background: #1f2a44;
  color: #ffffff;
}

.btn.secondary {
  background: transparent;
  color: #1f2a44;
}

section {
  padding: 40px 0;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid #e6e1d7;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
}

.price {
  font-weight: 700;
  color: #e07a5f;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight {
  background: #fff6ef;
  border-left: 4px solid #e07a5f;
  padding: 16px;
  border-radius: 8px;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e6e1d7;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer {
  background: #1f2a44;
  color: #ffffff;
  padding: 32px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.footer-note {
  font-size: 0.85rem;
  opacity: 0.8;
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e6e1d7;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(31, 42, 68, 0.15);
  z-index: 20;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 68, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e6e1d7;
  border-radius: 8px;
}

.toggle-btn {
  border: 2px solid #1f2a44;
  background: transparent;
  color: #1f2a44;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.toggle-btn.active {
  background: #1f2a44;
  color: #ffffff;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 280px;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial {
    flex: 1 1 280px;
  }

  .cookie-banner {
    max-width: 520px;
  }
}
