/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }

/* ── Typography ── */
h1, h2, h3 { font-weight: 400; }

/* ── Mobile menu transitions ── */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* ── Hamburger animation ── */
#menu-toggle.active #bar1 {
  transform: translateY(6px) rotate(45deg);
}
#menu-toggle.active #bar2 {
  opacity: 0;
}
#menu-toggle.active #bar3 {
  transform: translateY(-6px) rotate(-45deg);
  width: 5px;
}

/* ── Divider lines ── */
.h-divider { display: inline-block; vertical-align: middle; }

/* ── Smooth image loading ── */
img {
  display: block;
  max-width: 100%;
}

/* ── Focus styles ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #2d6a4f;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Selection ── */
::selection {
  background: #2d6a4f;
  color: #f0f5f0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f5f0; }
::-webkit-scrollbar-thumb { background: #b9d1b9; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8cb88c; }
