/* Page transition — port del efecto files/src/components/PageTransition.jsx (CodeGrid) */
#pt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  display: flex;
  pointer-events: none;
  z-index: 99990;
  background: #141414;
  /* fallback sin JS: el overlay se oculta solo a los 2.5s (JS lo cancela con animation:none) */
  animation: pt-fallback-hide .4s ease 2.5s forwards;
}
#pt-overlay.pt-ready { background: transparent; }
.pt-block {
  flex: 1;
  height: 100%;
  background: #141414;
  transform: scaleX(1);
  transform-origin: right;
}
#pt-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #141414;
  pointer-events: none;
  opacity: 0;
}
#pt-logo svg,
#pt-logo img {
  width: 160px;
  height: auto;
}
@keyframes pt-fallback-hide {
  to { opacity: 0; visibility: hidden; }
}
/* Dimensionado del logo PNG en navbar/menú (misma regla que el <style> inline del home;
   las páginas internas no la tenían y el PNG renderizaba a tamaño natural) */
/* Link al website del cliente bajo cada testimonio */
.authore-website {
  display: inline-block;
  margin-top: .35rem;
  font-size: .875rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.navbar-brand img.dark-logo,
.navbar-brand img.white-logo,
.brand-logo-mobile img.dark-logo,
.logo-link-block img.dark-logo {
  height: 32px;
  width: auto;
  max-width: 160px;
  max-height: 32px;
  object-fit: contain;
}

/* Dark mode toggle (nav, all light pages) */
.lucy-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  margin-left: 0.75rem;
  border: 1px solid #000;
  border-radius: 100vw;
  color: #000;
  background: transparent;
  vertical-align: middle;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.lucy-mode-toggle:hover {
  background-color: #d80006;
  border-color: #d80006;
  color: #fff;
}
.lucy-mode-toggle svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

/* "Have you tried the dark version?" marquee strip (footer, all light pages) */
.lucy-dark-strip {
  display: block;
  overflow: hidden;
  width: 100%;
  background-color: #d80006;
  color: #000;
  text-decoration: none;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.lucy-dark-strip:hover {
  background-color: #000;
  color: #d80006;
}
.lucy-dark-strip-track {
  display: flex;
  width: max-content;
  animation: lucy-strip-scroll 26s linear infinite;
}
.lucy-dark-strip:hover .lucy-dark-strip-track {
  animation-play-state: paused;
}
.lucy-dark-strip-half {
  display: flex;
  align-items: center;
  flex: none;
}
.lucy-dark-strip-item {
  display: inline-block;
  padding: 0.85rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lucy-dark-strip-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 1.5rem;
  border-radius: 100vw;
  background-color: currentColor;
  animation: lucy-strip-glow 1.5s infinite;
}
@keyframes lucy-strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes lucy-strip-glow {
  0%, 100% { box-shadow: 0 0 4px currentColor; }
  50% { box-shadow: 0 0 14px currentColor; }
}
@media (max-width: 479px) {
  .lucy-dark-strip-item { font-size: 0.8rem; padding: 0.75rem 0; }
  .lucy-dark-strip-dot { margin: 0 1rem; }
}
