/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-primary: #54962b;
  --color-primary-light: #63a838;
  --color-accent: #f5f0e0;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f8;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --font-family: 'Inter', system-ui, sans-serif;
  --max-width: 1100px;
  --radius: 8px;
}

html { scroll-behavior: smooth; background: #389802; }

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a { color: var(--color-primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Button ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: #e0d9c4; border-color: #e0d9c4; text-decoration: none; }

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover { background: rgba(255,255,255,0.15); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo img { display: block; height: 40px; width: auto; }

.header__nav { display: flex; gap: 28px; }
.header__nav a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--color-accent); text-decoration: none; }

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__menu-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  padding: 0;
  background: #389802;
  color: var(--color-white);
  text-align: center;
  display: flex;
  align-items: center;
}
.hero .container {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero__img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.hero .btn {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.hero__tagline {
  font-style: italic;
  opacity: 0.7;
  margin-top: 8px;
  font-size: 1.05rem;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--color-bg-alt); }

.section h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  text-align: center;
}
.section p { max-width: 720px; margin: 0 auto; text-align: center; color: var(--color-text-light); }

/* ===== Contact Grid ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.contact-card {
  background: var(--color-bg);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.contact-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.contact-card li { padding: 6px 0; color: var(--color-text-light); }

/* ===== Footer ===== */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 24px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer__links a:hover { color: var(--color-white); text-decoration: none; }

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 20px 24px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-banner__content p { flex: 1; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__content a { color: var(--color-accent); }

.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ===== Legal pages ===== */
.legal { margin-top: 64px; padding: 60px 0; }
.legal h1 { font-size: 2rem; color: var(--color-primary); margin-bottom: 32px; }
.legal h2 { font-size: 1.4rem; color: var(--color-primary); margin: 32px 0 12px; text-align: left; }
.legal p, .legal li { color: var(--color-text-light); margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--color-primary);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .header__nav.open { max-height: 300px; }
  .header__nav a { padding: 16px; width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }

  .header__menu-btn { display: flex; }

  .hero { align-items: flex-start; }
  .hero__img { max-width: 100%; margin-top: 10vh; }
  .hero .btn { bottom: -15%; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }

  .cookie-banner__content { flex-direction: column; text-align: center; }
  .cookie-banner__actions { justify-content: center; }
}
