/* Preview maintenance: shared state must not depend on mouse hover. */
html body header#ugsMainNav[data-ugs-white-brand] .ugs-nav-logo img:not(.ugs-nav-logo-contrast) { opacity:0!important; visibility:hidden!important; }
html body header#ugsMainNav[data-ugs-white-brand] .ugs-nav-logo img.ugs-nav-logo-contrast {
 display:block!important; opacity:1!important; visibility:visible!important;
 position:absolute!important; left:50%!important; top:50%!important;
 width:64px!important; height:64px!important; max-width:none!important;
 object-fit:contain!important; transform:translate(-50%,-50%)!important;
 filter:none!important; -webkit-filter:none!important; pointer-events:none;
}
@media(max-width:743px) { html body header#ugsMainNav[data-ugs-white-brand] .ugs-nav-logo img.ugs-nav-logo-contrast { width:44px!important;height:44px!important; } }
html body #ugsMainNav .ugs-nav-link[aria-current="page"]::after {
 content:""!important; display:block!important; left:0!important; right:0!important;
 width:100%!important; height:1px!important; background:#088444!important;
 opacity:1!important; transform:none!important;
}
html body .ugs-ipad-version { display:none!important; }

/* Keep the family row stationary while highlighting its contents. */
html body .ugs-tech-cinematic-families > a,
html body .ugs-tech-cinematic-families > a:is(:hover,:active,:focus,.is-touch-pressed) {
 transform:none!important; transition:background-color .2s ease,box-shadow .2s ease!important;
}
html body .ugs-tech-cinematic-families > a :is(b,strong,em) { transform:none!important; }

