@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-gradient {
  background: linear-gradient(120deg, #1B4332, #2D6A4F, #52B788, #1B4332);
  background-size: 300% 300%;
  animation: gradientShift 14s ease infinite;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.visible { animation: fadeUp .9s ease forwards; }

.faq-item { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.faq-item.open { max-height: 500px; }

.float-label { position: relative; }
.float-label input, .float-label textarea {
  width: 100%; background: transparent; border: 3px solid #D8F3DC; color: #D8F3DC;
  padding: 22px 14px 8px; font-family: Roboto, sans-serif; outline: none;
}
.float-label label {
  position: absolute; left: 14px; top: 18px; color: #B7E4C7;
  transition: all .2s ease; pointer-events: none; font-family: Roboto, sans-serif;
}
.float-label input:focus + label,
.float-label input:not(:placeholder-shown) + label,
.float-label textarea:focus + label,
.float-label textarea:not(:placeholder-shown) + label {
  top: 4px; font-size: 11px; color: #52B788;
}
.float-label input:focus, .float-label textarea:focus { border-color: #52B788; }

.brutal-shadow { box-shadow: 8px 8px 0 0 #52B788; }
.brutal-shadow-accent { box-shadow: 8px 8px 0 0 #B7E4C7; }
.brutal-border { border: 4px solid #D8F3DC; }

.cart-drawer { transform: translateX(100%); transition: transform .35s ease; }
.cart-drawer.open { transform: translateX(0); }

.parallax-hero { transition: transform .05s linear; }

@keyframes slideToast {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.toast { animation: slideToast .35s ease forwards; }

::selection { background: #52B788; color: #1B4332; }

/* Fix header overlap on small screens */
@media (max-width: 480px) {
  header .grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
  header .justify-self-center { order: -1; width: 100%; justify-content: center; }
  header .justify-self-end { margin-left: auto; }
}
