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

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg: #f5f4f0;
  --bg-white: #ffffff;
  --bg-green: #1a3a2a;
  --bg-green-2: #224435;
  --bg-leaf: #eef3ec;
  --bg-warm: #f9f5ef;
  --text: #1a1f1a;
  --text-2: #4a524a;
  --text-3: #7d857d;
  --text-inv: #e8ece8;
  --accent: #3d8b37;
  --accent-hover: #2d7228;
  --accent-light: #e8f5e6;
  --orange: #c67530;
  --orange-light: #faf0e5;
  --border: #d8d6d0;
  --border-light: #e5e3dd;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.04);
  --card-hover: 0 6px 20px rgba(0,0,0,0.07);
  --radius: 10px;
  --w-narrow: 700px;
  --w-wide: 1120px;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: var(--bg); line-height: 1.7; }
img { max-width: 100%; height: auto; }

/* ===================== HEADER ===================== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: var(--w-wide); margin: 0 auto;
  padding: 0 1.5rem; display: flex; align-items: center; height: 56px;
}
.site-logo {
  font-family: var(--font-h); font-weight: 700; font-size: 1.2rem;
  color: var(--bg-green); text-decoration: none; margin-right: auto; letter-spacing: -0.01em;
}
.nav-list { list-style: none; display: flex; gap: 0.2rem; }
.nav-list a {
  display: flex; align-items: center; padding: 0.4rem 0.8rem;
  color: var(--text-2); text-decoration: none; font-size: 0.85rem;
  font-weight: 600; border-radius: 6px; transition: background 0.15s, color 0.15s;
}
.nav-list a:hover { background: var(--bg-leaf); color: var(--accent); }
.nav-list a.active { background: var(--accent-light); color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 1px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none; flex-direction: column; position: absolute;
    top: 56px; left: 0; right: 0; background: var(--bg-white);
    padding: 0.5rem 1rem; border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 0.6rem 0.5rem; width: 100%; }
}

/* ===================== HERO ===================== */
.hero {
  background: var(--bg-green); color: var(--text-inv);
  padding: 4rem 1.5rem 3.5rem; text-align: center;
}
.hero h1 {
  font-family: var(--font-h); font-size: 2.6rem; font-weight: 700;
  line-height: 1.15; margin-bottom: 0.75rem; color: #fff;
}
.hero p { font-size: 1.05rem; max-width: 500px; margin: 0 auto; opacity: 0.7; line-height: 1.6; }
.hero-actions { margin-top: 1.75rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.7rem 1.5rem; border-radius: 8px; font-weight: 600;
  font-size: 0.9rem; text-decoration: none; transition: background 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.1); color: var(--text-inv); border: 1px solid rgba(255,255,255,0.2); }
.btn-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ===================== PEST GRID (homepage) ===================== */
.pest-grid-section { max-width: var(--w-wide); margin: 0 auto; padding: 2.5rem 1.5rem 1.5rem; }
.pest-grid-section h2 { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.25rem; }
.pest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.pest-card {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.15rem; text-decoration: none; color: var(--text);
  text-align: center; transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  box-shadow: var(--card-shadow);
}
.pest-card:hover { box-shadow: var(--card-hover); transform: translateY(-2px); border-color: var(--accent); }
.pest-card .pest-icon { display: flex; justify-content: center; margin-bottom: 0.6rem; }
.pest-card .pest-icon svg { width: 52px; height: 52px; display: block; }
.pest-card h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.2rem; }
.pest-card p { font-size: 0.78rem; color: var(--text-3); }

/* ===================== SECTIONS ===================== */
.section { max-width: var(--w-wide); margin: 0 auto; padding: 2.5rem 1.5rem 1.5rem; }
.section--alt {
  background: var(--bg-leaf); max-width: none;
  border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 1.5rem;
}
.section--alt .section-inner { max-width: var(--w-wide); margin: 0 auto; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.25rem; }
.section-header h2 { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; }
.section-header a { font-size: 0.82rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.section-header a:hover { text-decoration: underline; }

/* ===================== CARDS ===================== */
.grid { display: grid; gap: 1rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text);
  box-shadow: var(--card-shadow); transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--card-hover); transform: translateY(-2px); border-color: var(--accent); }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card .card-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent); background: var(--accent-light);
  padding: 0.15rem 0.5rem; border-radius: 4px; margin-bottom: 0.5rem; width: fit-content;
}
.card .card-tag--orange { color: var(--orange); background: var(--orange-light); }
.card h3 { font-family: var(--font-h); font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.4rem; }
.card p { font-size: 0.87rem; color: var(--text-2); line-height: 1.55; flex: 1; }
.card .card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-3);
}
.card .card-action { font-size: 0.8rem; font-weight: 600; color: var(--accent); }

@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } .hero h1 { font-size: 1.9rem; } .pest-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== BREADCRUMB ===================== */
.breadcrumb { font-size: 0.78rem; color: var(--text-3); margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 0.3rem; }

/* ===================== ARTICLE PAGE ===================== */
.article-header { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 2rem 1.5rem 2.25rem; }
.article-header-inner { max-width: var(--w-narrow); margin: 0 auto; }
.article-header .cat-label {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent); background: var(--accent-light);
  padding: 0.15rem 0.5rem; border-radius: 4px; margin-bottom: 0.6rem;
}
.article-header h1 { font-family: var(--font-h); font-size: 2.1rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.6rem; }
.article-header .article-desc { font-size: 1rem; color: var(--text-2); line-height: 1.6; }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; font-size: 0.78rem; color: var(--text-3); }
.article-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.article-meta svg { opacity: 0.5; }

