/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'DM Sans', system-ui, sans-serif; color: #064e3b; background: #fefdf8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }

/* ── Nav ── */
#site-header { background: transparent; transition: background 0.3s, box-shadow 0.3s, padding 0.3s; }
#site-header.scrolled { background: rgba(254,253,248,0.97); box-shadow: 0 1px 20px rgba(6,78,59,0.08); backdrop-filter: blur(10px); }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: #059669; transform: translateX(-50%); transition: width 0.2s; border-radius: 1px; }
.nav-link:hover::after { width: 60%; }

/* ── Buttons ── */
.btn-primary { box-shadow: 0 4px 14px rgba(251,191,36,0.35); }
.btn-primary:hover { box-shadow: 0 8px 25px rgba(251,191,36,0.45); }
.btn-secondary { box-shadow: 0 4px 14px rgba(255,255,255,0.1); }
.btn-secondary:hover { box-shadow: 0 8px 25px rgba(255,255,255,0.2); }

/* ── Cards ── */
.card { background: white; border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 4px 20px rgba(6,78,59,0.06); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid rgba(6,78,59,0.05); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(6,78,59,0.12); }
.product-card { padding: 0; overflow: hidden; }
.product-card h3 { padding: 1.25rem 1.5rem 0.5rem; }
.product-card p { padding: 0 1.5rem 1.5rem; }

/* ── Testimonial ── */
.testimonial-card { display: flex; flex-direction: column; }

/* ── Service Item ── */
.service-item { transition: transform 0.2s; }
.service-item:hover { transform: translateX(4px); }

/* ── Hero Blobs ── */
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(20px, 40px) scale(1.05); }
}
.animate-blob { animation: blob 8s ease-in-out infinite; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* ── Scroll Reveal ── */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal[data-reveal] { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] { opacity: 0; transform: translateY(24px); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal[data-reveal] { opacity: 1; transform: none; }
}

/* ── Mobile Menu ── */
#mobile-menu { animation: slideDown 0.25s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Form ── */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #d1fae5;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #064e3b;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder { color: #6ee7b7; }
.form-input:focus { border-color: #059669; box-shadow: 0 0 0 3px rgba(5,150,105,0.1); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #d1fae5;
  border-radius: 0.75rem;
  color: #065f46;
  font-weight: 600;
  margin-top: 1rem;
}
.form-success.show { display: flex; }
</style>
