/*
 * AS Valuation - Child Theme Fixes
 * Keep this file small and targeted; prefer Elementor/template changes for layout.
 */

/* Accessibility: visible skip link (added in functions.php). */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #ffffff;
  color: #000000;
  z-index: 100000;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* JS in functions.php toggles this class on scroll. */
.asv-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* A11y: fix low-contrast footer headings + submit button in the home footer template (ID 998). */
.elementor-998 .elementor-heading-title {
  color: #ffffff !important;
}

.elementor-998 .elementor-heading-title a {
  color: inherit !important;
}

.elementor-998 .elementor-form .elementor-button[type="submit"] {
  background: #ffffff !important;
  color: #bc3227 !important;
}

.elementor-998 .elementor-form .elementor-button[type="submit"] svg * {
  fill: currentColor !important;
}

.elementor-998 .elementor-form .elementor-button[type="submit"]:hover,
.elementor-998 .elementor-form .elementor-button[type="submit"]:focus {
  background: #ffffff !important;
  color: #bc3227 !important;
}
