:root {
  --green-900: #0b2e22;
  --green-800: #0f3d2e;
  --green-700: #155240;
  --lime: #7cc242;
  --lime-600: #5fa22a;
  --ink: #17211d;
  --muted: #56635d;
  --line: #dfe6e2;
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 46, 34, 0.08);
  --wrap: 1160px;
  --read: 760px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--lime-600); }
h1, h2, h3 { line-height: 1.25; color: var(--green-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 2.2em 0 0.6em; scroll-margin-top: 90px; }
h3 { font-size: 1.2rem; margin: 1.6em 0 0.4em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); margin: 0 auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--green-800); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav ul a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { background: var(--bg-soft); color: var(--green-700); }
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 960px) {
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .nav-burger span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; box-shadow: var(--shadow); }
  .site-nav ul { flex-direction: column; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: 0.15s ease; font-size: 0.98rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-primary { background: var(--lime); color: var(--green-900); }
.btn-primary:hover { background: var(--lime-600); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: inherit; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(124, 194, 66, 0.25), transparent 60%), linear-gradient(160deg, var(--green-900), var(--green-700)); color: #e9f3ee; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; color: #cfe3d8; }
.hero .kicker { display: inline-block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--lime); font-weight: 700; margin-bottom: 12px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero .fig { margin: 0; }
.hero .fig img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); max-height: 520px; width: 100%; object-fit: cover; }
.hero .answer { background: rgba(255, 255, 255, 0.08); border-color: rgba(124, 194, 66, 0.6); color: #e9f3ee; }
.hero .answer .answer-label { color: var(--lime); }
.stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px; }
.stats div { min-width: 110px; }
.stats strong { display: block; font-size: 1.6rem; color: #fff; }
.stats span { font-size: 0.85rem; color: #b5cfc1; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; } }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 { margin-top: 0; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: 0.2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .fig { margin: 0; }
.card .fig img { border-radius: 0; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.12rem; }
.card-body h3 a { color: var(--green-900); text-decoration: none; }
.card-body h3 a:hover { color: var(--lime-600); }
.card-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-meta { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature h3 { margin-top: 0; }
.feature p { margin: 0; color: var(--muted); }

/* Article */
.article-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 28px 0 34px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 0.9rem; }
.article-body { padding: 36px 20px 20px; }
.article-body > .fig:first-child { margin-top: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 0.88rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa8a1; }
.crumbs a { color: var(--muted); }

.fig { margin: 28px 0; }
.fig img { border-radius: 12px; width: 100%; background: var(--bg-soft); }
.fig figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.fig-narrow img { max-width: 420px; margin: 0 auto; }

.answer { border: 2px solid var(--lime); background: #f5fbef; border-radius: var(--radius); padding: 18px 22px; margin: 0 0 26px; }
.answer p:last-child { margin: 0; }
.answer-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime-600); margin: 0 0 6px !important; }

.facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 26px 0; }
.facts-title { margin: 0; padding: 12px 18px; background: var(--green-800); color: #fff; font-weight: 700; }
.facts table, table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.facts th, .facts td { text-align: left; padding: 11px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.facts th { width: 42%; color: var(--green-900); background: var(--bg-soft); font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table.data caption { text-align: left; padding: 12px 16px; font-weight: 700; color: var(--green-900); }
table.data th, table.data td { padding: 11px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--green-800); color: #fff; border-top: 0; white-space: nowrap; }
table.data tbody tr:nth-child(even) td { background: var(--bg-soft); }

.note { border-left: 4px solid var(--lime); background: var(--bg-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 22px 0; font-size: 0.96rem; }
.note p:last-child { margin: 0; }

.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 28px; background: #fff; }
.toc-title { font-weight: 700; margin: 0 0 6px; color: var(--green-900); }
.toc ol { margin: 0; }
.toc li { margin: 2px 0; font-size: 0.95rem; }

.cta { background: linear-gradient(150deg, var(--green-900), var(--green-700)); color: #e2efe8; border-radius: var(--radius); padding: 26px 26px 28px; margin: 34px 0; }
.cta a:not(.btn) { color: var(--lime); }
.cta-title { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 0 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.cta .btn-ghost { color: #fff; }

.faq details { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--green-900); list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--lime-600); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 6px; color: var(--muted); }

.author-box { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 34px 0; background: var(--bg-soft); }
.author-box p { margin: 0 0 6px; font-size: 0.95rem; }
.author-box strong { color: var(--green-900); }
.sources { font-size: 0.92rem; color: var(--muted); }
.sources ul { margin-top: 6px; }

.related { padding: 10px 0 60px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.contact-card dl { margin: 0; }
.contact-card dt { font-weight: 700; color: var(--green-900); margin-top: 14px; }
.contact-card dd { margin: 2px 0 0; }
.map { border: 0; width: 100%; min-height: 380px; border-radius: var(--radius); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--green-900); color: #b9cfc3; font-size: 0.93rem; margin-top: 40px; }
.site-footer a { color: #dff0e6; }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px; padding-bottom: 22px; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); z-index: 60; }
.wa-float:hover { transform: scale(1.05); }

.page-404 { text-align: center; padding: 90px 20px; }
