/* Accesibilidad y estabilidad visual para Lecuona Jardins */
:root { scroll-behavior: auto; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
img[width][height] { height: auto; }

/* Foco visible y consistente */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid currentColor !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff !important;
}

/* Tamaño mínimo WCAG de objetivos táctiles */
:where(a.lj-btn, a.lj-footer-btn, a.lj-slide-btn, button, select, input[type="submit"], input[type="button"]) {
  min-width: 44px;
  min-height: 44px;
}
.lj-slider-dot {
  width: 44px !important;
  height: 44px !important;
  padding: 14px !important;
  background-clip: content-box !important;
}

/* Contraste reforzado en los elementos detectados por Lighthouse */
.lj-btn,
.lj-footer-btn,
.lj-slide-btn-primary {
  color: #fff !important;
  background-color: #285126 !important;
  border-color: #285126 !important;
  text-shadow: none !important;
}
.lj-btn:hover,
.lj-footer-btn:hover,
.lj-slide-btn-primary:hover,
.lj-btn:focus-visible,
.lj-footer-btn:focus-visible,
.lj-slide-btn-primary:focus-visible {
  color: #fff !important;
  background-color: #183817 !important;
}
.lj-about-box p { color: #263322 !important; }
.lj-footer,
.lj-footer p,
.lj-footer span,
.lj-footer small { color: #fff !important; }
.lj-footer a:not(.lj-footer-btn) { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

/* Reduce animaciones para usuarios sensibles y evita animaciones costosas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
