/* Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f6f3ef;
  --text: #2a2624;
  --muted: #6b625c;
  --accent: #8d6b5c;
  --accent-dark: #6f5347;
  --surface: #ffffff;
  --border: #e2dbd4;
  --shadow: 0 12px 24px rgba(42, 38, 36, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  padding: 24px 0;
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: 0.2px;
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  gap: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #efe8e3;
  color: var(--accent-dark);
  font-size: 0.85rem;
}

/* Header + Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: lowercase;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.nav-links a {
  padding: 8px 0;
  font-weight: 500;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(42, 38, 36, 0.45);
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 20;
}

.mobile-menu.open {
  display: flex;
}

.mobile-panel {
  background: var(--surface);
  width: min(320px, 86vw);
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow);
}

.mobile-panel nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 12px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-visual {
  border-radius: 18px;
  background: #efe8e3;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layout blocks */
.grid-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  font-size: 1.1rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #f2ebe6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  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: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(42, 38, 36, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 40;
}

.cookie-modal.open {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  width: min(520px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child {
  border-bottom: none;
}

.switch {
  width: 46px;
  height: 26px;
  background: #d5cbc4;
  border-radius: 999px;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px;
}

.switch input {
  opacity: 0;
  position: absolute;
}

.switch span {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.switch input:checked + span {
  transform: translateX(20px);
}

/* Utilities */
.split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 840px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 18px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card,
  .hero-visual {
    flex: 1;
  }

  .grid-row {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .services-list .card {
    flex: 1;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
}
