/* Base */
:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5b6b7a;
  --brand: #d97706;
  --brand-dark: #b45309;
  --accent: #0f766e;
  --border: #e6e2da;
  --shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, 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;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  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;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.menu-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  padding: 8px 4px;
}

.mobile-menu.open {
  display: flex;
}

/* Hero */
.hero {
  padding: 48px 0 32px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 20px;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-actions {
  margin-top: 20px;
}

.modal-actions {
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: #fff;
  border-color: var(--border);
}

/* Sections */
section {
  padding: 32px 0;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 24px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Services */
.service-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
}

.testimonial p {
  margin: 0 0 12px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 32px 0;
  margin-top: 24px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.95rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}

.cookie-banner.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 16px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-dialog {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  width: min(540px, 100%);
  border: 1px solid var(--border);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.switch-row:last-child {
  border-bottom: none;
}

.switch {
  border: 1px solid var(--border);
  background: #f9fafb;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

.switch.active {
  background: rgba(15, 118, 110, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* Layout adjustments */
@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero-grid {
    flex-direction: row;
  }

  .button-row {
    flex-direction: row;
    align-items: center;
  }

  .cards {
    flex-direction: row;
  }

  .cards .card {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    align-items: center;
  }
}
