/* Base */
:root {
  --bg: #ffffff;
  --text: #1b1b1b;
  --muted: #5c5c5c;
  --brand: #1f7a5b;
  --brand-dark: #145c44;
  --accent: #f2c94c;
  --border: #e6e6e6;
  --card: #f8f8f8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  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%;
  display: block;
}

.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 1120px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10;
}

.skip-link:focus {
  top: 20px;
}

/* Header and Navigation */
header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.3px;
}

.brand span {
  color: var(--brand);
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav-links {
  display: none;
}

.menu-panel {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.menu-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel .panel {
  background: #fff;
  height: 100%;
  width: 80%;
  max-width: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}

.menu-panel a {
  font-weight: 600;
  color: var(--text);
}

/* Hero */
.hero {
  padding: 48px 0 32px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.2;
}

.hero-card {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: 32px 0;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 20px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--brand-dark);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button.ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: #fff;
  border-left: 4px solid var(--brand);
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.testimonial cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  background: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.footer-note {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.95rem;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal-backdrop.show {
  display: flex;
}

.modal {
  background: #fff;
  width: min(520px, 92%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border-radius: 10px;
  padding: 10px 12px;
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 16px;
    font-weight: 600;
  }

  .menu-toggle {
    display: none;
  }

  .menu-panel {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .split {
    flex-direction: row;
    align-items: stretch;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 240px;
  }

  .cookie-actions,
  .modal-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}