@media(min-width:744px) {
 html body footer.ugs-footer-mac-v2[data-ugs-site-footer] { display:block!important; }
 html body footer.ugs-footer { display:none!important; }
 html body .ugs-mobile-footer { display:none!important; }
 html body .ugs-ipad-experience-controls { display:none!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-slide { gap:46px!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-logo img { max-width:min(170px,100%)!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-logo--constellation img { max-width:69px!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-logo--heineken img { max-width:104px!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-logo--unam img { max-width:90px!important; }
}
@media(min-width:744px) and (max-width:991px) {
 html body footer.ugs-footer-mac-v2[data-ugs-site-footer] .ugs-footer-mac-v2-top { grid-template-columns:1fr!important; gap:32px!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-slide { gap:20px!important; }
}

/* Disable native link lifting without disabling page scrolling or pinch zoom. */
html body :is(a,button),html body :is(a,button) * {
 -webkit-touch-callout:none; -webkit-user-drag:none; user-select:none; -webkit-user-select:none;
}
html body :is(a,button) { -webkit-tap-highlight-color:transparent; }

@media(hover:none),(pointer:coarse) {
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta::after { width:64%!important; transition:width .18s ease!important; }
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta i,
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta i span { background:none!important; transform:none!important; }
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta.is-touch-pressed::after { width:100%!important; }
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta.is-touch-pressed i span { transform:translateX(3px)!important; }
 html.ugs-wide body .ugs-showroom .ugs-san-video-trigger > span {
  background:transparent!important; border-color:rgba(255,255,255,.85)!important;
  transform:none!important; transition:background-color .18s ease,border-color .18s ease!important;
 }
 html.ugs-wide body .ugs-showroom .ugs-san-video-trigger.is-touch-pressed > span {
  background:#088444!important; border-color:#088444!important;
 }
 html body :is(.ugs-product-card,.ugs-wet-mac-card).is-ugs-pressed { box-shadow:0 15px 35px rgba(8,132,68,.14)!important; }
 html body :is(.ugs-product-card,.ugs-wet-mac-card).is-ugs-pressed img { transform:translateY(-3px)!important; }
 html body :is(.ugs-product-card,.ugs-wet-mac-card) img { transition:transform .24s ease!important; }
 html body :is(.ugs-product-card,.ugs-wet-mac-card).ugs-card-reveal { animation:ugs-touch-card-in .55s ease both!important; }
 html body .ugs-tech-cinematic-families > a:not(.is-touch-pressed) { background:transparent!important; box-shadow:none!important; }
 html body .ugs-tech-cinematic-families > a.is-touch-pressed { background:rgba(8,132,68,.10)!important; box-shadow:inset 0 1px 0 rgba(8,132,68,.4)!important; }
}
@keyframes ugs-touch-card-in { from {opacity:.55;transform:translateY(10px)} to {opacity:1;transform:none} }
@media(prefers-reduced-motion:reduce) {
 html body :is(.ugs-product-card,.ugs-wet-mac-card).ugs-card-reveal { animation:none!important; }
 html body :is(.ugs-product-card,.ugs-wet-mac-card) img,
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta i span { transform:none!important; transition:none!important; }
}


/* V1.1: readable secondary copy, confined to Home; approved chrome is unchanged. */
#contenido-principal.ugs-home :is(.ugs3-finder-head .ugs-eyebrow,.ugs-product-family-head .ugs-eyebrow,.ugs-clients .ugs-eyebrow,.ugs-tech-transition-label,.ugs-product-card-type),
#contenido-principal.ugs-home .ugs-product-card-bottom > a {
 color:#006c40!important; -webkit-text-fill-color:#006c40!important;
}
#contenido-principal.ugs-home :is(.ugs3-industry-meta,.ugs-product-card-bottom > span,.ugs-cn-card-text > p) {
 color:#606b64!important; -webkit-text-fill-color:#606b64!important;
}
#contenido-principal.ugs-home .ugs3-industry[aria-expanded="true"] .ugs3-industry-meta {
 color:#b9c3bd!important; -webkit-text-fill-color:#b9c3bd!important;
}
@media(hover:hover) {
 #contenido-principal.ugs-home .ugs3-industry:hover .ugs3-industry-meta { color:#b9c3bd!important; -webkit-text-fill-color:#b9c3bd!important; }
}
#contenido-principal.ugs-home .ugs-select { background:linear-gradient(118deg,rgba(255,255,255,.04),transparent 31%),linear-gradient(138deg,#006c40,#007244 49%,#00643b)!important; }
#contenido-principal.ugs-home .ugs-select :is(.ugs-copy,.ugs-select-step p,.ugs-select-conclusion-label) { color:#fff!important; -webkit-text-fill-color:#fff!important; }
#contenido-principal.ugs-home .ugs-support-link > span:first-child { color:#006c40!important; -webkit-text-fill-color:#006c40!important; }
@media(pointer:coarse) and (orientation:portrait) and (max-width:700px), (pointer:coarse) and (orientation:landscape) and (max-height:600px) {
 #contenido-principal.ugs-home .ugs-support :is(.ugs-eyebrow,.ugs-support-capability-label) { color:#006c40!important; -webkit-text-fill-color:#006c40!important; }
}
@media(hover:hover) and (pointer:fine) and (min-width:992px) {
 #contenido-principal.ugs-home .ugs-cn-flagship { background-color:#080b09!important; }
 #contenido-principal.ugs-home .ugs-cn-flagship :is(.ugs-cn-card-text > p,.ugs-product-card-bottom > span) { color:#bec7c1!important; -webkit-text-fill-color:#bec7c1!important; }
 #contenido-principal.ugs-home :is(.ugs-tech-transition-label,.ugs-cn-flagship .ugs-product-card-type,.ugs-cn-flagship .ugs-product-card-bottom > a) { color:#20b875!important; -webkit-text-fill-color:#20b875!important; }
}
@media(min-width:992px) {
 html.ugs-ipad-preview #contenido-principal.ugs-home .ugs-cn-flagship { background-color:#080b09!important; }
 html.ugs-ipad-preview #contenido-principal.ugs-home .ugs-cn-flagship :is(.ugs-cn-card-text > p,.ugs-product-card-bottom > span) { color:#bec7c1!important; -webkit-text-fill-color:#bec7c1!important; }
 html.ugs-ipad-preview #contenido-principal.ugs-home :is(.ugs-tech-transition-label,.ugs-cn-flagship .ugs-product-card-type,.ugs-cn-flagship .ugs-product-card-bottom > a) { color:#20b875!important; -webkit-text-fill-color:#20b875!important; }
}

@media(hover:hover) and (pointer:fine) and (min-width:992px) {
 #contenido-principal.ugs-home :is(.ugs-support .ugs-eyebrow,.ugs3-client-strip-eyebrow) { color:#45d695!important; -webkit-text-fill-color:#45d695!important; }
}
@media(min-width:992px) {
 html.ugs-ipad-preview #contenido-principal.ugs-home :is(.ugs-support .ugs-eyebrow,.ugs3-client-strip-eyebrow) { color:#45d695!important; -webkit-text-fill-color:#45d695!important; }
}

/* Preserve contrast in wide-screen fallback without a fine hover pointer. */
@media(min-width:992px) {
 #contenido-principal.ugs-home :is(.ugs-support .ugs-eyebrow,.ugs3-client-strip-eyebrow) { color:#45d695!important; -webkit-text-fill-color:#45d695!important; }
}
@media(min-width:992px) and (hover:none), (min-width:992px) and (pointer:coarse), (min-width:992px) and (pointer:none) {
 html:not(.ugs-ipad-preview) #contenido-principal.ugs-home .ugs-support-link > span:first-child { color:#45d695!important; -webkit-text-fill-color:#45d695!important; }
 /* Same green as approved desktop, including fallback devices. */
 html body #ugsMainNav .ugs-nav-cta { background-color:#088444!important; }
}
