*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #3d7a22;
  --green-dark: #2a5615;
  --green-light: #5a9e2f;
  --bg: #f5f7f4;
  --white: #ffffff;
  --text: #1a2314;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --border: #dde8d8;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(61,122,34,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo { height: 40px; object-fit: contain; }

nav { display: flex; gap: 28px; }

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
nav a:hover { color: var(--green); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  padding: 9px 18px;
  border-radius: 50px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-whatsapp:hover { background: var(--green-dark); transform: scale(1.03); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── PAGE HEADER (blog listing / article) ── */
.page-header {
  background: linear-gradient(135deg, #3d7a22 0%, #2a5615 100%);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-header p {
  opacity: .92;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: .85rem;
  opacity: .85;
  margin-bottom: 18px;
}
.breadcrumb a { text-decoration: none; color: #fff; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

/* ── SECTIONS / CARDS ── */
section { padding: 72px 0; }
section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(61,122,34,.15); }

.blog-tag {
  display: inline-block;
  background: #eaf5e0;
  color: var(--green);
  font-size: .76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.blog-card p {
  color: var(--muted);
  font-size: .88rem;
  margin-top: 8px;
}

.blog-card .blog-meta {
  margin-top: 16px;
  font-size: .8rem;
  color: var(--muted);
}

.blog-card .blog-read {
  margin-top: 14px;
  color: var(--green);
  font-weight: 600;
  font-size: .88rem;
}

/* ── ARTICLE ── */
.article-wrap {
  background: var(--white);
  padding: 56px 0 80px;
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.article h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  text-align: left;
  margin: 40px 0 16px;
}

.article p {
  color: var(--text);
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.article ul, .article ol {
  margin: 0 0 20px 22px;
  color: var(--text);
}
.article li { margin-bottom: 8px; font-size: 1.02rem; }

.article strong { color: var(--green-dark); }

.article blockquote {
  border-left: 4px solid var(--green);
  background: var(--bg);
  padding: 16px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-style: italic;
  margin: 28px 0;
}

.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, #3d7a22 0%, #2a5615 100%);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
}
.article-cta h3 { margin-bottom: 10px; font-size: 1.2rem; }
.article-cta p { color: rgba(255,255,255,.9); margin-bottom: 22px; }

.buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  background: #fff;
  color: var(--green);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: .95rem;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

.btn-secondary {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: .95rem;
  border: 2px solid rgba(255,255,255,.6);
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 24px;
}
.back-link:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 32px 0;
  text-align: center;
  font-size: .9rem;
}
footer strong { color: #fff; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  nav.open { display: flex; }
  nav a { font-size: 1.05rem; }

  .btn-whatsapp { display: none; }

  section { padding: 56px 0; }
  .page-header { padding: 48px 0 40px; }
}
