@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@700;900&family=Manrope:wght@400;600;800&display=swap');

:root {
  --leaf: #0f5b3f;
  --leaf-2: #1f7e4d;
  --lime: #d7f264;
  --sun: #ffb84d;
  --cream: #fff7e8;
  --ink: #17231d;
  --muted: #617066;
  --line: rgba(23, 35, 29, .14);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Manrope, sans-serif; color: var(--ink); background: radial-gradient(circle at 20% 0%, #ffe0a8, transparent 32rem), linear-gradient(160deg, #fffaf0, #edf8db); min-height: 100vh; }
a { color: inherit; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(18px, 4vw, 64px); }
.brand { font-family: Fraunces, serif; font-size: 28px; font-weight: 900; text-decoration: none; color: var(--leaf); }
nav { display: flex; gap: 18px; font-weight: 800; }
nav a { text-decoration: none; }
main { padding: clamp(24px, 6vw, 86px); }
.hero { max-width: 940px; padding: clamp(28px, 6vw, 80px); border-radius: 36px; background: linear-gradient(135deg, rgba(15, 91, 63, .96), rgba(31, 126, 77, .88)); color: white; box-shadow: 0 30px 80px rgba(15, 91, 63, .28); }
.eyebrow { color: var(--lime); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
h1 { font-family: Fraunces, serif; font-size: clamp(42px, 8vw, 86px); line-height: .95; margin: 16px 0; }
h2 { font-family: Fraunces, serif; font-size: 28px; margin: 8px 0; }
.lead, .page-head p { font-size: clamp(18px, 2.4vw, 24px); max-width: 760px; color: inherit; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.actions a, button, .pill { background: var(--lime); color: var(--leaf); padding: 14px 20px; border: 0; border-radius: 999px; font-weight: 900; text-decoration: none; cursor: pointer; }
.pill { display: inline-flex; justify-content: center; padding: 10px 14px; }
.actions a + a { background: white; }
.page-head { max-width: 940px; margin-bottom: 28px; }
.toolbar { display: flex; gap: 12px; margin-bottom: 24px; max-width: 680px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 13px 14px; font: inherit; background: rgba(255,255,255,.86); }
textarea { min-height: 84px; resize: vertical; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card, .panel, .row { background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(15, 91, 63, .08); backdrop-filter: blur(14px); }
.card { border-radius: 28px; padding: 20px; display: grid; gap: 8px; }
.detail-card { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(22px, 5vw, 54px); align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: 36px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(15,91,63,.12); }
.detail-card strong { display: block; margin: 18px 0 6px; color: var(--leaf); font-size: 28px; }
.hero-thumb { min-height: 340px; font-size: 120px; }
.card .eyebrow { color: var(--leaf-2); font-size: 12px; }
.card strong { font-size: 20px; color: var(--leaf); }
.card small { color: var(--muted); }
.thumb { display: grid; place-items: center; height: 120px; border-radius: 22px; background: linear-gradient(135deg, #fff0be, #dff6a1); font-size: 58px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.panel { max-width: 760px; border-radius: 28px; padding: 22px; display: grid; gap: 14px; }
.panel.narrow { max-width: 460px; }
.panel.wide { max-width: 980px; }
.panel label { display: grid; gap: 7px; font-weight: 800; }
.result { max-width: 760px; white-space: pre-wrap; padding: 18px; border-radius: 18px; background: #10281d; color: #d7f264; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 18px 0 24px; }
.metric { padding: 20px; border-radius: 24px; background: linear-gradient(135deg, rgba(15,91,63,.95), rgba(31,126,77,.82)); color: white; box-shadow: 0 18px 50px rgba(15,91,63,.16); }
.metric span { display: block; color: var(--lime); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.metric b { display: block; margin-top: 8px; font-family: Fraunces, serif; font-size: clamp(28px, 4vw, 46px); }
.table-list { display: grid; gap: 10px; }
.row { border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 1.3fr repeat(4, minmax(90px, auto)); gap: 12px; align-items: center; }
.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; justify-items: end; gap: 10px; }
.chat-toggle { box-shadow: 0 16px 40px rgba(15,91,63,.28); }
.chat-panel { display: none; width: min(340px, calc(100vw - 36px)); padding: 16px; border-radius: 24px; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: 0 20px 70px rgba(15,91,63,.22); gap: 10px; }
.chat-widget.open .chat-panel { display: grid; }
@media (max-width: 760px) { .site-header { align-items: flex-start; flex-direction: column; gap: 14px; } nav, .toolbar { flex-wrap: wrap; } .row, .detail-card { grid-template-columns: 1fr; } .hero-thumb { min-height: 220px; } }
