/* ============================================
   Lunchy Pets — Mejoras de la portada
   Animaciones de entrada, barra de confianza
   y fotos de clientes.
   (El botón flotante de WhatsApp trae sus propios
   estilos en includes/footer.php, para que se vea
   bien en todas las páginas.)
   ============================================ */

/* ---------- Animaciones de entrada ---------- */
/* Los bloques solo se ocultan cuando el navegador tiene JavaScript
   activo (html.js), así el texto siempre es legible si algo falla. */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Barra de confianza (bajo la portada) ---------- */
.trust-strip {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  text-align: center;
}
.trust-rotate {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  min-height: 26px;
}
.trust-rotate .rotator {
  display: inline-block;
  transition: opacity .4s ease;
}
.trust-count {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}
.trust-count strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
}

/* ---------- Fotos de clientes ---------- */
.clientes-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .clientes-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .clientes-grid { grid-template-columns: repeat(4, 1fr); } }
.cliente-foto {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--cream-soft);
}
.cliente-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.cliente-foto:hover img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .cliente-foto img { transition: none; }
}
