/* WaterPurity Aqua Landing v1.0.4 — accessible contrast, focus and layout repairs.
   Intentionally scoped to #wpah-root and the original homepage ESPA banner.
   Cyan (#27b7eb) is retained for decoration; text and filled buttons use a darker tone.
*/
#wpah-root {
  --wpah-readable-blue:#006d98;
  --wpah-blue-button:#006d98;
  --wpah-blue-hover:#005477;
  --wpah-muted:#52677d;
}
/* All text on light backgrounds gets WCAG-AA-capable colors. */
#wpah-root h2 span,
#wpah-root .wpah-kicker,
#wpah-root .wpah-service-link,
#wpah-root .wpah-service-simple>span:last-child,
#wpah-root .wpah-text-link,
#wpah-root .wpah-price,
#wpah-root .wpah-faq-list summary::after {
  color:var(--wpah-readable-blue);
}
#wpah-root .wpah-step-num {color:#486b82;}
#wpah-root .wpah-product .wpah-price del{color:#536679;opacity:1}
#wpah-root .wpah-product p,
#wpah-root .wpah-service-card p,
#wpah-root .wpah-why-item p,
#wpah-root .wpah-process-step p,
#wpah-root .wpah-faq-list details p{color:#52677d}
#wpah-root .wpah-gallery-grid figcaption {text-shadow:0 2px 10px rgba(0,17,38,.95)}
/* White text on saturated cyan was only ~2.3:1; darkened blue is >5.7:1. */
#wpah-root .wpah-btn,
#wpah-root .wpah-about-stamp,
#wpah-root .wpah-service-icon {background:var(--wpah-blue-button);border-color:var(--wpah-blue-button);color:#fff}
#wpah-root .wpah-btn:hover,
#wpah-root .wpah-btn:focus-visible,
#wpah-root .wpah-btn-dark:hover {background:var(--wpah-blue-hover);border-color:var(--wpah-blue-hover);color:#fff}
#wpah-root .wpah-btn-dark {background:#062451;border-color:#062451}
#wpah-root .wpah-btn-outline{background:transparent;border-color:#fff;color:#fff}
#wpah-root .wpah-btn-outline:hover,
#wpah-root .wpah-btn-outline:focus-visible{background:#fff;border-color:#fff;color:#061b3f}
#wpah-root .wpah-service-icon{border:4px solid #fff}
#wpah-root .wpah-service-link,
#wpah-root .wpah-service-simple>span:last-child,
#wpah-root .wpah-text-link {text-decoration:underline;text-underline-offset:3px}
#wpah-root .wpah-product-body{overflow-wrap:anywhere}
#wpah-root .wpah-product h3{min-height:0;overflow-wrap:anywhere}
#wpah-root .wpah-product-photo{overflow:hidden}
#wpah-root .wpah-product-photo img{object-fit:contain;max-width:100%;max-height:100%}
#wpah-root .wpah-product-body p{min-height:0}
#wpah-root .wpah-service-card:hover {transform:none}
/* Focus styles must be visible on both white and dark backgrounds. */
#wpah-root :is(a,button,summary):focus-visible,
.wpah-espa-banner a:focus-visible {outline:3px solid #ffc857;outline-offset:3px}
#wpah-root :is(.wpah-service-card,.wpah-product):focus-within {box-shadow:0 0 0 3px #005a91}
#wpah-root :is(.wpah-service-card,.wpah-product) a:focus-visible,
#wpah-root .wpah-navigation a:focus-visible,
#wpah-root .wpah-faq-list summary:focus-visible {outline-color:#005a91}
#wpah-root .wpah-header :is(a,button):focus-visible,
#wpah-root .wpah-topbar a:focus-visible,
#wpah-root .wpah-footer a:focus-visible,
#wpah-root .wpah-contact a:focus-visible,
#wpah-root .wpah-hero a:focus-visible,
#wpah-root .wpah-photo-cta a:focus-visible {outline-color:#ffc857}
.wpah-skip {position:fixed;top:-120px;left:12px;z-index:100001;background:#fff;color:#041935;border:2px solid #041935;border-radius:2px;font-size:16px;font-weight:700}
.wpah-skip:focus-visible {top:12px;outline:3px solid #ffc857}
#wpah-root #wpah-main:focus {outline:none}
/* Preserve typography and contrast when an accessibility plugin increases font sizes. */
#wpah-root .wpah-navigation a{white-space:normal}
#wpah-root .wpah-topbar a{min-height:30px;align-items:center}
#wpah-root .wpah-language-slot a{min-width:30px;min-height:30px}
#wpah-root .wpah-topbar{color:#e6f2ff}
#wpah-root .wpah-top-contact a{color:#e6f2ff!important}
#wpah-root .wpah-navigation a.wpah-nav-current,
#wpah-root .wpah-navigation a:hover{color:#85ddff}
#wpah-root .wpah-about-stamp{font-size:12px}
#wpah-root .wpah-contact-box small{color:#d7e9f5}
#wpah-root .wpah-footer-bottom{color:#c3d5e9}
#wpah-root .wpah-footer-company p{color:#c3d5e9}
/* Only one hero is rendered; misleading static carousel dots removed in template. */
#wpah-root .wpah-hero-dots{display:none}
@media(max-width:980px){
  #wpah-root .wpah-navigation a{color:#fff}
  #wpah-root .wpah-navigation a.wpah-nav-current,
  #wpah-root .wpah-navigation a:hover{color:#85ddff}
  #wpah-root .wpah-menu-toggle{min-width:44px;min-height:44px}
}
@media(max-width:700px){
  #wpah-root .wpah-why-col{grid-template-columns:1fr 1fr}
  #wpah-root .wpah-process-grid{grid-template-columns:1fr 1fr}
  #wpah-root .wpah-product-photo{height:180px}
  #wpah-root .wpah-product-body{padding:19px 15px}
  #wpah-root .wpah-topbar .wpah-top-contact a{font-size:12px}
}
@media(max-width:430px){
  #wpah-root .wpah-products-grid{grid-template-columns:1fr}
  #wpah-root .wpah-process-grid{grid-template-columns:1fr}
  #wpah-root .wpah-why-col{grid-template-columns:1fr}
  #wpah-root .wpah-topbar .wpah-top-contact a{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  #wpah-root *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
