/* Base */
:root {
  --bg: #f7f3ef;
  --surface: #ffffff;
  --text: #2b2f36;
  --muted: #5a6472;
  --accent: #7b1d2a;
  --accent-2: #caa46b;
  --border: #e3dbd3;
  --shadow: 0 8px 24px rgba(43, 47, 54, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.nav-links {
  display: none;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.btn:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(43, 47, 54, 0.5);
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 30;
}

.mobile-menu-panel {
  width: 80%;
  max-width: 320px;
  background: var(--surface);
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.mobile-menu a {
  color: var(--text);
  font-size: 1.05rem;
}

.menu-open .mobile-menu {
  display: flex;
}

/* Hero */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 48px 0;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0;
  color: var(--accent);
}

.hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  background: rgba(202, 164, 107, 0.2);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: italic;
}

.testimonial strong {
  font-style: normal;
}

/* Pricing */
.price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-meta {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Cookie Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
  box-shadow: var(--shadow);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(43, 47, 54, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 20px;
  width: 92%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-row label {
  font-weight: 600;
}

.toggle-row small {
  color: var(--muted);
}

/* Utility */
.spaced {
  margin-top: 18px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section-highlight {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Desktop */
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text {
    flex: 1.1;
  }

  .hero-card {
    flex: 0.9;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid .card {
    flex: 1 1 calc(33% - 12px);
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}