.disclaimer-banner {
  max-width: var(--w-narrow); margin: 1.25rem auto 0;
  display: flex; align-items: flex-start; gap: 0.5rem;
  background: var(--accent-light); border-radius: var(--radius);
  padding: 0.65rem 1rem; font-size: 0.8rem; color: var(--accent); line-height: 1.45;
}
.disclaimer-banner svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.disclaimer-banner a { color: var(--accent); font-weight: 600; }

.article-body { max-width: var(--w-narrow); margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.toc { background: var(--bg-leaf); border: 1px solid var(--border-light); border-radius: var(--radius); margin-bottom: 2rem; }
.toc summary { padding: 0.7rem 1rem; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.toc ul { padding: 0.25rem 1rem 0.6rem; margin-left: 1rem; }
.toc li { margin: 0.2rem 0; font-size: 0.85rem; }
.toc a { color: var(--accent); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.content-body h2 { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; margin: 2.25rem 0 0.6rem; }
.content-body h3 { font-family: var(--font-h); font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.4rem; }
.content-body p { margin-bottom: 1.1rem; font-size: 1rem; line-height: 1.75; }
.content-body ul, .content-body ol { margin: 0 0 1.1rem 1.5rem; }
.content-body li { margin-bottom: 0.35rem; line-height: 1.65; }
.content-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.content-body a:hover { text-decoration-thickness: 2px; }
.content-body blockquote { border-left: 3px solid var(--accent); margin: 1.25rem 0; padding: 0.75rem 1.25rem; background: var(--accent-light); border-radius: 0 var(--radius) var(--radius) 0; }
.content-body blockquote p { margin: 0; color: var(--text-2); }
.content-body table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.88rem; }
.content-body th, .content-body td { padding: 0.6rem 0.85rem; border: 1px solid var(--border); text-align: left; }
.content-body th { background: var(--bg-leaf); font-weight: 600; font-size: 0.82rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.02em; }
.content-body img { border-radius: var(--radius); margin: 1.25rem 0; }
.content-body .tip-box { background: var(--accent-light); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; border-left: 3px solid var(--accent); }
.content-body .tip-box p { margin: 0; color: var(--accent); font-size: 0.92rem; }
.content-body .warning-box { background: var(--orange-light); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; border-left: 3px solid var(--orange); }
.content-body .warning-box p { margin: 0; color: var(--orange); font-size: 0.92rem; }

.sources { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.sources h2 { font-family: var(--font-b); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-3); margin-bottom: 0.5rem; }
.sources ol { padding-left: 1.25rem; font-size: 0.82rem; color: var(--text-2); }
.sources li { margin-bottom: 0.2rem; }
.sources a { color: var(--accent); text-decoration: none; }
.sources a:hover { text-decoration: underline; }

.faq { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.faq h2 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.faq-item {
  background: var(--bg-leaf);
  border-radius: 28px;
  margin-bottom: 0.6rem;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(61,139,55,0.08); }
.faq-item summary {
  padding: 0.7rem 1.4rem;
  font-weight: 600; font-size: 0.88rem; color: var(--text);
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='6' y1='2' x2='6' y2='10'/%3E%3Cline x1='2' y1='6' x2='10' y2='6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  transition: transform 0.25s ease;
}
.faq-item[open] { background: var(--bg-white); border-color: var(--accent); }
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='2' y1='6' x2='10' y2='6'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}
.faq-item p {
  padding: 0 1.4rem 0.85rem;
  margin: 0; font-size: 0.88rem; line-height: 1.7; color: var(--text-2);
}

.tags { margin-top: 1.5rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tag { font-size: 0.75rem; font-weight: 500; background: var(--bg-leaf); padding: 0.2rem 0.6rem; border-radius: 4px; color: var(--text-2); text-decoration: none; }
.tag:hover { background: var(--border); }

/* ===================== LIST ===================== */
.list-header { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 2rem 1.5rem; }
.list-header-inner { max-width: var(--w-wide); margin: 0 auto; }
.list-header h1 { font-family: var(--font-h); font-size: 1.75rem; font-weight: 700; }
.list-header p { color: var(--text-2); font-size: 0.95rem; margin-top: 0.3rem; }
.list-body { max-width: var(--w-wide); margin: 0 auto; padding: 2rem 1.5rem 3rem; }

/* ===================== LEGAL ===================== */
.legal-page { max-width: var(--w-narrow); margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.legal-page h1 { font-family: var(--font-h); font-size: 1.6rem; font-weight: 700; margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.1rem; font-weight: 700; margin: 1.75rem 0 0.5rem; }
.legal-page p { margin-bottom: 0.9rem; color: var(--text-2); font-size: 0.92rem; line-height: 1.7; }
.legal-page ul { margin: 0 0 1rem 1.5rem; color: var(--text-2); font-size: 0.92rem; }
.legal-page li { margin-bottom: 0.3rem; }
.legal-page a { color: var(--accent); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--bg-green); padding: 2.5rem 1.5rem; color: var(--text-inv); }
.footer-inner { max-width: var(--w-wide); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-disclaimer { max-width: 500px; text-align: center; font-size: 0.78rem; opacity: 0.5; line-height: 1.5; }
.footer-nav a { color: var(--text-inv); text-decoration: none; font-size: 0.82rem; margin: 0 0.6rem; font-weight: 500; opacity: 0.7; }
.footer-nav a:hover { opacity: 1; }
.footer-copy { font-size: 0.72rem; opacity: 0.35; }
