/* ========= Root + Body ========= */
:root {
  --maxw: 1180px;
  --green-light: #16a34a;
  --green-dark: #065f46;
  --text-dark: #0f172a;
  --text-muted: #6b7280;
  --bg-soft: #f5faf6;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue";
  background: #fafafa;
  color: var(--text-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease;
}

/* ========= Header / Navigation ========= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.nav {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.spacer {
  flex: 1;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu > a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
}

.menu > a:hover {
  background: rgba(22, 163, 74, 0.08);
  color: var(--green-dark);
}

.dropdown {
  position: relative;
}

.dropdown .trigger {
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 6px;
  font-weight: 500;
}

.dropdown:hover .trigger {
  background: rgba(22, 163, 74, 0.08);
}

.dropdown .panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.dropdown:hover .panel { display: block; }

.dropdown .panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.dropdown .panel a:hover {
  background: rgba(22, 163, 74, 0.08);
}

/* ========= Main Layout ========= */

main {
  min-height: 60vh;
}

.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 22px 100px;
}

/* ========= Footer ========= */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 60px;
  padding-top: 40px;
}

.footer-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 36px;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
}

.footer-col a {
  display: block;
  margin: 4px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--green-dark);
}

.footer-logo {
  height: 42px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 220px;
}

.footer-bottom {
  text-align: center;
  padding: 18px 0 26px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ========= Responsive ========= */

@media (max-width: 640px) {
  .menu { gap: 8px; }
  .nav { height: 64px; }
  .brand-text { display: none; }
}
