* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --text: #1f2a24;
  --muted: #5a6b60;
  --brand: #2d6a4f;
  --accent: #b08968;
  --light: #ffffff;
  --shadow: 0 10px 30px rgba(31, 42, 36, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

header {
  position: sticky;
  top: 0;
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31, 42, 36, 0.08);
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-weight: 500;
  color: var(--muted);
}

.menu-toggle {
  border: 1px solid rgba(31, 42, 36, 0.2);
  background: var(--light);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle:focus-visible,
.btn:focus-visible,
.chip:focus-visible,
.cookie-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 auto auto;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--light);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-weight: 600;
  color: var(--text);
}

.mobile-menu .menu-close {
  align-self: flex-end;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  padding: 3rem 0 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--light);
  padding: 1.75rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card p {
  color: var(--muted);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.1), rgba(176, 137, 104, 0.15));
  border-radius: 20px;
  padding: 1.5rem;
}

.section {
  padding: 2.5rem 0;
}

.section h2 {
  margin: 0;
  font-size: 1.75rem;
}

.section p {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card .price {
  font-weight: 700;
  color: var(--brand);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  border: 1px solid rgba(31, 42, 36, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: var(--light);
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(31, 42, 36, 0.25);
  color: var(--text);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--light);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial-card span {
  font-weight: 600;
  color: var(--brand);
}

footer {
  background: #e8e2d8;
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 92%);
  background: var(--light);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 1.25rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 40;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-button {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: var(--light);
  font-weight: 600;
  cursor: pointer;
}

.cookie-button.secondary {
  background: transparent;
  border: 1px solid rgba(31, 42, 36, 0.25);
  color: var(--text);
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 35;
}

.cookie-overlay.show {
  display: block;
}

.cookie-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: var(--light);
  box-shadow: var(--shadow);
  border-radius: 20px;
  width: min(520px, 92%);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 40;
}

.cookie-modal.show {
  display: flex;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(31, 42, 36, 0.1);
  border-radius: 12px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--light);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card,
  .hero-visual {
    flex: 1;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid .card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
