/* ── Base ── */
html { scroll-behavior: smooth; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 9999;
  background: #8ab61a;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Focus ring ── */
*:focus-visible {
  outline: 2.5px solid #8ab61a;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Nav underline animation ── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #8ab61a;
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ── Hero: split layout ── */
.hero-photo-fade {
  background: linear-gradient(
    to right,
    rgba(250,253,245,1)   0%,
    rgba(250,253,245,.92) 12%,
    rgba(250,253,245,.75) 28%,
    rgba(250,253,245,.50) 48%,
    rgba(250,253,245,.22) 68%,
    rgba(250,253,245,.06) 84%,
    rgba(250,253,245,0)   100%
  );
}

/* ── Service card hover lift ── */
.card-lift { transition: transform 0.2s ease; }
.card-lift:hover { transform: translateY(-5px); }

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

/* ── Hamburger bars ── */
.ham-bar {
  display: block;
  width: 1.375rem;
  height: 2px;
  background: #1e2a08;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
