/* ACE premium brand gallery: image-first, no implied distributorship */
.ace-brands-section{padding:clamp(55px,7vw,104px) 0;background:#f8fbfc;color:#13323d}
.ace-brands-head{max-width:850px;margin-bottom:30px}
.ace-brands-head h2{font-size:clamp(28px,3.4vw,44px);line-height:1.16;letter-spacing:-.035em;margin:9px 0 12px;color:#12333d}
.ace-brands-head p:not(.eyebrow){max-width:740px;line-height:1.7;color:#536773}
.ace-brands-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ace-brand-tile{display:flex;flex-direction:column;min-width:0;min-height:206px;padding:18px;background:#fff;border:1px solid #e2e9eb;border-radius:14px;text-decoration:none!important;color:#163740!important;box-shadow:0 4px 16px rgba(14,51,65,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.ace-brand-tile:hover,.ace-brand-tile:focus-visible{transform:translateY(-3px);border-color:#84a6aa;box-shadow:0 12px 26px rgba(14,51,65,.11)}
.ace-brand-tile:focus-visible{outline:3px solid #0d8692;outline-offset:3px}
.ace-brand-visual{height:106px;display:flex;align-items:center;justify-content:center;position:relative;margin-bottom:15px}
.ace-brand-visual img{display:block;width:100%;height:100%;max-width:230px;object-fit:contain;mix-blend-mode:multiply;color:transparent}
.ace-brand-fallback{display:none;text-align:center;font-size:18px;font-weight:800;letter-spacing:-.025em;color:#193c48}
.ace-brand-tile img:not([src]) + .ace-brand-fallback{display:block}
.ace-brand-meta{border-top:1px solid #edf0f1;padding-top:12px;display:flex;flex-direction:column;gap:5px}
.ace-brand-meta strong{font-size:15px;line-height:1.3}.ace-brand-meta small{font-size:12px;line-height:1.5;color:#62727b}
.ace-brand-disclaimer{font-size:12px;max-width:1050px;margin:22px 0 0;color:#6d7b81;line-height:1.6}
.ace-brands-more{margin:24px 0 0}.ace-brands-more a{font-weight:700;color:#0b626f}
@media(max-width:900px){.ace-brands-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.ace-brands-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ace-brand-tile{min-height:180px;padding:13px}.ace-brand-visual{height:81px;margin-bottom:10px}.ace-brand-meta strong{font-size:13px}.ace-brand-meta small{font-size:11px}}
@media(max-width:360px){.ace-brands-grid{grid-template-columns:1fr 1fr}.ace-brand-tile{padding:9px}}
@media(prefers-reduced-motion:reduce){.ace-brand-tile{transition:none}}

/* Stable display when external manufacturer artwork is unavailable */
.ace-brand-fallback-visible{display:block!important;overflow-wrap:anywhere}
.ace-brand-tile[data-logo-status="fallback-wordmark"] .ace-brand-visual{background:#f7fafb;border-radius:10px;padding:12px}
.ace-brand-tile[data-logo-status="fallback-wordmark"] .ace-brand-fallback{font-size:clamp(15px,1.3vw,20px);line-height:1.25}

/* Locally stored customer-supplied original logo tiles */
.ace-brand-tile[data-logo-status="local-user-supplied"] .ace-brand-visual img{mix-blend-mode:normal;object-fit:contain;max-width:230px}
.ace-brand-tile[data-logo-status="local-user-supplied"] .ace-brand-fallback{display:none}

/* Production logo gallery: all manufacturer images are local files. Preserve full original mark without cropping. */
.ace-brand-visual img{object-fit:contain;mix-blend-mode:normal}
.ace-brand-tile[data-logo-status="local-user-supplied"] .ace-brand-visual{background:#fff}
